Le titre Produit/Service affiche Produit, Service ou les 2 selon l'tat d'activatin des modules.
This commit is contained in:
parent
f9dc471fc6
commit
49dbf80fdd
@ -69,7 +69,7 @@ function llxHeader($head = "", $urlp = "") {
|
||||
if ($conf->produit->enabled) { $chaine.="Produits"; }
|
||||
if ($conf->produit->enabled && $conf->service->enabled) { $chaine.="/"; }
|
||||
if ($conf->service->enabled) { $chaine.="Services"; }
|
||||
$menu->add(DOL_URL_ROOT."/product/index.php", "Produits/Services");
|
||||
$menu->add(DOL_URL_ROOT."/product/index.php", "$chaine");
|
||||
}
|
||||
|
||||
if ($conf->projet->enabled )
|
||||
|
||||
@ -69,9 +69,13 @@ function llxHeader($head = "") {
|
||||
$menu->add(DOL_URL_ROOT."/fichinter/index.php", "Fiches d'intervention");
|
||||
}
|
||||
|
||||
if ($conf->produit->enabled )
|
||||
if ($conf->produit->enabled || $conf->service->enabled)
|
||||
{
|
||||
$menu->add(DOL_URL_ROOT."/product/index.php", "Produits");
|
||||
$chaine="";
|
||||
if ($conf->produit->enabled) { $chaine.="Produits"; }
|
||||
if ($conf->produit->enabled && $conf->service->enabled) { $chaine.="/"; }
|
||||
if ($conf->service->enabled) { $chaine.="Services"; }
|
||||
$menu->add(DOL_URL_ROOT."/product/index.php", "$chaine");
|
||||
|
||||
if ($conf->boutique->enabled)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user