From 8d2125b502a9b73b3c39294f4d490308e9390b16 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 21 Oct 2003 19:13:23 +0000 Subject: [PATCH] enhanced format to add an icon and already translated texts, hopefully last commit on this ;-) --- phpgwapi/templates/idots/navbar.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/templates/idots/navbar.inc.php b/phpgwapi/templates/idots/navbar.inc.php index 259e6571de..f0e294126b 100644 --- a/phpgwapi/templates/idots/navbar.inc.php +++ b/phpgwapi/templates/idots/navbar.inc.php @@ -163,7 +163,7 @@ function sidebox_menu_item($item_link='',$item_text='') { - if($item_text == '_NewLine_' || $item_link == '_NewLine_') + if($item_text === '_NewLine_' || $item_link === '_NewLine_') { $GLOBALS['idots_tpl']->pparse('out','extra_block_spacer'); } @@ -175,7 +175,7 @@ if (isset($item_link['icon'])) { $app = isset($item_link['app']) ? $item_link['app'] : $GLOBALS['phpgw_info']['flags']['currentapp']; - $var['icon_or_star'] = $GLOBALS['phpgw']->common->image($app,$item_link['icon']); + $var['icon_or_star'] = ''; } $var['lang_item'] = isset($item_link['no_lang']) && $item_link['no_lang'] ? $item_link['text'] : lang($item_link['text']); $var['item_link'] = $item_link['link'];