Fix: Modif esthétiques mineures
This commit is contained in:
parent
aa4cb1b272
commit
75e487ab04
@ -821,12 +821,12 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status)
|
|||||||
$result=$db->query($sql);
|
$result=$db->query($sql);
|
||||||
if ($result)
|
if ($result)
|
||||||
{
|
{
|
||||||
|
$var=true;
|
||||||
$num = $db->num_rows($result);
|
$num = $db->num_rows($result);
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
if ($num)
|
if ($num)
|
||||||
{
|
{
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$var=true;
|
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$objp = $db->fetch_object($result);
|
$objp = $db->fetch_object($result);
|
||||||
@ -851,7 +851,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
print "<tr $bc[$var]><td>";
|
print "<tr ".$bc[!$var]."><td>";
|
||||||
print $langs->trans("NoOpenedPropals");
|
print $langs->trans("NoOpenedPropals");
|
||||||
print "</td></tr>";
|
print "</td></tr>";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user