Ignore:
Timestamp:
01/13/09 18:33:29 (15 years ago)
Author:
niltonneto
Message:

Resolve #390

File:
1 edited

Legend:

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

    r583 r602  
    358358                function printer_friendly($body,$app_header='') 
    359359                {        
    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 
    361364                        if($this->bo->printer_friendly) 
    362365                        {        
     
    48594862                        } 
    48604863                        $p->set_var('delete_button',$delete_button); 
     4864                        $p->set_var('alert_msg',lang('Required field (category) is empty')); 
    48614865 
    48624866                        if ($this->bo->return_to) 
Note: See TracChangeset for help on using the changeset viewer.