diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index 86eb04b970f..d33f8546f8a 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -450,7 +450,9 @@ class FormFile
$langs->load("errors");
$genbutton.= ' '.img_warning($langs->transnoentitiesnoconv("WarningNoDocumentModelActivated"));
}
+
if (! $allowgenifempty && ! is_array($modellist) && empty($modellist) && empty($conf->dol_no_mouse_hover) && $modulepart != 'unpaid') $genbutton='';
+
$out.= $genbutton;
$out.= '';
diff --git a/htdocs/install/mysql/data/llx_const.sql b/htdocs/install/mysql/data/llx_const.sql
index 1669d49c216..0c0a98355c0 100644
--- a/htdocs/install/mysql/data/llx_const.sql
+++ b/htdocs/install/mysql/data/llx_const.sql
@@ -33,6 +33,7 @@
-- Visible in misc page
insert into llx_const (name, value, type, note, visible, entity) values ('MAIN_NOT_INSTALLED','1','chaine','Setup is running',1,0);
insert into llx_const (name, value, type, note, visible, entity) values ('MAIN_FEATURES_LEVEL','0','chaine','Level of features to show (0=stable only, 1=stable+experimental, 2=stable+experimental+development',1,0);
+insert into llx_const (name, value, type, note, visible, entity) values ('MAILING_LIMIT_SENDBYWEB','25','chaine','Number of targets to defined packet size when sending mass email',1,0);
-- Hidden and common to all entities
insert into llx_const (name, value, type, note, visible, entity) values ('SYSLOG_HANDLERS','["mod_syslog_file"]','chaine','Which logger to use',0,0);
diff --git a/htdocs/langs/en_US/exports.lang b/htdocs/langs/en_US/exports.lang
index 13d9c8c2dc1..3a20c20f028 100644
--- a/htdocs/langs/en_US/exports.lang
+++ b/htdocs/langs/en_US/exports.lang
@@ -65,7 +65,7 @@ ChooseFormatOfFileToImport=Choose file format to use as import file format by cl
ChooseFileToImport=Upload file then click on picto %s to select file as source import file...
SourceFileFormat=Source file format
FieldsInSourceFile=Fields in source file
-FieldsInTargetDatabase=Target fields in Dolibarr database (*=mandatory)
+FieldsInTargetDatabase=Target fields in Dolibarr database (bold=mandatory)
Field=Field
NoFields=No fields
MoveField=Move field column number %s
@@ -128,4 +128,4 @@ BankAccountNumberKey=Key
SelectFilterFields=If you want to filter on some values, just input values here.
FilterableFields=Champs Filtrables
FilteredFields=Filtered fields
-FilteredFieldsValues=Value for filter
\ No newline at end of file
+FilteredFieldsValues=Value for filter
diff --git a/htdocs/langs/en_US/mails.lang b/htdocs/langs/en_US/mails.lang
index 0fbde69caf3..b7acdd63d86 100644
--- a/htdocs/langs/en_US/mails.lang
+++ b/htdocs/langs/en_US/mails.lang
@@ -106,10 +106,10 @@ SearchAMailing=Search mailing
SendMailing=Send emailing
SendMail=Send email
SentBy=Sent by
-MailingNeedCommand=For security reason, sending an emailing is better when performed from command line. Ask your administrator to launch the following command to send the emailing to all recipients:
+MailingNeedCommand=For security reason, sending an emailing is better when performed from command line. If you have one, ask your server administrator to launch the following command to send the emailing to all recipients:
MailingNeedCommand2=You can however send them online by adding parameter MAILING_LIMIT_SENDBYWEB with value of max number of emails you want to send by session. For this, go on Home - Setup - Other.
-ConfirmSendingEmailing=Are you sure you want to send emailing without command line and from web mode ?
-LimitSendingEmailing=On line sending of emailings are limited for security and timeout reasons to %s recipients by sending session.
+ConfirmSendingEmailing=If you can't or prefer sending them with your www browser, please confirm you are sure you want to send emailing now from your browser ?
+LimitSendingEmailing=Note: On line sending of emailings are limited for security and timeout reasons to %s recipients by sending session.
TargetsReset=Clear list
ToClearAllRecipientsClickHere=Click here to clear the recipient list for this emailing
ToAddRecipientsChooseHere=Add recipients by choosing from the lists
@@ -129,4 +129,4 @@ ANotificationsWillBeSent=1 notification will be sent by email
SomeNotificationsWillBeSent=%s notifications will be sent by email
AddNewNotification=Activate a new email notification request
ListOfActiveNotifications=List all active email notification requests
-ListOfNotificationsDone=List all email notifications sent
\ No newline at end of file
+ListOfNotificationsDone=List all email notifications sent
diff --git a/htdocs/langs/fr_FR/exports.lang b/htdocs/langs/fr_FR/exports.lang
index 1ae7d3712be..03dcc318ed2 100644
--- a/htdocs/langs/fr_FR/exports.lang
+++ b/htdocs/langs/fr_FR/exports.lang
@@ -65,7 +65,7 @@ ChooseFormatOfFileToImport=Choisissez le format de fichier à importer en cliqua
ChooseFileToImport=Ajoutez le fichier à importer puis cliquez sur le pictogramme %s pour le sélectionner comme fichier source d'import…
SourceFileFormat=Format du fichier source
FieldsInSourceFile=Champs dans le fichier source
-FieldsInTargetDatabase=Champs cibles dans la base Dolibarr
+FieldsInTargetDatabase=Champs cibles dans la base Dolibarr (gras=obligatoire)
Field=Champ
NoFields=Aucun champ
MoveField=Déplacer champ colonne numéro %s
diff --git a/htdocs/langs/fr_FR/mails.lang b/htdocs/langs/fr_FR/mails.lang
index 61be98ec440..0c1d7c593fd 100644
--- a/htdocs/langs/fr_FR/mails.lang
+++ b/htdocs/langs/fr_FR/mails.lang
@@ -106,10 +106,10 @@ SearchAMailing=Rechercher un emailing
SendMailing=Envoi emailing
SendMail=Envoi email
SentBy=Envoyé par
-MailingNeedCommand=Pour des raisons de sécurité, il est recommandé de faire les envois d'un emailing de masse depuis la ligne de commande. Demandez à votre administrateur de lancer la commande suivante pour envoyer l'emailing à tous les destinataires :
-MailingNeedCommand2=Vous pouvez toutefois quand même les envoyer par l'interface écran en ajoutant le paramètre MAILING_LIMIT_SENDBYWEB avec la valeur du nombre maximum d'emails envoyés par session d'envoi. Pour cela, aller dans Accueil - Configuration - Divers.
-ConfirmSendingEmailing=Confirmez-vous l'envoi de l'emailing depuis le mode web ?
-LimitSendingEmailing=L'envoi d'un emailing depuis les écrans est limité pour raisons de sécurité et de temporisation à %s destinataires par session d'envoi.
+MailingNeedCommand=Pour des raisons de sécurité, il est recommandé de faire les envois d'un mailing de masse depuis la ligne de commande. Si en avez, demandez à votre administrateur de serveurs de lancer la commande suivante pour envoyer le mailing à tous les destinataires :
+MailingNeedCommand2=Vous pouvez toutefois quand même les envoyer par l'interface écran en ajoutant le paramètre MAILING_LIMIT_SENDBYWEB avec la valeur du nombre max de mails envoyés par session d'envoi. Pour cela, aller dans Accueil - Configuration - Divers.
+ConfirmSendingEmailing=Si vous n'en avez pas ou préferrez envoyer via votre navigateur web, confirmez simplement que vous désirez envoyer l'emailing maintenant depuis le mode web ?
+LimitSendingEmailing=Rem: L'envoi d'un emailing depuis les écrans est limité pour raisons de sécurité et de timeout à %s destinataires par session d'envoi.
TargetsReset=Vider liste
ToClearAllRecipientsClickHere=Pour vider la liste des destinataires de cet emailing, cliquez sur le bouton
ToAddRecipientsChooseHere=Pour ajouter des destinataires, choisir dans les listes ci-dessous
diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php
index e1795c7b7d2..a8ca8521a65 100644
--- a/htdocs/product/liste.php
+++ b/htdocs/product/liste.php
@@ -36,6 +36,7 @@ if (! empty($conf->categorie->enabled))
$langs->load("products");
$langs->load("stocks");
+$langs->load("suppliers");
$action = GETPOST('action');
$sref=GETPOST("sref");
diff --git a/htdocs/user/logout.php b/htdocs/user/logout.php
index 77a382d9d0e..8c0a165a674 100644
--- a/htdocs/user/logout.php
+++ b/htdocs/user/logout.php
@@ -80,6 +80,6 @@ dol_syslog("End of session ".$sessionname);
unset($_SESSION['dol_login']);
unset($_SESSION['dol_entity']);
-if (GETPOST('noredirect')) return;
+if (GETPOST('noredirect')) return;
header("Location: ".$url); // Default behaviour is redirect to index.php page
?>
\ No newline at end of file