Clean menus

This commit is contained in:
Rodolphe Quiedeville 2004-03-04 17:44:11 +00:00
parent d88a623791
commit 9b5d82b38b

View File

@ -45,9 +45,6 @@ function llxHeader($head = "", $urlp = "") {
if ($conf->propal->enabled && $user->rights->propale->lire)
{
$menu->add(DOL_URL_ROOT."/comm/propal.php", "Prop. commerciales");
$menu->add_submenu("propal.php?viewstatut=0", "Brouillons");
$menu->add_submenu("propal.php?viewstatut=1", "Ouvertes");
$menu->add_submenu("./propal/stats/", "Statistiques");
}
$menu->add(DOL_URL_ROOT."/contrat/index.php", "Contrats");
@ -62,15 +59,6 @@ function llxHeader($head = "", $urlp = "") {
$menu->add(DOL_URL_ROOT."/fichinter/index.php", "Fiches d'intervention");
}
if ($conf->produit->enabled || $conf->service->enabled)
{
$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", "Produits/Services");
}
if ($conf->projet->enabled )
{
$menu->add(DOL_URL_ROOT."/projet/index.php", "Projets");