Dsactivation des menus "Projet" si le module n'est pas actif.
This commit is contained in:
parent
76af993ed8
commit
a075a20c19
@ -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."/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);
|
left_menu($menu->liste);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user