diff --git a/htdocs/barcode/codeinit.php b/htdocs/barcode/codeinit.php index 22bcf77267a..f01e592d1d5 100644 --- a/htdocs/barcode/codeinit.php +++ b/htdocs/barcode/codeinit.php @@ -245,6 +245,13 @@ if ($conf->societe->enabled) // For products if ($conf->product->enabled || $conf->product->service) { + // Example 1 : Adding jquery code + print ''; + $nbno=$nbtotal=0; print_fiche_titre($langs->trans("BarcodeInitForProductsOrServices"),'','').'
'."\n"; @@ -296,8 +303,6 @@ if ($conf->product->enabled || $conf->product->service) if (empty($nbno)) { $disabled1=1; - $titleno=$langs->trans("NoRecordWithoutBarcodeDefined"); - print ''.$langs->trans("NoRecordWithoutBarcodeDefined").'
'; } print '
'; @@ -306,7 +311,7 @@ if ($conf->product->enabled || $conf->product->service) print ''; $moretags2=(($nbno == $nbtotal)?' disabled="disabled"':''); print '   '; - print ''; + print ''; print '


'; } diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 7f891bc4195..15d5b038f7c 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -380,14 +380,16 @@ DefaultLink=Default link ValueOverwrittenByUserSetup=Warning, this value may be overwritten by user specific setup (each user can set his own clicktodial url) ExternalModule=External module - Installed into directory %s BarcodeInitForThirdparties=Mass barcode init for thirdparties -BarcodeInitForProductsOrServices=Mass barcode init for products or services +BarcodeInitForProductsOrServices=Mass barcode init or reset for products or services CurrentlyNWithoutBarCode=Currently, you have %s records on %s %s without barcode defined. InitEmptyBarCode=Init value for next %s empty records EraseAllCurrentBarCode=Erase all current barcode values +ConfirmEraseAllCurrentBarCode=Are you sure you want to erase all current barcode values ? AllBarcodeReset=All barcode values have been removed NoBarcodeNumberingTemplateDefined=No numbering barcode template enabled into barcode module setup. NoRecordWithoutBarcodeDefined=No record with no barcode value defined. + # Modules Module0Name=Users & groups Module0Desc=Users and groups management