From 37bcc1876c00afed55c3310f10024fd2e544f903 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 27 Feb 2004 23:39:16 +0000 Subject: [PATCH] =?UTF-8?q?L'affichage=20du=20menu=20Rapport=20est=20condi?= =?UTF-8?q?tionn=E9=20sur=20$conf->rapport->enabled.=20Comme=20il=20n'y=20?= =?UTF-8?q?a=20aucune=20page=20ni=20module=20derri=E8re=20pour=20l'instant?= =?UTF-8?q?,=20cela=20=E9vite=20d'avoir=20un=20lien=20en=20404.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/pre.inc.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/htdocs/pre.inc.php b/htdocs/pre.inc.php index ec50a9212e6..ad8dc669592 100644 --- a/htdocs/pre.inc.php +++ b/htdocs/pre.inc.php @@ -133,8 +133,11 @@ function llxHeader($head = "") { $menu->add(DOL_URL_ROOT."/postnuke/articles/index.php", "Editorial"); } - $menu->add(DOL_URL_ROOT."/rapport/", "Rapports"); - + if ($conf->rapport->enabled) + { + $menu->add(DOL_URL_ROOT."/rapport/", "Rapports"); + } + $menu->add(DOL_URL_ROOT."/user/index.php", "Utilisateurs"); if ($user->admin)