diff --git a/htdocs/categories/card.php b/htdocs/categories/card.php
index 5b54666b674..9f275033b01 100644
--- a/htdocs/categories/card.php
+++ b/htdocs/categories/card.php
@@ -97,7 +97,7 @@ $error = 0;
// Add action
if ($action == 'add' && $user->rights->categorie->creer) {
- // Action ajout d'une categorie
+ // Action add a category
if ($cancel) {
if ($urlfrom) {
header("Location: ".$urlfrom);
@@ -167,7 +167,7 @@ if ($action == 'add' && $user->rights->categorie->creer) {
// Confirm action
if (($action == 'add' || $action == 'confirmed') && $user->rights->categorie->creer) {
- // Action confirmation de creation categorie
+ // Action confirmation of creation category
if ($action == 'confirmed') {
if ($urlfrom) {
header("Location: ".$urlfrom);
@@ -208,7 +208,7 @@ if (($action == 'add' || $action == 'confirmed') && $user->rights->categorie->cr
$form = new Form($db);
$formother = new FormOther($db);
-$helpurl = '';
+$helpurl = 'EN:Module_Categories|FR:Module_Catégories';
llxHeader("", $langs->trans("Categories"), $helpurl);
if ($user->rights->categorie->creer) {
diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php
index f6f2f3de562..faf7ecaf3d8 100644
--- a/htdocs/core/class/html.formmail.class.php
+++ b/htdocs/core/class/html.formmail.class.php
@@ -756,7 +756,7 @@ class FormMail extends Form
$out .= '
';
- if ($this->withmaindocfile) {
+ if ($this->withmaindocfile) {
// withmaindocfile is set to 1 or -1 to show the checkbox (-1 = checked or 1 = not checked)
if (GETPOSTISSET('sendmail')) {
$this->withmaindocfile = (GETPOST('addmaindocfile', 'alpha') ? -1 : 1);
@@ -1641,7 +1641,14 @@ class ModelMail
*/
public $label;
+ /**
+ * @var string Model mail topic
+ */
public $topic;
+
+ /**
+ * @var string Model mail content
+ */
public $content;
public $content_lines;
public $lang;
diff --git a/htdocs/ftp/index.php b/htdocs/ftp/index.php
index 3f04f161038..6a97265b050 100644
--- a/htdocs/ftp/index.php
+++ b/htdocs/ftp/index.php
@@ -123,7 +123,7 @@ if (GETPOST("sendit") && !empty($conf->global->MAIN_UPLOAD_DOC)) {
}
}
} else {
- // Echec transfert (fichier depassant la limite ?)
+ // Transfer failure (file exceeding the limit ?)
$langs->load("errors");
setEventMessages($langs->trans("ErrorFailToCreateDir", $upload_dir), null, 'errors');
}
diff --git a/htdocs/user/list.php b/htdocs/user/list.php
index f5ff4ea8a99..f9703116d62 100644
--- a/htdocs/user/list.php
+++ b/htdocs/user/list.php
@@ -308,8 +308,8 @@ if (empty($reshook)) {
$formother = new FormOther($db);
-//$help_url="EN:Module_MyObject|FR:Module_MyObject_FR|ES:Módulo_MyObject";
-$help_url = '';
+$help_url = 'EN:Module_Users|FR:Module_Utilisateurs|ES:Módulo_Usuarios|DE:Modul_Benutzer';
+
if ($contextpage == 'employeelist' && $search_employee == 1) {
$text = $langs->trans("ListOfEmployees");
} else {
diff --git a/htdocs/zapier/hook_document.php b/htdocs/zapier/hook_document.php
index b78ad4d7bac..8751f184821 100644
--- a/htdocs/zapier/hook_document.php
+++ b/htdocs/zapier/hook_document.php
@@ -96,8 +96,8 @@ include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
$form = new Form($db);
$title = $langs->trans("MyObject").' - '.$langs->trans("Files");
-$help_url = '';
-//$help_url='EN:Module_Third_Parties|FR:Module_Tiers|ES:Empresas';
+$help_url = 'EN:Module_Zapier|ES:Módulo Zapier|FR:Module_Zapier_FR|DE:Modul_Zapier';
+
llxHeader('', $title, $help_url);
if ($object->id) {
|