27 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
48 $this->family =
"interface";
50 $this->module_position =
'70';
52 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
53 $this->
description =
"Mailman or Spip interface for member module";
56 $this->version =
'dolibarr';
58 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
59 $this->picto =
'technic';
62 $this->dirs = array();
65 $this->hidden =
false;
66 $this->depends = array(
'modAdherent');
67 $this->requiredby = array();
68 $this->conflictwith = array();
69 $this->phpmin = array(5, 4);
72 $this->config_page_url = array(
'mailman.php');
75 $this->
const = array();
76 $this->
const[1] = array(
"ADHERENT_MAILMAN_UNSUB_URL",
"chaine",
"http://lists.example.com/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%MAILMAN_ADMINPW%&user=%EMAIL%",
"Url de désinscription aux listes mailman");
77 $this->
const[2] = array(
"ADHERENT_MAILMAN_URL",
"chaine",
"http://lists.example.com/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%MAILMAN_ADMINPW%&send_welcome_msg_to_this_batch=1&subscribees=%EMAIL%",
"Url pour les inscriptions mailman");
78 $this->
const[3] = array(
"ADHERENT_MAILMAN_LISTS",
"chaine",
"",
"Mailing-list to subscribe new members to");
81 $this->boxes = array();
84 $this->rights = array();
85 $this->rights_class =
'clicktodial';
</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 Click to Dial.