28 include_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 = in_array(constant(
'JS_CKEDITOR'), array(
'disabled',
'disabled/'));
67 $this->depends = array();
68 $this->requiredby = array(
'modWebsites');
71 $this->
const = array();
72 $this->
const[0] = array(
"FCKEDITOR_ENABLE_SOCIETE",
"yesno",
"1",
"WYSIWIG for the fields descriptions of elements (except products/services)");
73 $this->
const[2] = array(
"FCKEDITOR_ENABLE_DETAILS",
"yesno",
"1",
"WYSIWIG for products details lines for all entities");
74 $this->
const[3] = array(
"FCKEDITOR_ENABLE_USERSIGN",
"yesno",
"1",
"WYSIWIG for user signature");
75 $this->
const[4] = array(
"FCKEDITOR_ENABLE_MAILING",
"yesno",
"1",
"WYSIWIG for mass emailings");
76 $this->
const[5] = array(
"FCKEDITOR_ENABLE_MAIL",
"yesno",
"1",
"WYSIWIG for products details lines for all entities");
77 $this->
const[6] = array(
"FCKEDITOR_SKIN",
"string",
"moono-lisa",
"Skin by default for fckeditor");
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(".$version.") pid 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.
$conf db
API class for accounts.