Dsactivation des menus "Projet" si le module n'est pas actif.

This commit is contained in:
Laurent Destailleur
2004-02-21 00:19:50 +00:00
parent 76af993ed8
commit a075a20c19

View File

@@ -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);
}