From 6509ab45da6a6aa91666dc926dc922a9ade3f769 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 21 Feb 2004 14:41:15 +0000 Subject: [PATCH] =?UTF-8?q?Le=20titre=20Produit/Service=20affiche=20Produi?= =?UTF-8?q?t,=20Service=20ou=20les=202=20selon=20l'=E9tat=20d'activatin=20?= =?UTF-8?q?des=20modules.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/menus/barre_top/default.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/menus/barre_top/default.php b/htdocs/includes/menus/barre_top/default.php index f18fcd82d6b..364882c54d6 100644 --- a/htdocs/includes/menus/barre_top/default.php +++ b/htdocs/includes/menus/barre_top/default.php @@ -101,9 +101,13 @@ else } print ''; -if ($conf->produit->enabled ) +if ($conf->produit->enabled || $conf->service->enabled) { - print 'Produits'; + $chaine=""; + if ($conf->produit->enabled) { $chaine.="Produits"; } + if ($conf->produit->enabled && $conf->service->enabled) { $chaine.="/"; } + if ($conf->service->enabled) { $chaine.="Services"; } + print ''.$chaine.''; } else {