Update list.php
This commit is contained in:
parent
2107a61bbe
commit
830ec9c9cb
@ -507,11 +507,25 @@ else
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Status (to buy)
|
$product_static->status_buy = $objp->tobuy;
|
||||||
print '<td align="center" class="nowrap">'.$product_static->LibStatut($objp->tosell,5,0).'</td>';
|
$product_static->status = $objp->tosell;
|
||||||
|
|
||||||
// Status (to sell)
|
// Status (to sell)
|
||||||
print '<td align="center" class="nowrap">'.$product_static->LibStatut($objp->tobuy,5,1).'</td>';
|
print '<td align="right" nowrap="nowrap">';
|
||||||
|
if (! empty($conf->use_javascript_ajax) && $user->rights->produit->creer) {
|
||||||
|
print ajax_object_onoff($product_static, 'status');
|
||||||
|
} else {
|
||||||
|
print $product_static->LibStatut($objp->tosell,5,0);
|
||||||
|
}
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
|
// Status (to buy)
|
||||||
|
print '<td align="right" nowrap="nowrap">';
|
||||||
|
if (! empty($conf->use_javascript_ajax) && $user->rights->produit->creer) {
|
||||||
|
print ajax_object_onoff($product_static, 'status_buy');
|
||||||
|
} else {
|
||||||
|
print $product_static->LibStatut($objp->tobuy,5,1);
|
||||||
|
}
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user