28 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
52 $this->family =
"interface";
54 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
56 $this->
description =
"This module include an external web site or page into Dolibarr menus and view it into a Dolibarr frame.";
58 $this->version =
'dolibarr';
60 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
62 $this->picto =
'bookmark';
64 $this->langfiles = array(
"externalsite");
67 $this->dirs = array();
70 $this->config_page_url = array(
"externalsite.php@externalsite");
73 $this->depends = array();
74 $this->requiredby = array();
81 $this->
const = array(0=>array(
'EXTERNALSITE_LABEL',
'chaine',
'ExternalSite',
'To declare label to use into external site menu entry', 0));
84 $this->boxes = array();
95 $this->rights_class =
'externalsite';
96 $this->rights = array();
102 $this->menu[$r] = array(
105 'titre'=>
'__[EXTERNALSITE_LABEL]__',
106 'mainmenu'=>
'externalsite',
107 'url'=>
'/externalsite/frames.php',
111 'enabled'=>
'$conf->externalsite->enabled',
</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.
Description and activation class for module ExternalSite.