diff --git a/ChangeLog b/ChangeLog
index aad2a119a31..e40a703baa3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ English Dolibarr ChangeLog
***** ChangeLog for 3.0 compared to 2.9 *****
For users:
+- New: task #10473 : Option MAIN_PROFIDx_IN_ADDRESS must no more be hidden.
- New: Can generate business card for on particular member.
- New: Task #10553 : Can attach files on members card.
- New: Can filter on payment type and bank account in payment lists.
diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php
index 3a35c59f42d..f161d979afa 100644
--- a/htdocs/admin/company.php
+++ b/htdocs/admin/company.php
@@ -617,7 +617,10 @@ else
$var=true;
$var=!$var;
- print '
';
diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php
index 7540a3ead16..f446dc31304 100644
--- a/htdocs/core/class/translate.class.php
+++ b/htdocs/core/class/translate.class.php
@@ -482,10 +482,10 @@ class Translate {
/**
- * \brief Retourne la version traduite du texte passe en parametre complete du code pays
- * \param str string root to translate
- * \param countrycode country code (FR, ...)
- * \return string translated string
+ * Retourne la version traduite du texte passe en parametre complete du code pays
+ * @param str string root to translate
+ * @param countrycode country code (FR, ...)
+ * @return string translated string
*/
function transcountrynoentities($str, $countrycode)
{
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index 4543711d63e..543abafe408 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -781,6 +781,7 @@ SimpleNumRefModelDesc=Return the reference number with format %syymm-nnnn where
ListOfEntities=List of entities
AddEntity=Add entity
EditEntity=Edit entity
+ShowProfIdInAddress=Show professionnal id into addresses on documents
##### Module password generation
PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase.
diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang
index 8c59bb6fb20..da14bb6a114 100644
--- a/htdocs/langs/fr_FR/admin.lang
+++ b/htdocs/langs/fr_FR/admin.lang
@@ -792,6 +792,7 @@ SimpleNumRefModelDesc=Renvoie le numéro sous la forme %syymm-nnnn où yy est l'
ListOfEntities=Liste des entités
AddEntity=Ajouter entité
EditEntity=Editer entité
+ShowProfIdInAddress=Afficher l'identifiant professionnel dans les adresses sur les documents
##### Module password generation= undefined
PasswordGenerationStandard= Renvoie un mot de passe généré selon algorithme interne Dolibarr: 8 caractères, chiffres et caractères en minuscules mélangés.
diff --git a/htdocs/lib/doleditor.class.php b/htdocs/lib/doleditor.class.php
index ea6c20864a8..401a513ba81 100644
--- a/htdocs/lib/doleditor.class.php
+++ b/htdocs/lib/doleditor.class.php
@@ -55,11 +55,11 @@ class DolEditor
* 'Out:nom' partage de la barre d'outils ou 'nom' est le nom du DIV qui affiche la barre
* @param toolbarstartexpanded visible ou non au demarrage
* @param uselocalbrowser Enabled to add links to local object with local browsers. If false, only external images can be added in content.
- * @param tool fckeditor or textarea or xxx
+ * @param okforextandededitor True=Allow usage of extended editor tool (like fckeditor)
* @param rows Size of rows for textarea tool
* @param cols Size of cols for textarea tool
*/
- function DolEditor($htmlname,$content,$height=200,$toolbarname='Basic',$toolbarlocation='In',$toolbarstartexpanded=false,$uselocalbrowser=true,$okforfckeditor=true,$rows=0,$cols=0)
+ function DolEditor($htmlname,$content,$height=200,$toolbarname='Basic',$toolbarlocation='In',$toolbarstartexpanded=false,$uselocalbrowser=true,$okforextandededitor=true,$rows=0,$cols=0)
{
global $conf,$langs;
@@ -68,7 +68,7 @@ class DolEditor
$this->tool='fckeditor'; // By default
// Check fckeditor is ok
- if ($this->tool == 'fckeditor' && (empty($conf->fckeditor->enabled) || ! $okforfckeditor))
+ if ($this->tool == 'fckeditor' && (empty($conf->fckeditor->enabled) || ! $okforextandededitor))
{
$this->tool = 'textarea';
}