Changeset 663 for trunk/calendar/inc/class.uicalendar.inc.php
- Timestamp:
- 02/06/09 08:40:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uicalendar.inc.php
r638 r663 357 357 358 358 function printer_friendly($body,$app_header='') 359 { 359 { 360 360 $_SESSION['calendar']['categories'] = $this->cat->formated_list('select','all',$this->bo->cat_id,'True'); 361 361 if((!isset($GLOBALS['phpgw_info']['server']['deny_user_grants_access']) || !$GLOBALS['phpgw_info']['server']['deny_user_grants_access']) && count($this->bo->grants) > 0) … … 1035 1035 $event['recur_exception'] = array(); 1036 1036 } 1037 $plain = $_GET['plain']; 1038 1037 1039 $this->edit_form( 1038 1040 Array( 1039 1041 'event' => $event, 1040 'cd' => $cd 1042 'cd' => $cd, 1043 'plain' => $plain 1041 1044 ) 1042 1045 ); … … 1288 1291 Array( 1289 1292 'event' => $event, 1290 'cd' => $cd 1293 'cd' => $cd, 1294 'plain' => $_GET['plain'] 1291 1295 ) 1292 1296 ); … … 3246 3250 'action_text_button' => lang('Ignore Conflict'), 3247 3251 'action_confirm_button' => '', 3248 'action_extra_field' => '' 3252 'action_extra_field' => '', 3253 'button_id' => 'ignore_button' 3249 3254 ); 3250 3255 $this->output_template_array($p,'resubmit_button','form_button',$var); … … 3254 3259 'action_text_button' => lang('Re-Edit Event'), 3255 3260 'action_confirm_button' => '', 3256 'action_extra_field' => '' 3261 'action_extra_field' => '', 3262 'button_id' => 'redit_button' 3257 3263 ); 3258 3264 $this->output_template_array($p,'reedit_button','form_button',$var); … … 4347 4353 $GLOBALS['phpgw_info']['flags']['noappfooter'] = True; 4348 4354 $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 } 4350 4362 4351 4363 $p = &$GLOBALS['phpgw']->template; … … 4874 4886 'action_text_button' => lang('Delete'), 4875 4887 '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' 4877 4890 ); 4878 4891 $p->set_var($var); … … 4888 4901 'action_text_button' => lang('Cancel'), 4889 4902 'action_confirm_button' => '', 4890 'action_extra_field' => '' 4903 'action_extra_field' => '', 4904 'button_id' => 'cancel_button' 4891 4905 ); 4892 4906 $p->set_var($var);
Note: See TracChangeset
for help on using the changeset viewer.