diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php
index 629aeb5080f..3fd0a12e70b 100644
--- a/htdocs/admin/company.php
+++ b/htdocs/admin/company.php
@@ -264,10 +264,13 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit')
print '';
print ''."\n";
- $var=!$var;
- print '
| '.$langs->trans("Logo").' (png,jpg) | ';
@@ -483,8 +486,14 @@ else
/*
* Affichage des paramètres
*/
+
if ($message) print $message.' ';
+ // Actions buttons
+ //print ' ';
+
print '';
print '| '.$langs->trans("CompanyInfo").' | '.$langs->trans("Value").' | ';
$var=true;
@@ -524,8 +533,11 @@ else
$var=!$var;
print '| '.$langs->trans("Web").' | ' . dol_print_url($conf->global->MAIN_INFO_SOCIETE_WEB) . ' | ';
- $var=!$var;
- print '| '.$langs->trans("Gencod").' | ' . $conf->global->MAIN_INFO_SOCIETE_GENCOD . ' | ';
+ if ($conf->barcode->enabled)
+ {
+ $var=!$var;
+ print '| '.$langs->trans("Gencod").' | ' . $conf->global->MAIN_INFO_SOCIETE_GENCOD . ' | ';
+ }
$var=!$var;
print '| '.$langs->trans("Logo").' | ';
@@ -734,7 +746,7 @@ else
print " | ";
- // Boutons d'action
+ // Actions buttons
print '';
diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php
index 12877f0252b..c511ddca4f3 100644
--- a/htdocs/admin/ihm.php
+++ b/htdocs/admin/ihm.php
@@ -50,6 +50,8 @@ $searchformconst=array($conf->global->MAIN_SEARCHFORM_SOCIETE,$conf->global->MAI
$conf->global->MAIN_SEARCHFORM_PRODUITSERVICE,$conf->global->MAIN_SEARCHFORM_ADHERENT);
$searchformtitle=array($langs->trans("Companies"),$langs->trans("Contacts"),
$langs->trans("ProductsAndServices"),$langs->trans("Members"));
+$searchformmodule=array('Module1Name','Module1Name',
+ 'Module50Name','Module310Name');
if (isset($_POST["action"]) && $_POST["action"] == 'update')
@@ -331,11 +333,13 @@ else
// Liste des zone de recherche permanantes supportïżœes
print '';
- print '| '.$langs->trans("PermanentLeftSearchForm").' | '.$langs->trans("Activated").' | ';
+ print '| '.$langs->trans("PermanentLeftSearchForm").' | '.$langs->trans("Activated").' | | ';
$var=true;
foreach ($searchform as $key => $value) {
$var=!$var;
- print '| '.$searchformtitle[$key].' | ' . ($searchformconst[$key]?$langs->trans("yes"):$langs->trans("no")) . ' | ';
+ print '| '.$searchformtitle[$key].' | ' . ($searchformconst[$key]?$langs->trans("yes"):$langs->trans("no")).' | ';
+ print ''.$langs->trans("IfModuleEnabled",$langs->transnoentitiesnoconv($searchformmodule[$key]));
+ print ' | ';
}
print ' ';
print ' ';
diff --git a/htdocs/admin/tools/update.php b/htdocs/admin/tools/update.php
index bd0a093c061..3a9a62b471d 100644
--- a/htdocs/admin/tools/update.php
+++ b/htdocs/admin/tools/update.php
@@ -73,8 +73,12 @@ print $langs->trans("DownloadPackageFromWebSite",$fullurl).' ';
print ''.$langs->trans("StepNb",2).': ';
print $langs->trans("UnpackPackageInDolibarrRoot",$dolibarrroot).' ';
print ''.$langs->trans("StepNb",3).': ';
+print $langs->trans("RemoveLock",$dolibarrroot.'install.lock').' ';
+print ''.$langs->trans("StepNb",4).': ';
$fullurl=''.DOL_URL_ROOT.'/install'.'';
print $langs->trans("CallUpdatePage",$fullurl).' ';
+print ''.$langs->trans("StepNb",5).': ';
+print $langs->trans("RestoreLock",$dolibarrroot.'install.lock').' ';
print ' ';
print ' ';
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index 926b4407625..9f064a72167 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -23,6 +23,9 @@ ExternalUsers=External users
GlobalSetup=Global setup
GUISetup=Display
SetupArea=Setup area
+IfModuleEnabled=Note: yes is effective only if module %s is enabled
+RemoveLock=Remove file %s if it exists to allow the update tool.
+RestoreLock=Replace a file %s with read permission only on file to disable any usage of update tool.
SecuritySetup=Security setup
ErrorModuleRequirePHPVersion=Error, this module requires PHP version %s or higher
ErrorModuleRequireDolibarrVersion=Error, this module requires Dolibarr version %s or higher
@@ -212,7 +215,7 @@ DownloadPackageFromWebSite=Download package from web site %s.
UnpackPackageInDolibarrRoot=Unpack package file into Dolibarr's root directory %s
SetupIsReadyForUse=Install is finished and Dolibarr is ready to use with this new component.
CurrentVersion=Dolibarr current version
-CallUpdatePage=Go to the page that updates database structure and datas %s.
+CallUpdatePage=Go to the page that updates database structure and datas: %s.
LastStableVersion=Last stable version
GenericMaskCodes=You may enter any numbering mask. In this mask, the following tags could be used: {000000} corresponds to a number which will be incremented on each %s. Enter as many zeros as the desired length of the counter. The counter will be completed by zeros from the left in order to have as many zeros as the mask. {000000+000} same as previous but an offset corresponding to the number to the right of the + sign is applied starting on first %s. {000000@x} same as previous but the counter is reset to zero when month x is reached (x between 1 and 12). If this option is used and x is 2 or higher, then sequence {yy}{mm} or {yyyy}{mm} is also required. {dd} day (01 to 31). {mm} month (01 to 12). {yy}, {yyyy} or {y} year over 2, 4 or 1 numbers.
GenericMaskCodes2={cccc} the client code {cccc000} the client code on n characters is followed by a client's ref counter without offset and zeroized whith the global counter.
diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang
index 70bd99ae2f4..28c2f4925ec 100644
--- a/htdocs/langs/fr_FR/admin.lang
+++ b/htdocs/langs/fr_FR/admin.lang
@@ -23,6 +23,9 @@ ExternalUsers=Utilisateurs externes
GlobalSetup=Général
GUISetup=Affichage
SetupArea=Espace configuration
+IfModuleEnabled=Rem: oui est effectif uniquement si le module %s est activé
+RemoveLock=Effacer le fichier %s s'il existe afin d'autoriser l'outil de mise a jour.
+RestoreLock=Replacer un fichier %s en ne donnant des droits que de lecture sur ce fichier afin d'interdire Ă nouveau les mises Ă jour.
SecuritySetup=Configuration de la sécurité
ErrorModuleRequirePHPVersion=Erreur, ce module requiert une version %s ou supérieure de PHP
ErrorModuleRequireDolibarrVersion=Erreur, ce module requiert une version %s ou supérieure de Dolibarr
@@ -211,7 +214,7 @@ DownloadPackageFromWebSite=Télécharger le package depuis le site %s.
UnpackPackageInDolibarrRoot=Décompresser le package dans le répertoire racine de Dolibarr %s
SetupIsReadyForUse=L'installation est terminĂ©e et Dolibarr est prĂȘt Ă ĂȘtre utilisĂ© avec le nouveau composant.
CurrentVersion=Version en cours de Dolibarr
-CallUpdatePage=Appeler la page de mise a jour de la structure et données de la base %s.
+CallUpdatePage=Appeler la page de l'outil de mise a jour de la structure et données de la base: %s.
LastStableVersion=DerniĂšre version stable
GenericMaskCodes=Vous pouvez saisir tout masque de numérotation. Dans ce masque, les balises suivantes peuvent etre utilisées: {000000} correspond a un numéro qui sera incrémenté à chaque %s. Mettre autant de zéro que la longueur désirée du compteur. Le compteur sera complété par des 0 à gauche afin d'avoir autant de zéro que dans le masque. {000000+000} idem précédemment mais un offset correpondant au nombre à droite du + est appliqué dÚs la premiere %s. {000000@x} idem précédemment mais le compteur est remis à zero le xeme mois de l'année (x entre 1 et 12). Si cette option est utilisée et x vaut 2 ou plus, alors la sequence {yy}{mm} ou {yyyy}{mm} est obligatoire. {dd} jour (01 à 31). {mm} mois (01 à 12). {yy}, {yyyy} ou {y} annee sur 2, 4 ou 1 chiffres.
GenericMaskCodes2={cccc} le code client sur n lettres {cccc000} le code client sur n lettres est suivi d'un compteur propre au client sans offset, complĂ©tĂ© par des zĂ©ros pour en avoir autant que dans le masque, et remis Ă zĂ©ro en mĂȘme temps que le compteur global.
|