Remplacement d'un border="0" par class="noborder".

This commit is contained in:
Laurent Destailleur 2004-04-24 01:13:15 +00:00
parent 0803ed8fec
commit ca2226ba24
3 changed files with 13 additions and 12 deletions

View File

@ -462,8 +462,8 @@ if ($_GET["propalid"])
print_barre_liste("Propositions commerciales", $page, $PHP_SELF,"&socidp=$socidp",$sortfield,$sortorder,'',$num);
$i = 0;
print "<TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
print '<TR class="liste_titre">';
print "<table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
print '<tr class="liste_titre">';
print_liste_field_titre_new ("Réf",$PHP_SELF,"p.ref","","&year=$year&viewstatut=$viewstatut",'',$sortfield);
print_liste_field_titre_new ("Société",$PHP_SELF,"s.nom","&viewstatut=$viewstatut","",'',$sortfield);
print_liste_field_titre_new ("Date",$PHP_SELF,"p.datep","&viewstatut=$viewstatut","",'align="right" colspan="2"',$sortfield);
@ -476,9 +476,9 @@ if ($_GET["propalid"])
$objp = $db->fetch_object( $i);
$var=!$var;
print "<TR $bc[$var]>";
print "<TD><a href=\"$PHP_SELF?propalid=$objp->propalid\">$objp->ref</a></TD>\n";
print "<TD><a href=\"fiche.php?socid=$objp->idp\">$objp->nom</a></TD>\n";
print "<tr $bc[$var]>";
print "<td><a href=\"$PHP_SELF?propalid=$objp->propalid\">$objp->ref</a></td>\n";
print "<td><a href=\"fiche.php?socid=$objp->idp\">$objp->nom</a></td>\n";
$now = time();
$lim = 3600 * 24 * 15 ;
@ -492,7 +492,7 @@ if ($_GET["propalid"])
print "<td>&nbsp;</td>";
}
print "<TD align=\"right\">";
print "<td align=\"right\">";
$y = strftime("%Y",$objp->dp);
$m = strftime("%m",$objp->dp);
@ -500,11 +500,11 @@ if ($_GET["propalid"])
print " <a href=\"propal.php?year=$y&month=$m\">";
print strftime("%B",$objp->dp)."</a>\n";
print " <a href=\"propal.php?year=$y\">";
print strftime("%Y",$objp->dp)."</a></TD>\n";
print strftime("%Y",$objp->dp)."</a></td>\n";
print "<TD align=\"right\">".price($objp->price)."</TD>\n";
print "<TD align=\"center\">$objp->statut</TD>\n";
print "</TR>\n";
print "<td align=\"right\">".price($objp->price)."</td>\n";
print "<td align=\"center\">$objp->statut</td>\n";
print "</tr>\n";
$i++;
}

View File

@ -39,7 +39,7 @@ llxHeader();
print_barre_liste("Liste des produits par popularité dans les propositions commerciales", $page, $PHP_SELF);
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
print "<TR class=\"liste_titre\"><td>";
print_liste_field_titre("Réf",$PHP_SELF, "p.ref");

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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
@ -49,7 +50,7 @@ if ($result)
if ($num > 0)
{
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
print '<tr class="liste_titre"><td colspan="2">Entrepôts</td></tr>';