diff --git a/htdocs/fourn/fiche.php3 b/htdocs/fourn/fiche.php3 index e717d6e57d2..eec1781f90c 100644 --- a/htdocs/fourn/fiche.php3 +++ b/htdocs/fourn/fiche.php3 @@ -25,8 +25,6 @@ require("../contact.class.php3"); llxHeader(); -$db = new Db(); - /* * Sécurité accés client */ @@ -219,7 +217,7 @@ if ($socid > 0) { $num = $db->num_rows(); if ($num > 0) { $tag = !$tag; print ""; - print "idp\">liste des projets ($num)"; + print "idp\">liste des projets ($num)"; } while ($i < $num && $i < 5) { $obj = $db->fetch_object( $i); @@ -322,7 +320,7 @@ if ($socid > 0) { if ( $db->query($sql) ) { print "\n"; - print ''; + print ''; $i = 0 ; $num = $db->num_rows(); $tag = True; while ($i < $num) diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php index a420a2c8b32..55d9482bbb4 100644 --- a/htdocs/fourn/index.php +++ b/htdocs/fourn/index.php @@ -33,7 +33,6 @@ if ($user->societe_id > 0) llxHeader(); -$db = new Db(); if ($action == 'note') { diff --git a/htdocs/pre.inc.php3 b/htdocs/pre.inc.php3 index 2bbaa7190a6..81b0d984570 100644 --- a/htdocs/pre.inc.php3 +++ b/htdocs/pre.inc.php3 @@ -47,7 +47,7 @@ function llxHeader($head = "") { if ($conf->commercial->enabled ) { - $menu->add(DOL_URL_ROOT."/comm/index.php3", "Commercial"); + $menu->add(DOL_URL_ROOT."/comm/index.php", "Commercial"); $menu->add_submenu(DOL_URL_ROOT."/comm/clients.php3", "Clients"); @@ -108,15 +108,15 @@ function llxHeader($head = "") { if ($conf->fournisseur->enabled) { - $menu->add(DOL_URL_ROOT."/fourn/index.php3", "Fournisseurs"); + $menu->add(DOL_URL_ROOT."/fourn/index.php", "Fournisseurs"); } if ($conf->voyage && $user->societe_id == 0) { - $menu->add(DOL_URL_ROOT."/compta/voyage/index.php3","Voyages"); + $menu->add(DOL_URL_ROOT."/compta/voyage/index.php","Voyages"); - $menu->add_submenu(DOL_URL_ROOT."/compta/voyage/index.php3","Voyages"); + $menu->add_submenu(DOL_URL_ROOT."/compta/voyage/index.php","Voyages"); $menu->add_submenu(DOL_URL_ROOT."/compta/voyage/reduc.php3","Reduc"); } diff --git a/htdocs/service/pre.inc.php3 b/htdocs/service/pre.inc.php3 index d27c3edd00a..92b29d9e704 100644 --- a/htdocs/service/pre.inc.php3 +++ b/htdocs/service/pre.inc.php3 @@ -33,9 +33,9 @@ function llxHeader($head = "", $urlp = "") $menu = new Menu(); - $menu->add(DOL_URL_ROOT."/product/index.php3", "Produits"); + $menu->add(DOL_URL_ROOT."/product/index.php", "Produits"); - $menu->add(DOL_URL_ROOT."/service/index.php3", "Services"); + $menu->add(DOL_URL_ROOT."/service/index.php", "Services"); $menu->add_submenu(DOL_URL_ROOT."/service/fiche.php3?action=create", "Nouveau");
Actions
Actions