Ignore:
Timestamp:
02/06/09 08:40:06 (15 years ago)
Author:
niltonneto
Message:

Alteração que não impacta na Agenda atual, mas será utilizado pelo expressoCalendar (nova agenda).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.uicalendar.inc.php

    r638 r663  
    357357 
    358358                function printer_friendly($body,$app_header='') 
    359                 {        
     359                { 
    360360                        $_SESSION['calendar']['categories'] = $this->cat->formated_list('select','all',$this->bo->cat_id,'True'); 
    361361                        if((!isset($GLOBALS['phpgw_info']['server']['deny_user_grants_access']) || !$GLOBALS['phpgw_info']['server']['deny_user_grants_access']) && count($this->bo->grants) > 0) 
     
    10351035                                        $event['recur_exception'] = array(); 
    10361036                                } 
     1037                                $plain = $_GET['plain']; 
     1038 
    10371039                                $this->edit_form( 
    10381040                                        Array( 
    10391041                                                'event' => $event, 
    1040                                                 'cd'    => $cd 
     1042                                                'cd'    => $cd, 
     1043                                                'plain' => $plain 
    10411044                                        ) 
    10421045                                ); 
     
    12881291                                Array( 
    12891292                                        'event' => $event, 
    1290                                         'cd' => $cd 
     1293                                        'cd' => $cd, 
     1294                                        'plain' => $_GET['plain'] 
    12911295                                ) 
    12921296                        ); 
     
    32463250                                'action_text_button'    => lang('Ignore Conflict'), 
    32473251                                'action_confirm_button' => '', 
    3248                                 'action_extra_field'    => '' 
     3252                                'action_extra_field'    => '', 
     3253                                'button_id'             => 'ignore_button' 
    32493254                        ); 
    32503255                        $this->output_template_array($p,'resubmit_button','form_button',$var); 
     
    32543259                                'action_text_button'    => lang('Re-Edit Event'), 
    32553260                                'action_confirm_button' => '', 
    3256                                 'action_extra_field'    => '' 
     3261                                'action_extra_field'    => '', 
     3262                                'button_id'             => 'redit_button' 
    32573263                        ); 
    32583264                        $this->output_template_array($p,'reedit_button','form_button',$var); 
     
    43474353                        $GLOBALS['phpgw_info']['flags']['noappfooter'] = True; 
    43484354                        $GLOBALS['phpgw_info']['flags']['app_header'] = $event['id'] ? lang('Editing event') : lang('Adding event'); 
    4349                         $GLOBALS['phpgw']->common->phpgw_header(); 
     4355                        if ($param['plain'] != "True"){ 
     4356                                $GLOBALS['phpgw']->common->phpgw_header(); 
     4357                        } 
     4358                        else{ 
     4359                                $GLOBALS['phpgw_info']['theme']['row_on'] = "F8F8F8"; 
     4360                                $GLOBALS['phpgw_info']['theme']['row_off'] = "F8F8F8"; 
     4361                        } 
    43504362 
    43514363                        $p = &$GLOBALS['phpgw']->template; 
     
    48744886                                        'action_text_button'    => lang('Delete'), 
    48754887                                        'action_confirm_button' => "onClick=\"return confirm('".lang('Are you sure want to delete this entry?\\nThis will delete this entry for all users.')."')\"", 
    4876                                         'action_extra_field'    => '' 
     4888                                        'action_extra_field'    => '', 
     4889                                        'button_id'     =>      'delete_button' 
    48774890                                ); 
    48784891                                $p->set_var($var); 
     
    48884901                                        'action_text_button'    => lang('Cancel'), 
    48894902                                        'action_confirm_button' => '', 
    4890                                         'action_extra_field'    => '' 
     4903                                        'action_extra_field'    => '', 
     4904                                        'button_id'     =>      'cancel_button' 
    48914905                                ); 
    48924906                                $p->set_var($var); 
Note: See TracChangeset for help on using the changeset viewer.