27 include_once DOL_DOCUMENT_ROOT .
'/core/modules/DolibarrModules.class.php';
46 $this->family =
"technic";
48 $this->
name = preg_replace(
'/^mod/i',
'',get_class($this));
52 $this->version =
'dolibarr';
54 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
55 $this->picto=
'bookmark';
58 $this->dirs = array();
61 $this->depends = array();
62 $this->requiredby = array();
63 $this->langfiles = array(
"bookmarks");
66 $this->config_page_url = array(
'bookmark.php@bookmarks');
69 $this->
const = array();
72 $this->boxes = array(0=>array(
'file'=>
'box_bookmarks.php',
'enabledbydefaulton'=>
'Home'));
75 $this->rights = array();
76 $this->rights_class =
'bookmark';
80 $this->rights[$r][0] = 331;
81 $this->rights[$r][1] =
'Lire les bookmarks';
82 $this->rights[$r][2] =
'r';
83 $this->rights[$r][3] = 0;
84 $this->rights[$r][4] =
'lire';
87 $this->rights[$r][0] = 332;
88 $this->rights[$r][1] =
'Creer/modifier les bookmarks';
89 $this->rights[$r][2] =
'r';
90 $this->rights[$r][3] = 0;
91 $this->rights[$r][4] =
'creer';
94 $this->rights[$r][0] = 333;
95 $this->rights[$r][1] =
'Supprimer les bookmarks';
96 $this->rights[$r][2] =
'r';
97 $this->rights[$r][3] = 0;
98 $this->rights[$r][4] =
'supprimer';
</td >< td class="liste_titre" align="right"></td ></tr >< tr class="liste_titre">< input type="checkbox" onClick="toggle(this)"/> Ref p ref Label p label Duration p duration warehouseinternal SELECT description FROM product_lang WHERE qty< br > qty qty qty StockTooLow img yes disabled img no img no< tr class="oddeven">< td >< input type="checkbox" class="check" name="' . $i . '"' . $disabled . '></td >< td >< input type="checkbox" class="check" name="choose'.$i.'"></td >< td class="nowrap"></td >< td >< input type="hidden" name="desc' . $i . '" value="' . dol_escape_htmltag($objp-> description
Only used if Module[ID]Desc translation string is not found.
__construct($db)
Constructor.
$conf db name
Only used if Module[ID]Name translation string is not found.
Class to describe and enable module Bookmark.