L'affichage du menu Rapport est conditionné sur $conf->rapport->enabled.
Comme il n'y a aucune page ni module derrière pour l'instant, cela évite d'avoir un lien en 404.
This commit is contained in:
parent
d802e34b84
commit
37bcc1876c
@ -133,7 +133,10 @@ function llxHeader($head = "") {
|
|||||||
$menu->add(DOL_URL_ROOT."/postnuke/articles/index.php", "Editorial");
|
$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");
|
$menu->add(DOL_URL_ROOT."/user/index.php", "Utilisateurs");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user