\n";
if ($action == '')
{
if ($user->rights->produit->modifier || $user->rights->produit->creer)
{
- print '
Editer | ';
- }
- else
- {
- print '
- | ';
+ print '
Changer le prix';
}
}
-else
+
+if ($action == '')
{
- print '
- | ';
+ if ($user->rights->produit->modifier || $user->rights->produit->creer)
+ {
+ print '
Editer';
+ }
}
-print '
- | ';
if ($product->type == 0 && defined("MAIN_MODULE_STOCK"))
{
- print '
Correction stock | ';
-}
-else
-{
- print '
- | ';
+ print '
Correction stock';
}
-print '