Clean a lot of code

This commit is contained in:
Laurent Destailleur 2009-02-11 15:30:33 +00:00
parent 0056facfd2
commit 187d015b46
2 changed files with 7 additions and 6 deletions

View File

@ -51,7 +51,7 @@ class modDocument extends DolibarrModules
$this->family = "other";
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
$this->name = eregi_replace('^mod','',get_class($this));
$this->description = "Genération de courriers/publipostages";
$this->description = "Generation de courriers/publipostages";
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
$this->version = 'development';
@ -68,7 +68,7 @@ class modDocument extends DolibarrModules
// D<>pendances
$this->depends = array();
$this->requiredby = array("modEditeur");
$this->requiredby = array();
$this->conflictwith = array();
$this->langfiles = array("orders","bills","companies");

View File

@ -51,7 +51,7 @@ class modEditeur extends DolibarrModules
$this->family = "other";
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
$this->name = eregi_replace('^mod','',get_class($this));
$this->description = "Gestion des editeurs";
$this->description = "Gestion des livres et editeurs";
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
$this->version = 'development';
@ -69,15 +69,16 @@ class modEditeur extends DolibarrModules
$this->config_page_url = array("editeur.php");
// Dependances
$this->depends = array("modDocument");
$this->depends = array();
$this->requiredby = array();
$this->conflictwith = array();
$this->needleftmenu = array('rodolphe.php');
$this->needleftmenu = array();
$this->needtotopmenu = array();
$this->langfiles = array("orders","bills","companies");
// Constantes
$this->const=array();
$this->const=array(0=>array('PRODUCT_CANVAS_ABILITY','chaine',1,'This is a constant',1),
1=>array('MAIN_NEED_SMARTY','chaine',1,'Need smarty',0));
// Boites
$this->boxes = array();