From d4dfa58b7f47f347378d3306f3550305eef8f46f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 25 Aug 2003 10:17:21 +0000 Subject: [PATCH] nettoyage de code --- htdocs/compta/bank/pre.inc.php3 | 4 ++-- htdocs/compta/pre.inc.php3 | 6 +++--- htdocs/compta/resultat/pre.inc.php3 | 8 ++++---- htdocs/compta/tva/fiche.php | 6 +++--- htdocs/compta/voyage/pre.inc.php3 | 6 +++--- htdocs/domain/pre.inc.php3 | 2 +- htdocs/fichinter/pre.inc.php3 | 2 +- htdocs/product/fiche.php3 | 4 ++-- htdocs/product/index.php | 4 ++-- htdocs/product/pre.inc.php3 | 6 +++--- htdocs/product/stats/pre.inc.php | 4 ++-- 11 files changed, 26 insertions(+), 26 deletions(-) diff --git a/htdocs/compta/bank/pre.inc.php3 b/htdocs/compta/bank/pre.inc.php3 index fd72993d8d9..e4c59846b04 100644 --- a/htdocs/compta/bank/pre.inc.php3 +++ b/htdocs/compta/bank/pre.inc.php3 @@ -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"); diff --git a/htdocs/compta/pre.inc.php3 b/htdocs/compta/pre.inc.php3 index 07510bff098..df16594a17d 100644 --- a/htdocs/compta/pre.inc.php3 +++ b/htdocs/compta/pre.inc.php3 @@ -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"); } diff --git a/htdocs/compta/resultat/pre.inc.php3 b/htdocs/compta/resultat/pre.inc.php3 index c84784e0b9e..6936201a8b6 100644 --- a/htdocs/compta/resultat/pre.inc.php3 +++ b/htdocs/compta/resultat/pre.inc.php3 @@ -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); } diff --git a/htdocs/compta/tva/fiche.php b/htdocs/compta/tva/fiche.php index a3775d12e46..ddca7891e86 100644 --- a/htdocs/compta/tva/fiche.php +++ b/htdocs/compta/tva/fiche.php @@ -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 ''; print ''; - print ''; + print ''; print ''; - print ''; + print ''; print ''; print '
Réf :  
Libellé :   
'; diff --git a/htdocs/compta/voyage/pre.inc.php3 b/htdocs/compta/voyage/pre.inc.php3 index 2a080af980e..8172ff30b1f 100644 --- a/htdocs/compta/voyage/pre.inc.php3 +++ b/htdocs/compta/voyage/pre.inc.php3 @@ -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); diff --git a/htdocs/domain/pre.inc.php3 b/htdocs/domain/pre.inc.php3 index 6cf4dc91bd1..d118c535d19 100644 --- a/htdocs/domain/pre.inc.php3 +++ b/htdocs/domain/pre.inc.php3 @@ -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"); diff --git a/htdocs/fichinter/pre.inc.php3 b/htdocs/fichinter/pre.inc.php3 index 012be68d220..b226a0f462f 100644 --- a/htdocs/fichinter/pre.inc.php3 +++ b/htdocs/fichinter/pre.inc.php3 @@ -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); } diff --git a/htdocs/product/fiche.php3 b/htdocs/product/fiche.php3 index 875a875b050..b348c759cac 100644 --- a/htdocs/product/fiche.php3 +++ b/htdocs/product/fiche.php3 @@ -150,9 +150,9 @@ else { print ''; print ''; - print ''; + print ''; print ''; - print ''; + print ''; print ''; print '
Réf :  
Libellé :   
'; diff --git a/htdocs/product/index.php b/htdocs/product/index.php index 560e1e62999..ff4bf3852d9 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -105,9 +105,9 @@ if ($result) print "\n"; print ''; - print '
'; + print ''; print ' '; - print '
'; + print '
'; print ' '; print '
 '; diff --git a/htdocs/product/pre.inc.php3 b/htdocs/product/pre.inc.php3 index e9eb7944a47..846df4182e1 100644 --- a/htdocs/product/pre.inc.php3 +++ b/htdocs/product/pre.inc.php3 @@ -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é"); diff --git a/htdocs/product/stats/pre.inc.php b/htdocs/product/stats/pre.inc.php index 2aae3b159d7..042508da986 100644 --- a/htdocs/product/stats/pre.inc.php +++ b/htdocs/product/stats/pre.inc.php @@ -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");