Changeset 602 for trunk/calendar/inc/class.uicalendar.inc.php
- Timestamp:
- 01/13/09 18:33:29 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uicalendar.inc.php
r583 r602 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 if((!isset($GLOBALS['phpgw_info']['server']['deny_user_grants_access']) || !$GLOBALS['phpgw_info']['server']['deny_user_grants_access']) && count($this->bo->grants) > 0) 362 $_SESSION['calendar']['cals'] = $this->bo->list_cals(); 363 361 364 if($this->bo->printer_friendly) 362 365 { … … 4859 4862 } 4860 4863 $p->set_var('delete_button',$delete_button); 4864 $p->set_var('alert_msg',lang('Required field (category) is empty')); 4861 4865 4862 4866 if ($this->bo->return_to)
Note: See TracChangeset
for help on using the changeset viewer.