Fix: use module name
This commit is contained in:
parent
26b83ae474
commit
77f18847e2
@ -49,7 +49,8 @@ class DolEditor
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DolEditor Create an object to build an HTML area to edit a large string content
|
* Create an object to build an HTML area to edit a large string content
|
||||||
|
*
|
||||||
* @param htmlname Nom formulaire html WYSIWIG
|
* @param htmlname Nom formulaire html WYSIWIG
|
||||||
* @param content Contenu edition WYSIWIG
|
* @param content Contenu edition WYSIWIG
|
||||||
* @param height Hauteur en pixel de la zone edition
|
* @param height Hauteur en pixel de la zone edition
|
||||||
@ -70,7 +71,6 @@ class DolEditor
|
|||||||
dol_syslog("DolEditor::DolEditor htmlname=".$htmlname." tool=".$tool);
|
dol_syslog("DolEditor::DolEditor htmlname=".$htmlname." tool=".$tool);
|
||||||
|
|
||||||
// Name of extended editor to use
|
// Name of extended editor to use
|
||||||
//$this->tool=empty($conf->global->MAIN_EXTENDED_EDITOR_NAME)?'fckeditor':$conf->global->MAIN_EXTENDED_EDITOR_NAME; // Name of constants must be NAMEOFMODULE_XXX
|
|
||||||
$this->tool=empty($conf->global->FCKEDITOR_EDITORNAME)?'fckeditor':$conf->global->FCKEDITOR_EDITORNAME;
|
$this->tool=empty($conf->global->FCKEDITOR_EDITORNAME)?'fckeditor':$conf->global->FCKEDITOR_EDITORNAME;
|
||||||
|
|
||||||
// Check if extended editor is ok. If not we force textarea
|
// Check if extended editor is ok. If not we force textarea
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user