L'affichage du menu Rapport est conditionn sur $conf->rapport->enabled.
Comme il n'y a aucune page ni module derrire pour l'instant, cela vite d'avoir un lien en 404.
This commit is contained in:
parent
d802e34b84
commit
37bcc1876c
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user