From 290fd04ca991d92fbf2e3265dfd20d0e4910ee9c Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 2 Dec 2006 20:32:02 +0000 Subject: [PATCH] W3C --- htdocs/fourn/commande/index.php | 4 ++-- htdocs/fourn/commande/liste.php | 20 ++++++++++---------- htdocs/fourn/facture/index.php | 12 ++++++------ htdocs/fourn/index.php | 10 ++++++---- 4 files changed, 24 insertions(+), 22 deletions(-) diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php index 9d2267f9eeb..72f3930cdf2 100644 --- a/htdocs/fourn/commande/index.php +++ b/htdocs/fourn/commande/index.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2006 Rodolphe Quiedeville * Copyright (C) 2004-2006 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -89,7 +89,7 @@ else dolibarr_print_error($db); } -print ''; +print ''; $sql = "SELECT u.name, u.firstname"; $sql .= " FROM ".MAIN_DB_PREFIX."user as u"; diff --git a/htdocs/fourn/commande/liste.php b/htdocs/fourn/commande/liste.php index 42a7ee08272..4b741216572 100644 --- a/htdocs/fourn/commande/liste.php +++ b/htdocs/fourn/commande/liste.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2006 Rodolphe Quiedeville * Copyright (C) 2004-2006 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -21,17 +21,16 @@ */ /** - \file htdocs/fourn/commande/liste.php - \ingroup fournisseur - \brief Liste des commandes fournisseurs - \version $Revision$ + \file htdocs/fourn/commande/liste.php + \ingroup fournisseur + \brief Liste des commandes fournisseurs + \version $Revision$ */ require("./pre.inc.php"); $langs->load("orders"); - $page = ( is_numeric($_GET["page"]) ? $_GET["page"] : 0 ); $socid = ( is_numeric($_GET["socid"]) ? $_GET["socid"] : 0 ); $sortorder = $_GET["sortorder"]; @@ -107,7 +106,7 @@ if ($resql) print_barre_liste($title, $page, "liste.php", "", $sortfield, $sortorder, '', $num); - + print '
'; print ''; print ''; print_liste_field_titre($langs->trans("Ref"),$_SERVER["PHP_SELF"],"cf.ref"); @@ -118,13 +117,12 @@ if ($resql) print "\n"; print ''; - print ''; + print ''; print ''; print ''; - print ''; print ''; $var=true; @@ -161,7 +159,9 @@ if ($resql) print "\n"; $i++; } - print "
'; print ''; print '
"; + print "\n"; + print "\n"; + $db->free($resql); } else diff --git a/htdocs/fourn/facture/index.php b/htdocs/fourn/facture/index.php index 69db9c3b054..691da68ee7d 100644 --- a/htdocs/fourn/facture/index.php +++ b/htdocs/fourn/facture/index.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2002-2006 Rodolphe Quiedeville * Copyright (C) 2004-2006 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -151,7 +151,7 @@ if ($resql) } print_barre_liste($langs->trans("BillsSuppliers").($socid?" $soc->nom":""),$page,"index.php","&socid=$socid",$sortfield,$sortorder,'',$num); - + print '
'; print ''; print ''; print_liste_field_titre($langs->trans("Ref"),"index.php","facnumber","&socid=$socid","","",$sortfield); @@ -164,9 +164,9 @@ if ($resql) print "\n"; // Lignes des champs de filtre - print ''; + print ''; - print ''; print ''; print "\n"; - print ''; $facturestatic = new FactureFournisseur($db); @@ -228,7 +227,8 @@ if ($resql) } } - print "
'; + print ''; print ''; print ' '; @@ -182,7 +182,6 @@ if ($resql) print ''; print '
"; + print "\n"; + print "\n"; $db->free($resql); } else diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php index ed422495bcf..71de3ffaea1 100644 --- a/htdocs/fourn/index.php +++ b/htdocs/fourn/index.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2006 Rodolphe Quiedeville * Copyright (C) 2004-2006 Laurent Destailleur * Copyright (C) 2005-2006 Regis Houssin * @@ -98,6 +98,7 @@ if ($resql) print_barre_liste($langs->trans("ListOfSuppliers"), $page, "index.php", "", $sortfield, $sortorder, '', $num); + print '
'; print ''; print ''; print_liste_field_titre($langs->trans("Company"),$_SERVER["PHP_SELF"],"s.nom","","",'valign="middle"',$sortfield); @@ -109,7 +110,7 @@ if ($resql) print "\n"; print ''; - print ''; + print ''; print ''; @@ -123,7 +124,7 @@ if ($resql) print ''; - print ''; + print ''; $var=True; @@ -144,7 +145,8 @@ if ($resql) print "\n"; $i++; } - print "
"; + print "\n"; + print "\n"; $db->free($resql); } else