On utilise syntaxe qui permet d'avoir plusieurs pages de config par modules, pour tous les modules

This commit is contained in:
Laurent Destailleur 2006-12-05 23:20:18 +00:00
parent bc32a64817
commit 41ee95bab4
25 changed files with 29 additions and 28 deletions

View File

@ -68,7 +68,7 @@ class modAdherent extends DolibarrModules
// Config pages // Config pages
//------------- //-------------
$this->config_page_url = "adherent.php"; $this->config_page_url = array("adherent.php");
// Dépendances // Dépendances
//------------ //------------

View File

@ -72,7 +72,7 @@ class modBarcode extends DolibarrModules
$this->requiredby = array(); $this->requiredby = array();
// Config pages // Config pages
$this->config_page_url = "barcode.php"; $this->config_page_url = array("barcode.php");
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -69,7 +69,7 @@ class modBookmark extends DolibarrModules
$this->requiredby = array(); $this->requiredby = array();
// Config pages // Config pages
//$this->config_page_url = ""; //$this->config_page_url = array();
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -69,7 +69,7 @@ class modBookmark4u extends DolibarrModules
$this->requiredby = array(); $this->requiredby = array();
// Config pages // Config pages
$this->config_page_url = ""; $this->config_page_url = array();
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -69,7 +69,7 @@ class modClickToDial extends DolibarrModules
$this->requiredby = array(); $this->requiredby = array();
// Config pages // Config pages
$this->config_page_url = "clicktodial.php"; $this->config_page_url = array("clicktodial.php");
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -65,7 +65,7 @@ class modCommande extends DolibarrModules
$this->dirs = array(); $this->dirs = array();
// Config pages // Config pages
$this->config_page_url = "commande.php"; $this->config_page_url = array("commande.php");
// Dépendances // Dépendances
$this->depends = array("modCommercial"); $this->depends = array("modCommercial");

View File

@ -65,7 +65,7 @@ class modComptabilite extends DolibarrModules
$this->picto=''; $this->picto='';
// Config pages // Config pages
$this->config_page_url = "compta.php"; $this->config_page_url = array("compta.php");
// Dépendances // Dépendances
$this->depends = array("modFacture","modBanque"); $this->depends = array("modFacture","modBanque");

View File

@ -66,7 +66,7 @@ class modComptabiliteExpert extends DolibarrModules
$this->special = 0; $this->special = 0;
// Config pages // Config pages
$this->config_page_url = "comptaexpert.php"; $this->config_page_url = array("comptaexpert.php");
// Dépendances // Dépendances
$this->depends = array("modFacture","modBanque"); $this->depends = array("modFacture","modBanque");

View File

@ -65,7 +65,7 @@ class modDeplacement extends DolibarrModules
$this->dirs = array(); $this->dirs = array();
// Config pages // Config pages
$this->config_page_url = ""; $this->config_page_url = array();
// Dépendances // Dépendances
$this->depends = array(); $this->depends = array();

View File

@ -66,7 +66,7 @@ class modDon extends DolibarrModules
$this->requiredby = array(); $this->requiredby = array();
// Config pages // Config pages
$this->config_page_url = "dons.php"; $this->config_page_url = array("dons.php");
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -67,14 +67,13 @@ class modEnergie extends DolibarrModules
// Dépendances // Dépendances
$this->depends = array(); $this->depends = array();
$this->config_page_url = "";
// Config pages
$this->config_page_url = array("energie.php");
// Constantes // Constantes
$this->const = array(); $this->const = array();
// Config pages
$this->config_page_url = "energie.php";
// Boxes // Boxes
$this->boxes = array(); $this->boxes = array();

View File

@ -63,7 +63,7 @@ class modExpedition extends DolibarrModules
$this->dirs = array(); $this->dirs = array();
// Config pages // Config pages
$this->config_page_url = "confexped.php"; $this->config_page_url = array("confexped.php");
// Dépendances // Dépendances
$this->depends = array("modCommande"); $this->depends = array("modCommande");

View File

@ -73,7 +73,7 @@ class modFacture extends DolibarrModules
$this->langfiles = array("bills","companies"); $this->langfiles = array("bills","companies");
// Config pages // Config pages
$this->config_page_url = "facture.php"; $this->config_page_url = array("facture.php");
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -60,7 +60,7 @@ class modFckeditor extends DolibarrModules
$this->dirs = array(); $this->dirs = array();
// Config pages // Config pages
$this->config_page_url = "fckeditor.php"; $this->config_page_url = array("fckeditor.php");
// Dépendances // Dépendances
$this->depends = array(); $this->depends = array();

View File

@ -68,7 +68,7 @@ class modFicheinter extends DolibarrModules
$this->dirs = array(); $this->dirs = array();
// Config pages // Config pages
$this->config_page_url = "fichinter.php"; $this->config_page_url = array("fichinter.php");
// Dépendances // Dépendances
$this->depends = array("modSociete"); $this->depends = array("modSociete");

View File

@ -71,7 +71,7 @@ class modFournisseur extends DolibarrModules
$this->langfiles = array("bills","companies","suppliers"); $this->langfiles = array("bills","companies","suppliers");
// Config pages // Config pages
$this->config_page_url = "fournisseur.php"; $this->config_page_url = array("fournisseur.php");
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -60,7 +60,7 @@ class modLdap extends DolibarrModules
$this->dirs = array(); $this->dirs = array();
// Config pages // Config pages
$this->config_page_url = "ldap.php"; $this->config_page_url = array("ldap.php");
// Dépendances // Dépendances
$this->depends = array(); $this->depends = array();

View File

@ -68,7 +68,7 @@ class modMailing extends DolibarrModules
$this->langfiles = array("mails"); $this->langfiles = array("mails");
// Config pages // Config pages
$this->config_page_url = "mailing.php"; $this->config_page_url = array("mailing.php");
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -68,7 +68,7 @@ class modNotification extends DolibarrModules
$this->langfiles = array("mails"); $this->langfiles = array("mails");
// Config pages // Config pages
$this->config_page_url = "notification.php"; $this->config_page_url = array("notification.php");
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -70,7 +70,9 @@ class modProduit extends DolibarrModules
// Dépendances // Dépendances
$this->depends = array(); $this->depends = array();
$this->requiredby = array("modStock","modService","modBarcode"); $this->requiredby = array("modStock","modService","modBarcode");
$this->config_page_url = "produit.php";
// Config pages
$this->config_page_url = array("produit.php");
$this->langfiles = array("products","companies"); $this->langfiles = array("products","companies");
// Constantes // Constantes

View File

@ -67,7 +67,7 @@ class modPropale extends DolibarrModules
// Dépendances // Dépendances
$this->depends = array("modSociete","modCommercial"); $this->depends = array("modSociete","modCommercial");
$this->config_page_url = "propale.php"; $this->config_page_url = array("propale.php");
// Constantes // Constantes
$this->const = array(); $this->const = array();

View File

@ -63,7 +63,7 @@ class modSociete extends DolibarrModules
$this->const_name = 'MAIN_MODULE_SOCIETE'; $this->const_name = 'MAIN_MODULE_SOCIETE';
$this->special = 0; $this->special = 0;
$this->config_page_url = "societe.php"; $this->config_page_url = array("societe.php");
$this->picto='company'; $this->picto='company';
// Dir // Dir

View File

@ -65,7 +65,7 @@ class modStock extends DolibarrModules
// Dir // Dir
$this->dirs = array(); $this->dirs = array();
$this->config_page_url = "stock.php"; $this->config_page_url = array("stock.php");
// Dépendences // Dépendences
$this->depends = array("modProduit"); $this->depends = array("modProduit");

View File

@ -63,7 +63,7 @@ class modSyslog extends DolibarrModules
$this->dirs = array(); $this->dirs = array();
// Config pages // Config pages
$this->config_page_url = "syslog.php"; $this->config_page_url = array("syslog.php");
// Dépendances // Dépendances
$this->depends = array(); $this->depends = array();

View File

@ -66,7 +66,7 @@ class modUser extends DolibarrModules
$this->dirs = array(); $this->dirs = array();
// Config pages // Config pages
// $this->config_page_url = "/user/admin/index.php"; // $this->config_page_url = array("/user/admin/index.php");
// Dépendances // Dépendances
$this->depends = array(); $this->depends = array();