Changeset 890 for trunk/phpgwapi/templates/default
- Timestamp:
- 05/21/09 15:40:31 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/templates/default/head.inc.php
r882 r890 72 72 $app = $app ? ' ['.(isset($GLOBALS['phpgw_info']['apps'][$app]) ? $GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app)).']':''; 73 73 74 $webserver_url = $GLOBALS['phpgw_info']['server']['webserver_url']; 75 $webserver_url = ( !empty($webserver_url) ) ? $webserver_url : '/'; 76 77 if(strrpos($webserver_url,'/') === false || strrpos($webserver_url,'/') != (strlen($webserver_url)-1)) 78 $webserver_url .= '/'; 79 80 if( is_null($_SESSION['phpgw_info'][$GLOBALS['phpgw_info']['flags']['currentapp']]['user'])) 81 $tmpDefault = "default"; 82 else 83 $tmpDefault = $_SESSION['phpgw_info'][$GLOBALS['phpgw_info']['flags']['currentapp']]['user']['preferences']['common']['template_set']; 84 74 85 $var = Array( 75 'img_icon' => '/'.$currentapp . '/templates/'.$_SESSION['phpgw_info'][$GLOBALS['phpgw_info']['flags']['currentapp']]['user']['preferences']['common']['template_set'].'/images/navbar.png',76 'img_shortcut' => '/'.$currentapp . '/templates/'.$_SESSION['phpgw_info'][$GLOBALS['phpgw_info']['flags']['currentapp']]['user']['preferences']['common']['template_set'].'/images/navbar.png',86 'img_icon' => $webserver_url . $currentapp . '/templates/'.$tmpDefault.'/images/navbar.png', 87 'img_shortcut' => $webserver_url . $currentapp . '/templates/'.$tmpDefault.'/images/navbar.png', 77 88 'pngfix' => $pngfix, 78 89 'slider_effects'=> $slider_effects,
Note: See TracChangeset
for help on using the changeset viewer.