Bugfix url invalide

This commit is contained in:
Rodolphe Quiedeville 2007-07-12 11:02:18 +00:00
parent be82aac4ce
commit cf6eb338db

View File

@ -1,5 +1,5 @@
<?PHP
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
/* Copyright (C) 2004-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -26,10 +26,6 @@ $user->getrights('telephonie');
function llxHeader($head = "", $title="") {
global $user, $conf;
/*
*
*
*/
top_menu($head, $title);
$menu = new Menu();
@ -42,8 +38,6 @@ function llxHeader($head = "", $title="") {
$menu->add_submenu(DOL_URL_ROOT."/telephonie/simulation/fiche.php?action=create", "Nouvelle");
}
$menu->add(DOL_URL_ROOT."/telephonie/client/index.php", "Clients");
$menu->add(DOL_URL_ROOT."/telephonie/contrat/", "Contrats");
@ -53,14 +47,15 @@ function llxHeader($head = "", $title="") {
if ($user->rights->telephonie->ligne_commander)
$menu->add(DOL_URL_ROOT."/telephonie/ligne/commande/", "Commande");
$menu->add(DOL_URL_ROOT."/telephonie/stats/", "Statistiques");
if ($user->rights->telephonie->stats->lire)
$menu->add(DOL_URL_ROOT."/telephonie/stats/", "Statistiques");
$menu->add(DOL_URL_ROOT."/telephonie/facture/", "Factures");
$menu->add(DOL_URL_ROOT."/telephonie/tarifs/", "Tarifs");
if ($user->rights->telephonie->fournisseur->lire)
$menu->add(DOL_URL_ROOT."/telephonie/fournisseurs.php", "Fournisseurs");
$menu->add(DOL_URL_ROOT."/telephonie/fournisseur/", "Fournisseurs");
if ($user->rights->telephonie->ca->lire)
{