Désactivation des menus "Projet" si le module n'est pas actif.
This commit is contained in:
parent
76af993ed8
commit
a075a20c19
1 changed files with 5 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue