28include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
47 $this->family =
"technic";
48 $this->module_position =
'20';
50 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
53 $this->version =
'dolibarr';
54 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
57 $this->picto =
'paragraph';
60 $this->dirs = array(
"/medias/temp",
"/medias/image");
63 $this->config_page_url = array(
"fckeditor.php");
66 $this->
disabled = (defined(
'JS_CKEDITOR') && in_array(constant(
'JS_CKEDITOR'), array(
'disabled',
'disabled/')));
67 $this->depends = array();
68 $this->requiredby = array(
'modWebsites');
69 $this->enabled_bydefault =
true;
72 $this->
const = array();
73 $this->
const[0] = array(
"FCKEDITOR_ENABLE_SOCIETE",
"yesno",
"1",
"WYSIWYG for the fields descriptions of elements (except products/services)");
74 $this->
const[2] = array(
"FCKEDITOR_ENABLE_DETAILS",
"yesno",
"1",
"WYSIWYG for products details lines for all entities");
75 $this->
const[3] = array(
"FCKEDITOR_ENABLE_USERSIGN",
"yesno",
"1",
"WYSIWYG for user signature");
76 $this->
const[4] = array(
"FCKEDITOR_ENABLE_MAILING",
"yesno",
"1",
"WYSIWYG for mass emailings");
77 $this->
const[5] = array(
"FCKEDITOR_ENABLE_MAIL",
"yesno",
"1",
"WYSIWYG for products details lines for all entities");
80 $this->boxes = array();
83 $this->rights = array();
84 $this->rights_class =
'fckeditor';
Class to describe and enable module Fckeditor.
__construct($db)
Constructor.
print $script_file $mode $langs defaultlang(is_numeric($duration_value) ? " delay=". $duration_value :"").(is_numeric($duration_value2) ? " after cd cd cd description as description
Only used if Module[ID]Desc translation string is not found.
$conf db name
Only used if Module[ID]Name translation string is not found.