From 51437f728263cee53a8b7cda3571e83fd3b9e6e1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 12 Feb 2005 23:43:53 +0000 Subject: [PATCH] =?UTF-8?q?Look:=20Modif=20esth=E9tiques=20mineures.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 411738f9850..a10a76e2619 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -136,12 +136,13 @@ if ($conf->propal->enabled) { { $obj = $db->fetch_object(); $var=!$var; - print "rowid."\">".img_object($langs->trans("ShowPropal"),"propal")." ".$obj->ref."".$obj->nom."".price($obj->price).""; + print ''."rowid."\">".img_object($langs->trans("ShowPropal"),"propal")." ".$obj->ref."".$obj->nom."".price($obj->price).""; $i++; $total += $obj->price; } if ($total>0) { - print "".$langs->trans("Total")."".price($total).""; + $var=!$var; + print '".$langs->trans("Total")."".price($total).""; } print "
"; } @@ -174,7 +175,7 @@ if ($conf->commande->enabled) while ($i < $num) { $obj = $db->fetch_object(); - print "rowid\">".img_object($langs->trans("ShowOrder"),"order")." ".$obj->ref.""; + print "rowid\">".img_object($langs->trans("ShowOrder"),"order")." ".$obj->ref.""; print ''.$obj->nom.''; $i++; $var=!$var;