";
+
+ print "| ";
+ if ($family!=$oldfamily) { print ' '.$familylib[$family].' | '; $oldfamily=$family; }
+ else { print ' '; }
+ print "";
+ print "";
+ print $objMod->name;
print " | \n";
print $objMod->description;
print ' | ';
diff --git a/htdocs/admin/pre.inc.php b/htdocs/admin/pre.inc.php
index 161ce35e7fa..4b2edf543fa 100644
--- a/htdocs/admin/pre.inc.php
+++ b/htdocs/admin/pre.inc.php
@@ -34,12 +34,12 @@ function llxHeader($head = "", $urlp = "") {
$menu->add(DOL_URL_ROOT."/admin/index.php", "Configuration générale");
+ $menu->add(DOL_URL_ROOT."/admin/ihm.php", "Configuration IHM");
+
$menu->add(DOL_URL_ROOT."/admin/dict.php", "Configuration dictionnaires");
$menu->add(DOL_URL_ROOT."/admin/const.php", "Configuration autre");
- $menu->add(DOL_URL_ROOT."/admin/ihm.php", "Configuration IHM");
-
$menu->add(DOL_URL_ROOT."/admin/modules.php", "Modules");
$menu->add(DOL_URL_ROOT."/admin/boxes.php", "Boites");
@@ -49,8 +49,6 @@ function llxHeader($head = "", $urlp = "") {
$menu->add_submenu(DOL_URL_ROOT."/admin/external_rss.php", "Syndication");
}
- //$menu->add_submenu("sqltables.php", "Tables");
-
$menu->add("system/", "Système");
left_menu($menu->liste);
diff --git a/htdocs/includes/modules/modAdherent.class.php b/htdocs/includes/modules/modAdherent.class.php
index b98d03ac93a..431f188ec4c 100644
--- a/htdocs/includes/modules/modAdherent.class.php
+++ b/htdocs/includes/modules/modAdherent.class.php
@@ -1,6 +1,7 @@
- * Copyright (C) 2003 Jean-Louis Bergamo
+ * Copyright (C) 2003 Jean-Louis Bergamo
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,86 +35,58 @@ class modAdherent extends DolibarrModules
Function modAdherent($DB)
{
$this->db = $DB ;
- $this->depends = array();
+ $this->numero = 310 ;
+ $this->family = "hr";
$this->name = "Adhérents";
$this->description = "Gestion des adhérents d'une association";
$this->const_name = "MAIN_MODULE_ADHERENT";
$this->const_config = MAIN_MODULE_ADHERENT;
+ // Config pages
$this->config_page_url = "adherent.php";
+ // Dépendances
+ $this->depends = array();
+ $this->requiredby = array();
+
$this->const = array();
$this->boxes = array();
$this->const[0]= array("ADHERENT_MAIL_RESIL","texte","Votre adhesion sur %SERVEUR% vient d'etre resilie.\r\nNous esperons vous revoir tres bientot","Mail de résiliation");
-
$this->const[1]=array("ADHERENT_MAIL_VALID","texte","Votre adhesion vient d'etre validee. \r\nVoici le rappel de vos coordonnees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l'adresse suivante : \r\n%SERVEUR%public/adherents/","Mail de validation");
-
$this->const[2]= array("ADHERENT_MAIL_EDIT","texte","Voici le rappel des coordonnees que vous avez modifiees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l'adresse suivante :\r\n%SERVEUR%public/adherents/","Mail d'edition");
-
$this->const[3] = array("ADHERENT_MAIL_RESIL","texte","Votre adhesion sur %SERVEUR% vient d'etre resilie.\r\nNous esperons vous revoir tres bientot","Mail de résiliation");
-
$this->const[4] = array("ADHERENT_MAIL_NEW","texte","Merci de votre inscription. Votre adhesion devrait etre rapidement validee.^M\nVoici le rappel des coordonnees que vous avez rentrees (toute information erronee entrainera la non validation de votre inscription) :\r\n\r\n%INFO%\r\n\r\nVous pouvez a tout moment, grace a votre login et mot de passe, modifier vos coordonnees a l'adresse suivante :\r\n%SERVEUR%public/adherents/","Mail de nouvel inscription");
-
$this->const[5] = array("ADHERENT_MAIL_VALID_SUBJECT","chaine"," Votre adhsion a ete valide sur %SERVEUR%","sujet du mail de validation");
-
$this->const[6] = array("ADHERENT_MAIL_RESIL_SUBJECT","chaine","Resiliation de votre adhesion sur %SERVEUR% ","sujet du mail de resiliation");
-
$this->const[7] = array("ADHERENT_MAIL_NEW_SUBJECT","chaine","Bienvenue sur %SERVEUR%","Sujet du mail de nouvelle adhesion");
-
$this->const[8] = array("ADHERENT_MAIL_EDIT_SUBJECT","chaine","Votre fiche a ete editee sur %SERVEUR%","Sujet du mail d'edition");
-
$this->const[9] = array("ADHERENT_GLASNOST_SERVEUR","chaine","","serveur glasnost");
-
$this->const[10] = array("ADHERENT_MAILMAN_UNSUB_URL","chaine","http://%SERVER%/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%ADMINPW%&user=%EMAIL%","Url de desinscription aux listes mailman");
-
$this->const[11] = array("ADHERENT_MAILMAN_URL","chaine","http://%SERVER%/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%ADMINPW%&send_welcome_msg_to_this_batch=1&subscribees=%EMAIL%","url pour les inscriptions mailman");
-
$this->const[12] = array("ADHERENT_MAILMAN_LISTS","chaine","","Listes auxquelles les nouveaux adhérents sont inscris");
-
$this->const[13] = array("ADHERENT_GLASNOST_USER","chaine","","Administrateur glasnost");
-
$this->const[14] = array("ADHERENT_GLASNOST_PASS","chaine","","password de l'administrateur");
-
$this->const[15] = array("ADHERENT_USE_GLASNOST_AUTO","yesno","","inscription automatique a glasnost ?");
-
$this->const[16] = array("ADHERENT_USE_SPIP_AUTO","yesno","","Utilisation de SPIP automatiquement");
-
$this->const[17] = array("ADHERENT_SPIP_USER","chaine","","Utilisateur de connection a la base spip");
-
$this->const[18] = array("ADHERENT_SPIP_PASS","chaine","","Mot de passe de connection a la base spip");
-
$this->const[19] = array("ADHERENT_SPIP_SERVEUR","chaine","","serveur spip");
-
$this->const[20] = array("ADHERENT_SPIP_DB","chaine","","db spip");
-
$this->const[21] = array("ADHERENT_MAIL_FROM","chaine","","From des mails");
-
$this->const[22] = array("ADHERENT_MAIL_COTIS","texte","Bonjour %PRENOM%,^M\n^M\nCet email confirme que votre cotisation a ete recue\r\net enregistree","Mail de validation de cotisation");
-
$this->const[23] = array("ADHERENT_MAIL_COTIS_SUBJECT","chaine"," Recu de votre cotisation","sujet du mail de validation de cotisation");
-
$this->const[24] = array("ADHERENT_TEXT_NEW_ADH","texte","","Texte d'entete du formaulaire d'adhesion en ligne");
-
$this->const[25] = array("ADHERENT_CARD_HEADER_TEXT","chaine","%ANNEE%","Texte imprime sur le haut de la carte adherent");
-
$this->const[26] = array("ADHERENT_CARD_FOOTER_TEXT","chaine","Association %SERVER%","Texte imprime sur le bas de la carte adherent");
-
$this->const[27] = array("ADHERENT_CARD_TEXT","texte","%PRENOM% %NOM%\r\nMembre n° %ID%\r\n%EMAIL%\r\n%ADRESSE%\r\n%CP% %VILLE%\r\n%PAYS%","Texte imprime sur la carte adherent");
-
$this->const[28] = array("ADHERENT_MAILMAN_ADMINPW","chaine","","Mot de passe Admin des liste mailman");
-
$this->const[29] = array("ADHERENT_MAILMAN_SERVER","chaine","","Serveur hebergeant les interfaces d'Admin des listes mailman");
-
$this->const[30] = array("ADHERENT_MAILMAN_LISTS_COTISANT","chaine","","Liste(s) auxquelles les nouveaux cotisants sont inscris automatiquement");
-
$this->const[31] = array("ADHERENT_BANK_USE_AUTO","yesno","","Insertion automatique des cotisation dans le compte banquaire");
-
$this->const[32] = array("ADHERENT_BANK_ACCOUNT","chaine","","ID du Compte banquaire utilise");
-
$this->const[33] = array("ADHERENT_BANK_CATEGORIE","chaine","","ID de la categorie banquaire des cotisations");
-
$this->const[34] = array("ADHERENT_ETIQUETTE_TYPE","chaine","L7163","Type d etiquette (pour impression de planche d etiquette)");
}
/*
diff --git a/htdocs/includes/modules/modBanque.class.php b/htdocs/includes/modules/modBanque.class.php
index d8434994e85..9d8513a7cf8 100644
--- a/htdocs/includes/modules/modBanque.class.php
+++ b/htdocs/includes/modules/modBanque.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -32,16 +33,19 @@ class modBanque extends DolibarrModules
Function modBanque($DB)
{
- $this->nom = "Banque";
- $this->numero = 85 ;
$this->db = $DB ;
- $this->depends = array();
+ $this->numero = 85 ;
+ $this->family = "financial";
$this->name = "Banque";
$this->description = "Gestion des comptes bancaires";
$this->const_name = "MAIN_MODULE_BANQUE";
$this->const_config = MAIN_MODULE_BANQUE;
+ // Dépendances
+ $this->depends = array();
+ $this->requiredby = array();
+
$this->const = array();
$this->boxes = array();
}
diff --git a/htdocs/includes/modules/modBoutique.class.php b/htdocs/includes/modules/modBoutique.class.php
index ec8491e464f..aa48953d0e2 100644
--- a/htdocs/includes/modules/modBoutique.class.php
+++ b/htdocs/includes/modules/modBoutique.class.php
@@ -34,15 +34,21 @@ class modBoutique extends DolibarrModules
Function modBoutique($DB)
{
$this->db = $DB ;
+ $this->numero = 86 ;
+ $this->family = "products";
$this->name = "Boutique";
$this->description = "Gestion des boutiques";
$this->const_name = "MAIN_MODULE_BOUTIQUE";
$this->const_config = MAIN_MODULE_BOUTIQUE;
- $this->depends = array();
+ // Config pages
$this->config_page_url = array("boutique.php","osc-languages.php");
+ // Dépendances
+ $this->depends = array();
+ $this->requiredby = array();
+
$this->const = array();
$this->boxes = array();
/*
diff --git a/htdocs/includes/modules/modCommande.class.php b/htdocs/includes/modules/modCommande.class.php
index 48c03725897..a2f567acc18 100644
--- a/htdocs/includes/modules/modCommande.class.php
+++ b/htdocs/includes/modules/modCommande.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,14 +35,22 @@ class modCommande extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 25 ;
+
+ $this->family = "crm";
$this->name = "Commande";
$this->description = "Gestion des commandes";
$this->const_name = "MAIN_MODULE_COMMANDE";
$this->const_config = MAIN_MODULE_COMMANDE;
+ // Config pages
+ $this->config_page_url = "commande.php";
+
+ // Dépendances
+ $this->depends = array();
+ $this->requiredby = array();
+
$this->const = array();
$this->boxes = array();
- $this->config_page_url = "commande.php";
$this->boxes[0][0] = "Commandes";
$this->boxes[0][1] = "box_commandes.php";
}
diff --git a/htdocs/includes/modules/modCommercial.class.php b/htdocs/includes/modules/modCommercial.class.php
index b135fcbddd5..3f498dad460 100644
--- a/htdocs/includes/modules/modCommercial.class.php
+++ b/htdocs/includes/modules/modCommercial.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,13 +35,17 @@ class modCommercial extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 2 ;
- $this->depends = array();
+ $this->family = "crm";
$this->name = "Commercial";
$this->description = "Gestion commercial";
$this->const_name = "MAIN_MODULE_COMMERCIAL";
$this->const_config = MAIN_MODULE_COMMERCIAL;
+ // Dépendances
+ $this->depends = array("modSociete");
+ $this->requiredby = array("modPropale","modContrat","modCommande",);
+
$this->const = array();
$this->boxes = array();
$this->boxes[0][0] = "Derniers clients";
diff --git a/htdocs/includes/modules/modComptabilite.class.php b/htdocs/includes/modules/modComptabilite.class.php
index f83f83944d7..83e7ed02a2e 100644
--- a/htdocs/includes/modules/modComptabilite.class.php
+++ b/htdocs/includes/modules/modComptabilite.class.php
@@ -33,18 +33,22 @@ class modComptabilite extends DolibarrModules
Function modComptabilite($DB)
{
- $this->nom = "Module comptabilité";
- $this->numero = 10 ;
$this->db = $DB ;
- $this->depends = array();
- $this->requiredby = array("modFacture");
-
+ $this->numero = 10 ;
+
+ $this->family = "financial";
$this->name = "Comptabilite";
$this->description = "Gestion sommaire de comptabilité";
$this->const_name = "MAIN_MODULE_COMPTABILITE";
$this->const_config = MAIN_MODULE_COMPTABILITE;
+ // Config pages
$this->config_page_url = "compta.php";
+
+ // Dépendances
+ $this->depends = array();
+ $this->requiredby = array("modFacture");
+
$this->const = array();
$this->boxes = array();
}
diff --git a/htdocs/includes/modules/modContrat.class.php b/htdocs/includes/modules/modContrat.class.php
index 45094a25841..eb6841197aa 100644
--- a/htdocs/includes/modules/modContrat.class.php
+++ b/htdocs/includes/modules/modContrat.class.php
@@ -34,12 +34,16 @@ class modContrat extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 54 ;
+
+ $this->family = "crm";
$this->name = "Contrats";
$this->description = "Gestion des contrats de services";
$this->const_name = "MAIN_MODULE_CONTRAT";
$this->const_config = MAIN_MODULE_CONTRAT;
+ // Dépendances
$this->depends = array("modService");
+ $this->requiredby = array();
$this->const = array();
$this->boxes = array();
diff --git a/htdocs/includes/modules/modDon.class.php b/htdocs/includes/modules/modDon.class.php
index 38efe792e5b..c50878c258b 100644
--- a/htdocs/includes/modules/modDon.class.php
+++ b/htdocs/includes/modules/modDon.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,13 +32,17 @@ class modDon extends DolibarrModules
Function modDon($DB)
{
$this->db = $DB ;
+ $this->numero = 700 ;
+ $this->family = "finance";
$this->name = "Don";
$this->description = "Gestion des dons (expérimental)";
$this->const_name = "MAIN_MODULE_DON";
$this->const_config = MAIN_MODULE_DON;
+ // Dépendances
$this->depends = array();
+ $this->requiredby = array();
$this->const = array();
$this->boxes = array();
diff --git a/htdocs/includes/modules/modExpedition.class.php b/htdocs/includes/modules/modExpedition.class.php
index 1b1b40f3386..307d4ad0eb2 100644
--- a/htdocs/includes/modules/modExpedition.class.php
+++ b/htdocs/includes/modules/modExpedition.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,13 +35,20 @@ class modExpedition extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 80 ;
+
+ $this->family = "crm";
$this->name = "Expedition";
$this->description = "Gestion des expéditions";
$this->const_name = "MAIN_MODULE_EXPEDITION";
$this->const_config = MAIN_MODULE_EXPEDITION;
+ // Config pages
$this->config_page_url = "expedition.php";
+ // Dépendances
+ $this->depends = array();
+ $this->requiredby = array();
+
$this->const = array();
$this->boxes = array();
}
diff --git a/htdocs/includes/modules/modExternalRss.class.php b/htdocs/includes/modules/modExternalRss.class.php
index ace1b8c4a6f..8d409c11cee 100644
--- a/htdocs/includes/modules/modExternalRss.class.php
+++ b/htdocs/includes/modules/modExternalRss.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -32,13 +33,17 @@ class modExternalRss extends DolibarrModules
Function modExternalRss($DB)
{
$this->db = $DB ;
+ $this->numero = 320;
+ $this->family = "hr";
$this->name = "Syndication";
$this->description = "Module de gestion de syndication de sites externes";
$this->const_name = "MAIN_MODULE_EXTERNALRSS";
$this->const_config = MAIN_MODULE_EXTERNALRSS;
+ // Dépendances
$this->depends = array();
+ $this->requiredby = array();
$this->const = array();
$this->boxes = array();
diff --git a/htdocs/includes/modules/modFacture.class.php b/htdocs/includes/modules/modFacture.class.php
index b6ed766ba0e..d2d32a7fcf5 100644
--- a/htdocs/includes/modules/modFacture.class.php
+++ b/htdocs/includes/modules/modFacture.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,13 +34,19 @@ class modFacture extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 30 ;
+
+ $this->family = "financial";
$this->name = "Factures";
$this->description = "Gestion des factures";
$this->const_name = "MAIN_MODULE_FACTURE";
$this->const_config = MAIN_MODULE_FACTURE;
+ // Dépendances
$this->depends = array("modSociete","modComptabilite");
+ $this->requiredby = array();
+
$this->config_page_url = "facture.php";
+
$this->const = array();
$this->boxes = array();
diff --git a/htdocs/includes/modules/modFicheinter.class.php b/htdocs/includes/modules/modFicheinter.class.php
index 8148cf0b884..5d594303ad5 100644
--- a/htdocs/includes/modules/modFicheinter.class.php
+++ b/htdocs/includes/modules/modFicheinter.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,14 +34,20 @@ class modFicheinter extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 70 ;
+
+ $this->family = "crm";
$this->name = "Fiche d'intervention";
$this->description = "Gestion des fiches d'intervention";
$this->const_name = "MAIN_MODULE_FICHEINTER";
$this->const_config = MAIN_MODULE_FICHEINTER;
- $this->depends = array("modSociete");
+ // Config pages
$this->config_page_url = "fichinter.php";
+ // Dépendances
+ $this->depends = array("modSociete");
+ $this->requiredby = array();
+
$this->const = array();
$this->boxes = array();
}
diff --git a/htdocs/includes/modules/modFournisseur.class.php b/htdocs/includes/modules/modFournisseur.class.php
index 0299e90090a..6d5761f816c 100644
--- a/htdocs/includes/modules/modFournisseur.class.php
+++ b/htdocs/includes/modules/modFournisseur.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,14 +35,16 @@ class modFournisseur extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 40 ;
- $this->nom = "Module fournisseur";
+ $this->family = "products";
$this->name = "Fournisseur";
$this->description = "Gestion des fournisseurs";
$this->const_name = "MAIN_MODULE_FOURNISSEUR";
$this->const_config = MAIN_MODULE_FOURNISSEUR;
+ // Dépendances
$this->depends = array("modSociete");
+ $this->requiredby = array();
$this->const = array();
$this->boxes = array();
diff --git a/htdocs/includes/modules/modLdap.class.php b/htdocs/includes/modules/modLdap.class.php
index 095d8d28c2a..94dbfe794b2 100644
--- a/htdocs/includes/modules/modLdap.class.php
+++ b/htdocs/includes/modules/modLdap.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -30,13 +31,20 @@ class modLdap extends DolibarrModules
Function modLdap($DB)
{
$this->db = $DB ;
+ $this->numero = 200 ;
$this->name = "Ldap";
+ $this->family = "technic";
$this->description = "Synchronisation Ldap";
$this->const_name = "MAIN_MODULE_LDAP";
$this->const_config = MAIN_MODULE_LDAP;
+
+ // Config pages
$this->config_page_url = "ldap.php";
+
+ // Dépendances
$this->depends = array();
+ $this->requiredby = array();
$this->const = array();
$this->boxes = array();
diff --git a/htdocs/includes/modules/modPostnuke.class.php b/htdocs/includes/modules/modPostnuke.class.php
index c493bff3b19..6e0c72579d3 100644
--- a/htdocs/includes/modules/modPostnuke.class.php
+++ b/htdocs/includes/modules/modPostnuke.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -32,13 +33,17 @@ class modPostnuke extends DolibarrModules
Function modPostnuke($DB)
{
$this->db = $DB ;
+ $this->numero = 210;
+ $this->family = "technic";
$this->name = "Postnuke";
$this->description = "Gestion de l'outil Postnuke";
$this->const_name = "MAIN_MODULE_POSTNUKE";
$this->const_config = MAIN_MODULE_POSTNUKE;
+ // Dépendances
$this->depends = array();
+ $this->requiredby = array();
$this->const = array();
$this->boxes = array();
diff --git a/htdocs/includes/modules/modProduit.class.php b/htdocs/includes/modules/modProduit.class.php
index 771097f113a..c3cc66fcd8a 100644
--- a/htdocs/includes/modules/modProduit.class.php
+++ b/htdocs/includes/modules/modProduit.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,11 +35,14 @@ class modProduit extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 50 ;
+
+ $this->family = "products";
$this->name = "Produit";
$this->description = "Gestion des produits";
$this->const_name = "MAIN_MODULE_PRODUIT";
$this->const_config = MAIN_MODULE_PRODUIT;
+ // Dépendances
$this->depends = array();
$this->requiredby = array("modStock","modService");
diff --git a/htdocs/includes/modules/modProjet.class.php b/htdocs/includes/modules/modProjet.class.php
index a16d2439e5d..1054aac04f6 100644
--- a/htdocs/includes/modules/modProjet.class.php
+++ b/htdocs/includes/modules/modProjet.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,13 +34,18 @@ class modProjet extends DolibarrModules
Function modProjet($DB)
{
$this->db = $DB ;
- $this->numero = 60 ;
+ $this->numero = 400 ;
+
+ $this->family = "projects";
$this->name = "Projets";
$this->description = "Gestion des projets";
$this->const_name = "MAIN_MODULE_PROJET";
$this->const_config = MAIN_MODULE_PROJET;
+ // Dépendances
$this->depends = array();
+ $this->requiredby = array();
+
$this->const = array();
$this->boxes = array();
}
diff --git a/htdocs/includes/modules/modPropale.class.php b/htdocs/includes/modules/modPropale.class.php
index 1c346c69cda..56f7e95d87b 100644
--- a/htdocs/includes/modules/modPropale.class.php
+++ b/htdocs/includes/modules/modPropale.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,11 +35,14 @@ class modPropale extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 20 ;
+
+ $this->family = "crm";
$this->name = "Propositions commerciales";
$this->description = "Gestion des propositions commerciales";
$this->const_name = "MAIN_MODULE_PROPALE";
$this->const_config = MAIN_MODULE_PROPALE;
+ // Dépendances
$this->depends = array("modSociete","modCommercial");
$this->config_page_url = "propale.php";
diff --git a/htdocs/includes/modules/modService.class.php b/htdocs/includes/modules/modService.class.php
index 9f250d8ad97..7ef1545ee0c 100644
--- a/htdocs/includes/modules/modService.class.php
+++ b/htdocs/includes/modules/modService.class.php
@@ -35,11 +35,14 @@ class modService extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 53 ;
+
+ $this->family = "products";
$this->name = "Service";
$this->description = "Gestion des services";
$this->const_name = "MAIN_MODULE_SERVICE";
$this->const_config = MAIN_MODULE_SERVICE;
+ // Dépendances
$this->depends = array("modProduit");
$this->requiredby = array("modContrat");
diff --git a/htdocs/includes/modules/modSociete.class.php b/htdocs/includes/modules/modSociete.class.php
index 005f58bd3b1..101e734daa4 100644
--- a/htdocs/includes/modules/modSociete.class.php
+++ b/htdocs/includes/modules/modSociete.class.php
@@ -34,13 +34,16 @@ class modSociete extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 1 ;
+
+ $this->family = "crm";
$this->name = "Module societe";
$this->description = "Module société";
$this->const_name = "MAIN_MODULE_SOCIETE";
$this->const_config = MAIN_MODULE_SOCIETE;
+ // Dépendances
$this->depends = array();
- $this->requiredby = array("modFacture","modFournisseur","modFicheinter","modPropale");
+ $this->requiredby = array("modFacture","modFournisseur","modFicheinter","modPropale","modContrat","modCommande");
$this->const = array();
$this->boxes = array();
diff --git a/htdocs/includes/modules/modStock.class.php b/htdocs/includes/modules/modStock.class.php
index e794404d817..e62d0f00218 100644
--- a/htdocs/includes/modules/modStock.class.php
+++ b/htdocs/includes/modules/modStock.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,12 +35,16 @@ class modStock extends DolibarrModules
{
$this->db = $DB ;
$this->numero = 52 ;
+
+ $this->family = "products";
$this->name = "Stock produits";
$this->description = "Gestion des stocks";
$this->const_name = "MAIN_MODULE_STOCK";
$this->const_config = MAIN_MODULE_STOCK;
+ // Dépendences
$this->depends = array("modProduit");
+ $this->requiredby = array();
$this->const = array();
$this->boxes = array();
diff --git a/htdocs/includes/modules/modWebcalendar.class.php b/htdocs/includes/modules/modWebcalendar.class.php
index ee25b4d4a5f..da1af0b8084 100644
--- a/htdocs/includes/modules/modWebcalendar.class.php
+++ b/htdocs/includes/modules/modWebcalendar.class.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,13 +34,20 @@ class modWebcalendar extends DolibarrModules
Function modWebcalendar($DB)
{
$this->db = $DB ;
+ $this->numero = 410 ;
+ $this->family = "projects";
$this->name = "Webcalendar";
$this->description = "Gestion de l'outil Webcalendar";
$this->const_name = "MAIN_MODULE_WEBCALENDAR";
$this->const_config = MAIN_MODULE_WEBCALENDAR;
+
+ // Config pages
$this->config_page_url = "webcalendar.php";
+
+ // Dépendences
$this->depends = array();
+ $this->requiredby = array();
$this->const = array();
$this->boxes = array();
|