From b6e9eb701ecbd20d914b708cc7bf8a9c0041b11a Mon Sep 17 00:00:00 2001 From: seek3r Date: Tue, 19 Dec 2000 19:19:34 +0000 Subject: [PATCH] fixed navbar to use the new functions --- phpgwapi/phpgw_common.inc.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/phpgwapi/phpgw_common.inc.php b/phpgwapi/phpgw_common.inc.php index a3b552b295..3f34cb703a 100644 --- a/phpgwapi/phpgw_common.inc.php +++ b/phpgwapi/phpgw_common.inc.php @@ -329,16 +329,13 @@ $output_text = "link($urlbasename."/$appname/index.php"); } $output_text .= "\"$target>"; - if ($phpgw_info["user"]["preferences"]["common"]["navbar_format"] != "text") { if ($appname != "home" && $appname != "logout" && $appname != "print") { - $output_text .= "\"""; + $output_text .= "get_image_path($appname) . "/navbar.gif\" border=0 alt=\"" . lang($description) . "\">"; } else { $output_text .= "\"""; } } - if (ereg("text",$phpgw_info["user"]["preferences"]["common"]["navbar_format"])) { $output_text .= "
" . lang($description) . ""; }