From f1f919e71f535c778df9f4b451d6da7e7c96e349 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 21 Jan 2006 15:39:29 +0000 Subject: [PATCH] Fix: N'affiche pas menu Outil si aucun module outils actif dans gestionnaire de menu eldy --- htdocs/includes/menus/barre_top/eldy_backoffice.php | 3 ++- htdocs/includes/menus/barre_top/eldy_frontoffice.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/menus/barre_top/eldy_backoffice.php b/htdocs/includes/menus/barre_top/eldy_backoffice.php index 6f3d1b93808..d4346383f85 100644 --- a/htdocs/includes/menus/barre_top/eldy_backoffice.php +++ b/htdocs/includes/menus/barre_top/eldy_backoffice.php @@ -211,7 +211,8 @@ class MenuTop { } // Tools - if (1 == 1) { + if ($conf->mailing->enabled || $conf->export->enabled || $conf->bookmark->enabled) + { $langs->load("other"); $class=""; diff --git a/htdocs/includes/menus/barre_top/eldy_frontoffice.php b/htdocs/includes/menus/barre_top/eldy_frontoffice.php index f3648fd67ca..b70b44f8471 100644 --- a/htdocs/includes/menus/barre_top/eldy_frontoffice.php +++ b/htdocs/includes/menus/barre_top/eldy_frontoffice.php @@ -213,7 +213,8 @@ class MenuTop { } // Tools - if (1 == 1) { + if ($conf->mailing->enabled || $conf->export->enabled || $conf->bookmark->enabled) + { $langs->load("other"); $class="";