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
//-------------
$this->config_page_url = "adherent.php";
$this->config_page_url = array("adherent.php");
// Dépendances
//------------

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -70,7 +70,9 @@ class modProduit extends DolibarrModules
// Dépendances
$this->depends = array();
$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");
// Constantes

View File

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

View File

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

View File

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

View File

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

View File

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