26 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
47 $this->rights_class =
'gravatar';
51 $this->family =
"interface";
53 $this->module_position =
'75';
55 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
57 $this->
description =
"Use online Gravatar service (www.gravatar.com) to show photo of users/members (found with their emails).<br>Need an internet access.";
59 $this->version =
'dolibarr';
61 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
65 $this->picto =
'gravatar';
69 $this->dirs = array();
73 $this->config_page_url = array();
76 $this->hidden =
false;
77 $this->depends = array();
78 $this->requiredby = array();
79 $this->conflictwith = array();
80 $this->phpmin = array(5, 4);
81 $this->need_dolibarr_version = array(2, 7);
82 $this->langfiles = array();
85 $this->
const = array();
90 $this->tabs = array();
93 $this->boxes = array();
105 $this->rights = array();
119 $this->menus = array();
</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.
Description and activation class for module Gravatar.