diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index dc8d08243ae79f71d2e85b569e59feba170d6476..a81069d21ddf6034f57b199a5f6c153c9e7c69a9 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -1071,7 +1071,7 @@ else print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; print $langs->trans("BarcodeType"); print '<td>'; - if (($_GET['action'] != 'editbarcodetype') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcodetype&id='.$object->id.'">'.img_edit($langs->trans('SetBarcodeType'),1).'</a></td>'; + if (($_GET['action'] != 'editbarcodetype') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcodetype&id='.$object->id.'">'.img_edit($langs->trans('Edit'),1).'</a></td>'; print '</tr></table>'; print '</td><td colspan="2">'; if ($_GET['action'] == 'editbarcodetype') @@ -1092,7 +1092,7 @@ else print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; print $langs->trans("BarcodeValue"); print '<td>'; - if (($_GET['action'] != 'editbarcode') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcode&id='.$object->id.'">'.img_edit($langs->trans('SetBarcode'),1).'</a></td>'; + if (($_GET['action'] != 'editbarcode') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcode&id='.$object->id.'">'.img_edit($langs->trans('Edit'),1).'</a></td>'; print '</tr></table>'; print '</td><td colspan="2">'; if ($_GET['action'] == 'editbarcode')