diff --git a/htdocs/includes/menus/barre_top/default.php b/htdocs/includes/menus/barre_top/default.php index 9ed20750861..9d211e10359 100644 --- a/htdocs/includes/menus/barre_top/default.php +++ b/htdocs/includes/menus/barre_top/default.php @@ -72,15 +72,26 @@ else } } -print ''; +if (strstr($GLOBALS["SCRIPT_URL"],DOL_URL_ROOT.'/product/')) +{ + $class = "menusel"; +} +else +{ + $class = "menu"; +} + +print ''; if ($conf->produit->enabled ) { - print 'Produits'; + print 'Produits'; } else { print '-'; } + + print ''; if(defined("MAIN_MODULE_WEBCALENDAR") && MAIN_MODULE_WEBCALENDAR)