diff --git a/htdocs/main.inc.php3 b/htdocs/main.inc.php3 index cbac403cb95..44d4f157581 100644 --- a/htdocs/main.inc.php3 +++ b/htdocs/main.inc.php3 @@ -305,7 +305,7 @@ setlocale(LC_TIME, "fr_FR"); * */ -function top_menu($head) +function top_menu($head, $title="") { global $user, $conf, $rtplang; @@ -318,13 +318,20 @@ function top_menu($head) print ''; print "\n"; - if (defined("MAIN_TITLE")) + if (strlen($title) > 0) { - print "