Ignore:
Timestamp:
11/03/11 13:21:19 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2305 - Enviando alteracoes, desenvolvidas internamente na Prognus, do modulo calendar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/hook_sidebox_menu.inc.php

    r4474 r5132  
    2424 
    2525        $menu_title = $GLOBALS['phpgw_info']['apps'][$appname]['title'] . ' '. lang('Menu'); 
    26          
    27         $publicview_php_template_path = $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'];  
    28         if (!file_exists($GLOBALS['phpgw_info']['server']['webserver_url'].'/calendar/templates/'.$publicview_php_template_path.'/publicView.php'))  
    29             $publicview_php_template_path = 'default'; 
    30          
    3126        $file = Array( 
    3227                'New Entry'   => $GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uicalendar.add'), 
     
    4136                'Import'=>$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uiicalendar.import'), 
    4237                'Report of hours'=>$GLOBALS['phpgw']->link('/calendar/inc/hourReport.php',''), 
    43                 'Public Calendars'=> "javascript:openwindow('calendar/templates/".$publicview_php_template_path."/publicView.php')" 
     38                'Public Calendars'=> "javascript:openwindow('calendar/templates/".$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']."/publicView.php')" 
    4439        ); 
    4540        display_sidebox($appname,$menu_title,$file); 
Note: See TracChangeset for help on using the changeset viewer.