nettoyage de code

This commit is contained in:
Rodolphe Quiedeville 2003-08-25 10:17:21 +00:00
parent cce054973e
commit d4dfa58b7f
11 changed files with 26 additions and 26 deletions

View File

@ -36,7 +36,7 @@ function llxHeader($head = "")
$menu = new Menu();
$menu->add("index.php3","Comptes");
$menu->add("index.php","Comptes");
$menu->add_submenu("search.php3","Recherche");
$db = new Db();
@ -59,7 +59,7 @@ function llxHeader($head = "")
}
$db->close;
$menu->add("index.php3","Banque");
$menu->add("index.php","Banque");
$menu->add_submenu("budget.php3","Budgets");
$menu->add_submenu("bilan.php3","Bilan");

View File

@ -56,14 +56,14 @@ function llxHeader($head = "") {
if ($user->societe_id == 0)
{
$menu->add("charges/index.php3","Charges");
$menu->add("charges/index.php","Charges");
$menu->add_submenu("sociales/","Prest. Sociales");
}
$menu->add("stats/","Chiffre d'affaire");
if ($conf->compta->tva && $user->societe_id == 0)
{
$menu->add("tva/index.php3","TVA");
$menu->add("tva/index.php","TVA");
}
$menu->add(DOL_URL_ROOT."/compta/caisse/index.php","Caisse");
@ -72,7 +72,7 @@ function llxHeader($head = "") {
{
$menu->add("resultat/","Résultats");
$menu->add("bank/index.php3","Banque");
$menu->add("bank/index.php","Banque");
}

View File

@ -40,15 +40,15 @@ function llxHeader($head = "") {
if ($conf->compta->tva)
{
$menu->add("/compta/tva/index.php3","TVA");
$menu->add("/compta/tva/index.php","TVA");
}
$menu->add("index.php3","Résultats");
$menu->add("index.php","Résultats");
/*
* A automatiser
*/
$menu->add_submenu("index.php3?year=2002","2002");
$menu->add_submenu("index.php3?year=2001","2001");
$menu->add_submenu("index.php?year=2002","2002");
$menu->add_submenu("index.php?year=2001","2001");
left_menu($menu->liste);
}

View File

@ -22,7 +22,7 @@
require("./pre.inc.php3");
require("../../tva.class.php3");
$db = new Db();
$mesg = '';
if ($HTTP_POST_VARS["action"] == 'add' && $HTTP_POST_VARS["cancel"] <> 'Annuler')
@ -83,9 +83,9 @@ else
{
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
print '<tr class="liste_titre">';
print '<form action="index.php3" method="post">';
print '<form action="index.php" method="post">';
print '<td valign="center">Réf : <input class="flat" type="text" size="10" name="sref">&nbsp;<input class="flat" type="submit" value="go"></td>';
print '</form><form action="index.php3" method="post">';
print '</form><form action="index.php" method="post">';
print '<td>Libellé : <input class="flat" type="text" size="20" name="snom">&nbsp;<input class="flat" type="submit" value="go"></td>';
print '</form><td>&nbsp;</td></tr></table>';

View File

@ -33,16 +33,16 @@ function llxHeader($head = "") {
$menu = new Menu();
$menu->add("index.php3","Voyages");
$menu->add("index.php","Voyages");
$menu->add_submenu("index.php3","Voyages");
$menu->add_submenu("index.php","Voyages");
$menu->add_submenu("bilan.php3","Bilan");
$menu->add_submenu("reduc.php3","Reduc");
$menu->add_submenu("voyage.php3","Voyage");
$menu->add("/compta/facture.php3","Factures");
$menu->add("/compta/bank/index.php3","Bank");
$menu->add("/compta/bank/index.php","Bank");
left_menu($menu->liste);

View File

@ -34,7 +34,7 @@ function llxHeader($head = "") {
$menu = new Menu();
$menu->add("/comm/index.php3", "Commercial");
$menu->add("/comm/index.php", "Commercial");
$menu->add_submenu("/comm/clients.php3", "Clients");

View File

@ -35,7 +35,7 @@ function llxHeader($head = "", $urlp = "")
$menu->add(DOL_URL_ROOT."/comm/clients.php3","Clients");
$menu->add("index.php3","Fiches d'intervention");
$menu->add("index.php","Fiches d'intervention");
left_menu($menu->liste);
}

View File

@ -150,9 +150,9 @@ else
{
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
print '<tr class="liste_titre">';
print '<form action="index.php3?type='.$product->type.'" method="post">';
print '<form action="index.php?type='.$product->type.'" method="post">';
print '<td valign="center">Réf : <input class="flat" type="text" size="10" name="sref">&nbsp;<input class="flat" type="submit" value="go"></td>';
print '</form><form action="index.php3" method="post">';
print '</form><form action="index.php" method="post">';
print '<td>Libellé : <input class="flat" type="text" size="20" name="snom">&nbsp;<input class="flat" type="submit" value="go"></td>';
print '</form><td>&nbsp;</td></tr></table>';

View File

@ -105,9 +105,9 @@ if ($result)
print "</TR>\n";
print '<tr class="liste_titre">';
print '<form action="index.php3?type='.$type.'" method="post">';
print '<form action="index.php?type='.$type.'" method="post">';
print '<td><input class="flat" type="text" size="10" name="sref">&nbsp;<input class="flat" type="submit" value="go"></td>';
print '</form><form action="index.php3" method="post">';
print '</form><form action="index.php" method="post">';
print '<td><input class="flat" type="text" size="20" name="snom">&nbsp;<input class="flat" type="submit" value="go"></td>';
print '</form><td>&nbsp;</td></tr>';

View File

@ -36,11 +36,11 @@ function llxHeader($head = "", $urlp = "")
$menu = new Menu();
$menu->add(DOL_URL_ROOT."/product/index.php3?type=0", "Produits");
$menu->add(DOL_URL_ROOT."/product/index.php?type=0", "Produits");
$menu->add_submenu("fiche.php3?&action=create&type=0","Nouveau produit");
$menu->add(DOL_URL_ROOT."/product/index.php3?type=1", "Services");
$menu->add(DOL_URL_ROOT."/product/index.php?type=1", "Services");
$menu->add_submenu("fiche.php3?&action=create&type=1","Nouveau service");
@ -62,7 +62,7 @@ function llxHeader($head = "", $urlp = "")
}
// La notion de service est abandonnée pour le moment
// $menu->add(DOL_URL_ROOT."/service/index.php3", "Services");
// $menu->add(DOL_URL_ROOT."/service/index.php", "Services");
$menu->add("stats/", "Statistiques");
$menu->add_submenu("popuprop.php", "Popularité");

View File

@ -36,11 +36,11 @@ function llxHeader($head = "", $urlp = "")
$menu = new Menu();
$menu->add(DOL_URL_ROOT."/product/index.php3?type=0", "Produits");
$menu->add(DOL_URL_ROOT."/product/index.php?type=0", "Produits");
$menu->add_submenu("../fiche.php3?&action=create&type=0","Nouveau produit");
$menu->add(DOL_URL_ROOT."/product/index.php3?type=1", "Services");
$menu->add(DOL_URL_ROOT."/product/index.php?type=1", "Services");
$menu->add_submenu("fiche.php3?&action=create&type=1","Nouveau service");