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) . ""; }