2
0
forked from Wavyzz/dolibarr

New: Add hidden option SOCIETE_DISABLE_PROSPECTS

This commit is contained in:
Laurent Destailleur
2011-01-26 19:06:53 +00:00
parent 113337b809
commit 9cd90da933
2 changed files with 6 additions and 6 deletions

View File

@@ -93,9 +93,9 @@ class modMyModule extends DolibarrModules
$this->langfiles = array("langfiles@mymodule");
// Constants
// Example: $this->const=array(0=>array('MYMODULE_MYNEWCONST1','chaine','myvalue','This is a constant to add',0),
// Example: $this->const=array(0=>array('MYMODULE_MYNEWCONST1','chaine','myvalue','This is a constant to add',1),
// 1=>array('MYMODULE_MYNEWCONST2','chaine','myvalue','This is another constant to add',0) );
// 2=>array('MAIN_MODULE_MYMODULE_NEEDSMARTY','chaine',1,'Constant to say module need smarty',0)
// 2=>array('MAIN_MODULE_MYMODULE_NEEDSMARTY','chaine',1,'Constant to say module need smarty',1)
$this->const = array(); // List of particular constants to add when module is enabled (key, 'chaine', value, desc, visible, 0 or 'allentities')
// Array to add new pages in new tabs