From a075a20c19d39dcd6ed5f6570433061be8ce2260 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 21 Feb 2004 00:19:50 +0000 Subject: [PATCH] =?UTF-8?q?D=E9sactivation=20des=20menus=20"Projet"=20si?= =?UTF-8?q?=20le=20module=20n'est=20pas=20actif.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/pre.inc.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/pre.inc.php b/htdocs/comm/pre.inc.php index 6af47ac13a8..704c6098167 100644 --- a/htdocs/comm/pre.inc.php +++ b/htdocs/comm/pre.inc.php @@ -72,8 +72,11 @@ function llxHeader($head = "", $urlp = "") { $menu->add(DOL_URL_ROOT."/product/index.php", "Services"); # Pour l'instant product et service partagent le meme rep. } - $menu->add(DOL_URL_ROOT."/projet/index.php", "Projets"); - + if ($conf->projet->enabled ) + { + $menu->add(DOL_URL_ROOT."/projet/index.php", "Projets"); + } + left_menu($menu->liste); }