Uniformize way to set version on modules
This commit is contained in:
parent
b9cab3f82a
commit
ced7c16506
@ -54,8 +54,8 @@ class modBanque extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des comptes financiers de type Comptes bancaires ou postaux";
|
$this->description = "Gestion des comptes financiers de type Comptes bancaires ou postaux";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -53,8 +53,9 @@ class modBookmark extends DolibarrModules
|
|||||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
// 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->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des Bookmarks";
|
$this->description = "Gestion des Bookmarks";
|
||||||
$this->revision = explode(' ','$Revision$');
|
|
||||||
$this->version = $this->revision[1];
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 2;
|
$this->special = 2;
|
||||||
|
|||||||
@ -51,9 +51,8 @@ class modCategorie extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des catégories (produits, clients, fournisseurs...)";
|
$this->description = "Gestion des catégories (produits, clients, fournisseurs...)";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
//$this->version = 'experimental'; // 'development' or 'experimental' or 'dolibarr' or version
|
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -54,8 +54,9 @@ class modCommande extends DolibarrModules
|
|||||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
// 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->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des commandes clients";
|
$this->description = "Gestion des commandes clients";
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
$this->picto='order';
|
$this->picto='order';
|
||||||
|
|||||||
@ -54,8 +54,8 @@ class modCommercial extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion commercial";
|
$this->description = "Gestion commercial";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -56,8 +56,8 @@ class modComptabilite extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion sommaire de comptabilite";
|
$this->description = "Gestion sommaire de comptabilite";
|
||||||
|
|
||||||
$this->revision = explode(" ","$Revision$");
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -57,8 +57,8 @@ class modComptabiliteExpert extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion expert de comptabilite (doubles parties)";
|
$this->description = "Gestion expert de comptabilite (doubles parties)";
|
||||||
|
|
||||||
// $this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
// $this->version = $this->revision[1];
|
//$this->version = 'dolibarr';
|
||||||
$this->version = "development";
|
$this->version = "development";
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
|
|||||||
@ -54,8 +54,8 @@ class modContrat extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des contrats de services";
|
$this->description = "Gestion des contrats de services";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -53,8 +53,8 @@ class modDeplacement extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des notes de frais et deplacements"; // Si traduction Module75Desc non trouvee
|
$this->description = "Gestion des notes de frais et deplacements"; // Si traduction Module75Desc non trouvee
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -52,8 +52,9 @@ class modDocument extends DolibarrModules
|
|||||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
// 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->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des documents";
|
$this->description = "Gestion des documents";
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 2;
|
$this->special = 2;
|
||||||
$this->picto='dir';
|
$this->picto='dir';
|
||||||
|
|||||||
@ -52,8 +52,9 @@ class modEditeur extends DolibarrModules
|
|||||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
// 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->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des editeurs";
|
$this->description = "Gestion des editeurs";
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 3;
|
$this->special = 3;
|
||||||
$this->picto='book';
|
$this->picto='book';
|
||||||
|
|||||||
@ -55,8 +55,8 @@ class modEnergie extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Suivi de la consommation des energies";
|
$this->description = "Suivi de la consommation des energies";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 2;
|
$this->special = 2;
|
||||||
|
|||||||
@ -50,8 +50,10 @@ class modExpedition extends DolibarrModules
|
|||||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
// 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->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des expeditions";
|
$this->description = "Gestion des expeditions";
|
||||||
$this->revision = explode(' ','$Revision$');
|
|
||||||
$this->version = $this->revision[1];
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
$this->picto = "sending";
|
$this->picto = "sending";
|
||||||
|
|||||||
@ -55,8 +55,8 @@ class modFacture extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des factures";
|
$this->description = "Gestion des factures";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -55,8 +55,8 @@ class modFicheinter extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des fiches d'intervention";
|
$this->description = "Gestion des fiches d'intervention";
|
||||||
|
|
||||||
$this->revision = explode(" ","$Revision$");
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -52,8 +52,8 @@ class modFournisseur extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des fournisseurs";
|
$this->description = "Gestion des fournisseurs";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -58,8 +58,8 @@ class modProduit extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des produits";
|
$this->description = "Gestion des produits";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -53,8 +53,9 @@ class modProjet extends DolibarrModules
|
|||||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
// 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->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des projets";
|
$this->description = "Gestion des projets";
|
||||||
$this->revision = explode(" ","$Revision$");
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
$this->picto='email';
|
$this->picto='email';
|
||||||
|
|||||||
@ -53,8 +53,8 @@ class modPropale extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des propositions commerciales";
|
$this->description = "Gestion des propositions commerciales";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -56,8 +56,8 @@ class modService extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des services";
|
$this->description = "Gestion des services";
|
||||||
|
|
||||||
$this->revision = explode(" ","$Revision$");
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -56,8 +56,8 @@ class modSociete extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des societes et contacts";
|
$this->description = "Gestion des societes et contacts";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -53,8 +53,8 @@ class modStock extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion des stocks";
|
$this->description = "Gestion des stocks";
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -57,8 +57,8 @@ class modTax extends DolibarrModules
|
|||||||
// Module description used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
|
// Module description used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
|
||||||
$this->description = "Gestion des taxes, charges sociales et dividendes";
|
$this->description = "Gestion des taxes, charges sociales et dividendes";
|
||||||
|
|
||||||
$this->revision = explode(" ","$Revision$");
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -56,8 +56,8 @@ class modTelephonie extends DolibarrModules
|
|||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
$this->description = "Gestion de la Telephonie";
|
$this->description = "Gestion de la Telephonie";
|
||||||
|
|
||||||
$this->revision = explode(" ","$Revision$");
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 2;
|
$this->special = 2;
|
||||||
|
|||||||
@ -52,8 +52,8 @@ class modUser extends DolibarrModules
|
|||||||
$this->description = "Gestion des utilisateurs (requis)";
|
$this->description = "Gestion des utilisateurs (requis)";
|
||||||
$this->always_enabled = 1; // Can't be disabled
|
$this->always_enabled = 1; // Can't be disabled
|
||||||
|
|
||||||
$this->revision = explode(' ','$Revision$');
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = $this->revision[1];
|
$this->version = 'dolibarr';
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user