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/')) ? 1 : 0);
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 description and note (except products/services)");
73 $this->
const[1] = array(
"FCKEDITOR_ENABLE_PRODUCTDESC",
"yesno",
"1",
"WYSIWIG for products/services description and note");
74 $this->
const[2] = array(
"FCKEDITOR_ENABLE_MAILING",
"yesno",
"1",
"WYSIWIG for mass emailings");
75 $this->
const[3] = array(
"FCKEDITOR_ENABLE_DETAILS",
"yesno",
"1",
"WYSIWIG for products details lines for all entities");
76 $this->
const[4] = array(
"FCKEDITOR_ENABLE_USERSIGN",
"yesno",
"1",
"WYSIWIG for user signature");
77 $this->
const[5] = array(
"FCKEDITOR_ENABLE_MAIL",
"yesno",
"1",
"WYSIWIG for products details lines for all entities");
78 $this->
const[6] = array(
"FCKEDITOR_SKIN",
"string",
"moono-lisa",
"Skin by default for fckeditor");
81 $this->boxes = array();
84 $this->rights = array();
85 $this->rights_class =
'fckeditor';
</td > param sortfield sortorder printFieldListOption< tdclass="liste_titremaxwidthsearchright"></td ></tr >< trclass="liste_titre">< inputtype="checkbox"onClick="toggle(this)"/> Ref p ref Label p label Duration p duration center DesiredStock p desiredstock right StockLimitShort p seuil_stock_alerte right stock_physique right stock_real_warehouse right Ordered right StockToBuy right SupplierRef right param sortfield sortorder printFieldListTitle warehouseinternal SELECT description FROM product_lang WHERE qty< br > qty qty qty StockTooLow StockTooLow help help help< trclass="oddeven">< td >< inputtype="checkbox"class="check"name="choose'.$i.'"></td >< tdclass="nowrap"> stock</td >< td >< inputtype="hidden"name="desc'.$i.'"value="'.dol_escape_htmltag($objp-> 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.
__construct($db)
Constructor.
Class to describe and enable module Fckeditor.