From 6b3b036e0ffd1b80f7373d6fda4a8b78a6254856 Mon Sep 17 00:00:00 2001 From: ak703 Date: Tue, 30 Mar 2004 20:35:58 +0000 Subject: [PATCH] merged modifications from idots to reflect same style in jerryr (logout button in main icons, removed transparency from slide down) --- phpgwapi/templates/jerryr/navbar.inc.php | 35 ++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/phpgwapi/templates/jerryr/navbar.inc.php b/phpgwapi/templates/jerryr/navbar.inc.php index 24fb7f7544..51a119f8b6 100644 --- a/phpgwapi/templates/jerryr/navbar.inc.php +++ b/phpgwapi/templates/jerryr/navbar.inc.php @@ -57,13 +57,33 @@ foreach($GLOBALS['phpgw_info']['navbar'] as $app => $app_data) { //if($app != 'home' && $app != 'preferences' && $app != 'about' && $app != 'logout') - if($app != 'preferences' && $app != 'about') + if($app != 'preferences' && $app != 'about' && $app != 'logout') { $title = $GLOBALS['phpgw_info']['apps'][$app]['title']; $icon = '' . $title . ''; +// 300304 ndee + if($app == 'home') $title = lang('Home'); + + if($app=='home') + { + if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']=='no') + { + continue; + } + } + if($i<$max_icons) { + if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']=='no') + { + $tdwidth = 100/($max_icons); + } + else + { + $tdwidth = 100/($max_icons+2); + } + $app_icons .= ''; + $app_titles .= ''.$GLOBALS['phpgw_info']['navbar']['logout']['title'].''; + + } // $var['app_icons'] = $app_icons; if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text') { @@ -145,8 +172,10 @@