From 3a6271e7147ef73bb0fb225c2f8ba8b5225a1d9c Mon Sep 17 00:00:00 2001 From: philippe grand Date: Mon, 7 Sep 2015 15:29:51 +0200 Subject: [PATCH 1/5] translations missing --- htdocs/core/modules/modAdherent.class.php | 2 +- htdocs/core/modules/modBarcode.class.php | 2 +- htdocs/core/modules/modComptabilite.class.php | 2 +- htdocs/core/modules/modContrat.class.php | 2 +- htdocs/core/modules/modExpedition.class.php | 2 +- htdocs/core/modules/modExport.class.php | 2 +- htdocs/core/modules/modExternalRss.class.php | 2 +- htdocs/core/modules/modFckeditor.class.php | 2 +- htdocs/core/modules/modLoan.class.php | 2 +- htdocs/core/modules/modMailing.class.php | 2 +- htdocs/core/modules/modNotification.class.php | 2 +- htdocs/core/modules/modPrinting.class.php | 2 +- htdocs/core/modules/modSalaries.class.php | 2 +- htdocs/core/modules/modSociete.class.php | 2 +- htdocs/core/modules/modSyslog.class.php | 2 +- htdocs/core/modules/modTax.class.php | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/htdocs/core/modules/modAdherent.class.php b/htdocs/core/modules/modAdherent.class.php index 1090e8b6939..51230961be1 100644 --- a/htdocs/core/modules/modAdherent.class.php +++ b/htdocs/core/modules/modAdherent.class.php @@ -64,7 +64,7 @@ class modAdherent extends DolibarrModules //------------- $this->config_page_url = array("adherent.php@adherents"); - // Dependances + // Dependencies //------------ $this->depends = array(); $this->requiredby = array('modMailmanSpip'); diff --git a/htdocs/core/modules/modBarcode.class.php b/htdocs/core/modules/modBarcode.class.php index 07db8b55832..f28e6307e91 100644 --- a/htdocs/core/modules/modBarcode.class.php +++ b/htdocs/core/modules/modBarcode.class.php @@ -56,7 +56,7 @@ class modBarcode extends DolibarrModules // Data directories to create when module is enabled $this->dirs = array("/barcode/temp"); - // Dependances + // Dependencies $this->depends = array(); // May be used for product or service or third party module $this->requiredby = array(); diff --git a/htdocs/core/modules/modComptabilite.class.php b/htdocs/core/modules/modComptabilite.class.php index e23a04ce548..3581e4ab28b 100644 --- a/htdocs/core/modules/modComptabilite.class.php +++ b/htdocs/core/modules/modComptabilite.class.php @@ -62,7 +62,7 @@ class modComptabilite extends DolibarrModules // Config pages $this->config_page_url = array("compta.php"); - // Dependances + // Dependencies $this->depends = array("modFacture","modBanque"); $this->requiredby = array(); $this->conflictwith = array("modAccounting"); diff --git a/htdocs/core/modules/modContrat.class.php b/htdocs/core/modules/modContrat.class.php index 38a319e1f59..261cbd6414f 100644 --- a/htdocs/core/modules/modContrat.class.php +++ b/htdocs/core/modules/modContrat.class.php @@ -61,7 +61,7 @@ class modContrat extends DolibarrModules // Data directories to create when module is enabled $this->dirs = array("/contract/temp"); - // Dependances + // Dependencies $this->depends = array("modSociete"); $this->requiredby = array(); diff --git a/htdocs/core/modules/modExpedition.class.php b/htdocs/core/modules/modExpedition.class.php index 6e019849ae2..a8e85957ec2 100644 --- a/htdocs/core/modules/modExpedition.class.php +++ b/htdocs/core/modules/modExpedition.class.php @@ -73,7 +73,7 @@ class modExpedition extends DolibarrModules // Config pages $this->config_page_url = array("confexped.php"); - // Dependances + // Dependencies $this->depends = array("modCommande"); $this->requiredby = array(); $this->conflictwith = array(); diff --git a/htdocs/core/modules/modExport.class.php b/htdocs/core/modules/modExport.class.php index 634306ea4db..1144094f7a4 100644 --- a/htdocs/core/modules/modExport.class.php +++ b/htdocs/core/modules/modExport.class.php @@ -58,7 +58,7 @@ class modExport extends DolibarrModules // Config pages $this->config_page_url = array(); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->phpmin = array(4,2,0); diff --git a/htdocs/core/modules/modExternalRss.class.php b/htdocs/core/modules/modExternalRss.class.php index 60ed479b34b..9148160445c 100644 --- a/htdocs/core/modules/modExternalRss.class.php +++ b/htdocs/core/modules/modExternalRss.class.php @@ -60,7 +60,7 @@ class modExternalRss extends DolibarrModules // Config pages $this->config_page_url = array("external_rss.php"); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->phpmin = array(4,2,0); diff --git a/htdocs/core/modules/modFckeditor.class.php b/htdocs/core/modules/modFckeditor.class.php index 6a5932cca5a..78dcb3fef5d 100644 --- a/htdocs/core/modules/modFckeditor.class.php +++ b/htdocs/core/modules/modFckeditor.class.php @@ -61,7 +61,7 @@ class modFckeditor extends DolibarrModules // Config pages $this->config_page_url = array("fckeditor.php"); - // Dependances + // Dependencies $this->disabled = (in_array(constant('JS_CKEDITOR'),array('disabled','disabled/'))?1:0); // A condition to disable module (used for native debian packages) $this->depends = array(); $this->requiredby = array(); diff --git a/htdocs/core/modules/modLoan.class.php b/htdocs/core/modules/modLoan.class.php index 96139ee3fec..19d44ca11cc 100644 --- a/htdocs/core/modules/modLoan.class.php +++ b/htdocs/core/modules/modLoan.class.php @@ -63,7 +63,7 @@ class modLoan extends DolibarrModules // Config pages $this->config_page_url = array('loan.php'); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->conflictwith = array(); diff --git a/htdocs/core/modules/modMailing.class.php b/htdocs/core/modules/modMailing.class.php index 9930168a218..943b53eccee 100644 --- a/htdocs/core/modules/modMailing.class.php +++ b/htdocs/core/modules/modMailing.class.php @@ -56,7 +56,7 @@ class modMailing extends DolibarrModules // Data directories to create when module is enabled $this->dirs = array("/mailing/temp"); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->langfiles = array("mails"); diff --git a/htdocs/core/modules/modNotification.class.php b/htdocs/core/modules/modNotification.class.php index 74d7e6dfbcc..52188dcd62a 100644 --- a/htdocs/core/modules/modNotification.class.php +++ b/htdocs/core/modules/modNotification.class.php @@ -53,7 +53,7 @@ class modNotification extends DolibarrModules // Data directories to create when module is enabled. $this->dirs = array(); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->langfiles = array("mails"); diff --git a/htdocs/core/modules/modPrinting.class.php b/htdocs/core/modules/modPrinting.class.php index 26537f97927..3df3c3ce0ea 100644 --- a/htdocs/core/modules/modPrinting.class.php +++ b/htdocs/core/modules/modPrinting.class.php @@ -66,7 +66,7 @@ class modPrinting extends DolibarrModules // Config pages $this->config_page_url = array("printing.php@printing"); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->phpmin = array(5,1); // Minimum version of PHP required by module diff --git a/htdocs/core/modules/modSalaries.class.php b/htdocs/core/modules/modSalaries.class.php index b4e349d7560..cb6c588ddbf 100644 --- a/htdocs/core/modules/modSalaries.class.php +++ b/htdocs/core/modules/modSalaries.class.php @@ -69,7 +69,7 @@ class modSalaries extends DolibarrModules // Config pages $this->config_page_url = array('salaries.php'); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->conflictwith = array(); diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php index 29eb7d62447..b4ece9e35ab 100644 --- a/htdocs/core/modules/modSociete.class.php +++ b/htdocs/core/modules/modSociete.class.php @@ -65,7 +65,7 @@ class modSociete extends DolibarrModules // Data directories to create when module is enabled $this->dirs = array("/societe/temp"); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array("modExpedition","modFacture","modFournisseur","modFicheinter","modPropale","modContrat","modCommande"); $this->langfiles = array("companies"); diff --git a/htdocs/core/modules/modSyslog.class.php b/htdocs/core/modules/modSyslog.class.php index a635e8f2fdc..ae55cc1ab59 100644 --- a/htdocs/core/modules/modSyslog.class.php +++ b/htdocs/core/modules/modSyslog.class.php @@ -66,7 +66,7 @@ class modSyslog extends DolibarrModules // Config pages $this->config_page_url = array("syslog.php"); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array(); diff --git a/htdocs/core/modules/modTax.class.php b/htdocs/core/modules/modTax.class.php index 9e8ee7908d7..844c61ddf8b 100644 --- a/htdocs/core/modules/modTax.class.php +++ b/htdocs/core/modules/modTax.class.php @@ -67,7 +67,7 @@ class modTax extends DolibarrModules // Config pages $this->config_page_url = array("taxes.php"); - // Dependances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->conflictwith = array(); From 887a4107a1201c18bde3166a233da2c0d7f23e65 Mon Sep 17 00:00:00 2001 From: philippe grand Date: Mon, 7 Sep 2015 15:40:55 +0200 Subject: [PATCH 2/5] translations missing --- htdocs/core/modules/modAdherent.class.php | 2 +- htdocs/core/modules/modAgenda.class.php | 2 +- htdocs/core/modules/modBookmark.class.php | 2 +- htdocs/core/modules/modCashDesk.class.php | 2 +- htdocs/core/modules/modCategorie.class.php | 2 +- htdocs/core/modules/modCommande.class.php | 2 +- htdocs/core/modules/modComptabilite.class.php | 2 +- htdocs/core/modules/modContrat.class.php | 2 +- htdocs/core/modules/modCron.class.php | 2 +- htdocs/core/modules/modDocumentGeneration.class.php | 2 +- htdocs/core/modules/modDynamicPrices.class.php | 2 +- htdocs/core/modules/modExpedition.class.php | 2 +- htdocs/core/modules/modExport.class.php | 2 +- htdocs/core/modules/modExternalRss.class.php | 2 +- htdocs/core/modules/modFacture.class.php | 2 +- htdocs/core/modules/modFckeditor.class.php | 2 +- htdocs/core/modules/modFicheinter.class.php | 2 +- htdocs/core/modules/modGeoIPMaxmind.class.php | 4 ++-- htdocs/core/modules/modImport.class.php | 4 ++-- htdocs/core/modules/modMailing.class.php | 2 +- htdocs/core/modules/modNotification.class.php | 2 +- htdocs/core/modules/modPrelevement.class.php | 2 +- htdocs/core/modules/modPrinting.class.php | 2 +- htdocs/core/modules/modSkype.class.php | 2 +- htdocs/core/modules/modSociete.class.php | 2 +- htdocs/core/modules/modSyncSupplierWebServices.class.php | 2 +- htdocs/core/modules/modSyslog.class.php | 2 +- htdocs/core/modules/modTax.class.php | 2 +- htdocs/core/modules/modWebServices.class.php | 2 +- 29 files changed, 31 insertions(+), 31 deletions(-) diff --git a/htdocs/core/modules/modAdherent.class.php b/htdocs/core/modules/modAdherent.class.php index 51230961be1..8f946eac4cb 100644 --- a/htdocs/core/modules/modAdherent.class.php +++ b/htdocs/core/modules/modAdherent.class.php @@ -70,7 +70,7 @@ class modAdherent extends DolibarrModules $this->requiredby = array('modMailmanSpip'); $this->langfiles = array("members","companies"); - // Constantes + // Constants //----------- $this->const = array(); $this->const[2] = array("MAIN_SEARCHFORM_ADHERENT","yesno","1","Show form for quick member search"); diff --git a/htdocs/core/modules/modAgenda.class.php b/htdocs/core/modules/modAgenda.class.php index 819ee0c1206..31ca8dcd048 100644 --- a/htdocs/core/modules/modAgenda.class.php +++ b/htdocs/core/modules/modAgenda.class.php @@ -72,7 +72,7 @@ class modAgenda extends DolibarrModules $this->requiredby = array(); $this->langfiles = array("companies"); - // Constantes + // Constants //----------- $this->const = array(); $this->const[15] = array("MAIN_AGENDA_ACTIONAUTO_COMPANY_SENTBYMAIL","chaine","1"); diff --git a/htdocs/core/modules/modBookmark.class.php b/htdocs/core/modules/modBookmark.class.php index a6585e14d54..95aabb255fc 100644 --- a/htdocs/core/modules/modBookmark.class.php +++ b/htdocs/core/modules/modBookmark.class.php @@ -66,7 +66,7 @@ class modBookmark extends DolibarrModules // Config pages $this->config_page_url = array('bookmark.php@bookmarks'); - // Constantes + // Constants $this->const = array(); // Boites diff --git a/htdocs/core/modules/modCashDesk.class.php b/htdocs/core/modules/modCashDesk.class.php index 9b256162597..a76531cd719 100644 --- a/htdocs/core/modules/modCashDesk.class.php +++ b/htdocs/core/modules/modCashDesk.class.php @@ -70,7 +70,7 @@ class modCashDesk extends DolibarrModules $this->need_dolibarr_version = array(2,4); // Minimum version of Dolibarr required by module $this->langfiles = array("cashdesk"); - // Constantes + // Constants $this->const = array(); // Boxes diff --git a/htdocs/core/modules/modCategorie.class.php b/htdocs/core/modules/modCategorie.class.php index e9efbcbe732..ae4f3a44498 100644 --- a/htdocs/core/modules/modCategorie.class.php +++ b/htdocs/core/modules/modCategorie.class.php @@ -66,7 +66,7 @@ class modCategorie extends DolibarrModules $this->config_page_url = array('categorie.php@categories'); $this->langfiles = array("products","companies","categories"); - // Constantes + // Constants $this->const = array(); $r=0; $this->const[$r][0] = "CATEGORIE_RECURSIV_ADD"; diff --git a/htdocs/core/modules/modCommande.class.php b/htdocs/core/modules/modCommande.class.php index 4289bd54932..411463e4137 100644 --- a/htdocs/core/modules/modCommande.class.php +++ b/htdocs/core/modules/modCommande.class.php @@ -73,7 +73,7 @@ class modCommande extends DolibarrModules $this->conflictwith = array(); $this->langfiles = array('orders', 'bills', 'companies','products', 'deliveries'); - // Constantes + // Constants $this->const = array(); $r=0; diff --git a/htdocs/core/modules/modComptabilite.class.php b/htdocs/core/modules/modComptabilite.class.php index 3581e4ab28b..d71ca5f4920 100644 --- a/htdocs/core/modules/modComptabilite.class.php +++ b/htdocs/core/modules/modComptabilite.class.php @@ -68,7 +68,7 @@ class modComptabilite extends DolibarrModules $this->conflictwith = array("modAccounting"); $this->langfiles = array("compta"); - // Constantes + // Constants $this->const = array(); // Data directories to create when module is enabled diff --git a/htdocs/core/modules/modContrat.class.php b/htdocs/core/modules/modContrat.class.php index 261cbd6414f..55095a619e7 100644 --- a/htdocs/core/modules/modContrat.class.php +++ b/htdocs/core/modules/modContrat.class.php @@ -68,7 +68,7 @@ class modContrat extends DolibarrModules // Config pages $this->config_page_url = array("contract.php"); - // Constantes + // Constants $this->const = array(); $this->const[0][0] = "CONTRACT_ADDON"; $this->const[0][1] = "chaine"; diff --git a/htdocs/core/modules/modCron.class.php b/htdocs/core/modules/modCron.class.php index 90d17882672..86dbb021f26 100644 --- a/htdocs/core/modules/modCron.class.php +++ b/htdocs/core/modules/modCron.class.php @@ -73,7 +73,7 @@ class modCron extends DolibarrModules $this->conflictwith = array(); // List of modules id this module is in conflict with $this->langfiles = array("cron"); - // Constantes + // Constants //----------- $this->const = array( 0=>array( diff --git a/htdocs/core/modules/modDocumentGeneration.class.php b/htdocs/core/modules/modDocumentGeneration.class.php index c312cc37b5a..9482fc682a2 100644 --- a/htdocs/core/modules/modDocumentGeneration.class.php +++ b/htdocs/core/modules/modDocumentGeneration.class.php @@ -67,7 +67,7 @@ class modDocumentGeneration extends DolibarrModules $this->conflictwith = array(); $this->langfiles = array("orders","bills","companies","mails"); - // Constantes + // Constants $this->const = array(); diff --git a/htdocs/core/modules/modDynamicPrices.class.php b/htdocs/core/modules/modDynamicPrices.class.php index 78f56a76ab4..4e5cd3a3f62 100644 --- a/htdocs/core/modules/modDynamicPrices.class.php +++ b/htdocs/core/modules/modDynamicPrices.class.php @@ -66,7 +66,7 @@ class modDynamicPrices extends DolibarrModules $this->requiredby = array(); $this->langfiles = array("other"); - // Constantes + // Constants //----------- $this->const = array(); diff --git a/htdocs/core/modules/modExpedition.class.php b/htdocs/core/modules/modExpedition.class.php index a8e85957ec2..e377e0d10ed 100644 --- a/htdocs/core/modules/modExpedition.class.php +++ b/htdocs/core/modules/modExpedition.class.php @@ -79,7 +79,7 @@ class modExpedition extends DolibarrModules $this->conflictwith = array(); $this->langfiles = array('deliveries','sendings'); - // Constantes + // Constants $this->const = array(); $r=0; diff --git a/htdocs/core/modules/modExport.class.php b/htdocs/core/modules/modExport.class.php index 1144094f7a4..2e02cc21b4c 100644 --- a/htdocs/core/modules/modExport.class.php +++ b/htdocs/core/modules/modExport.class.php @@ -64,7 +64,7 @@ class modExport extends DolibarrModules $this->phpmin = array(4,2,0); $this->phpmax = array(); - // Constantes + // Constants $this->const = array(); // Boxes diff --git a/htdocs/core/modules/modExternalRss.class.php b/htdocs/core/modules/modExternalRss.class.php index 9148160445c..7c2a99fd4b8 100644 --- a/htdocs/core/modules/modExternalRss.class.php +++ b/htdocs/core/modules/modExternalRss.class.php @@ -66,7 +66,7 @@ class modExternalRss extends DolibarrModules $this->phpmin = array(4,2,0); $this->phpmax = array(); - // Constantes + // Constants $this->const = array(); // Boxes diff --git a/htdocs/core/modules/modFacture.class.php b/htdocs/core/modules/modFacture.class.php index 54363bc9d80..5a175e8569a 100644 --- a/htdocs/core/modules/modFacture.class.php +++ b/htdocs/core/modules/modFacture.class.php @@ -71,7 +71,7 @@ class modFacture extends DolibarrModules // Config pages $this->config_page_url = array("facture.php"); - // Constantes + // Constants $this->const = array(); $r=0; diff --git a/htdocs/core/modules/modFckeditor.class.php b/htdocs/core/modules/modFckeditor.class.php index 78dcb3fef5d..87f86b17c2b 100644 --- a/htdocs/core/modules/modFckeditor.class.php +++ b/htdocs/core/modules/modFckeditor.class.php @@ -66,7 +66,7 @@ class modFckeditor extends DolibarrModules $this->depends = array(); $this->requiredby = array(); - // Constantes + // Constants $this->const = array(); $this->const[0] = array("FCKEDITOR_ENABLE_SOCIETE","yesno","1","WYSIWIG for description and note (except products/services)"); $this->const[1] = array("FCKEDITOR_ENABLE_PRODUCTDESC","yesno","1","WYSIWIG for products/services description and note"); diff --git a/htdocs/core/modules/modFicheinter.class.php b/htdocs/core/modules/modFicheinter.class.php index 91a672fb669..c0c000ad07d 100644 --- a/htdocs/core/modules/modFicheinter.class.php +++ b/htdocs/core/modules/modFicheinter.class.php @@ -73,7 +73,7 @@ class modFicheinter extends DolibarrModules // Config pages $this->config_page_url = array("fichinter.php"); - // Constantes + // Constants $this->const = array(); $r=0; diff --git a/htdocs/core/modules/modGeoIPMaxmind.class.php b/htdocs/core/modules/modGeoIPMaxmind.class.php index 164d89243b8..e5d916aab28 100644 --- a/htdocs/core/modules/modGeoIPMaxmind.class.php +++ b/htdocs/core/modules/modGeoIPMaxmind.class.php @@ -66,7 +66,7 @@ class modGeoIPMaxmind extends DolibarrModules // Config pages $this->config_page_url = array("geoipmaxmind.php"); - // D�pendances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->phpmin = array(4,2,0); @@ -74,7 +74,7 @@ class modGeoIPMaxmind extends DolibarrModules $this->need_dolibarr_version = array(2,7,-1); // Minimum version of Dolibarr required by module $this->need_javascript_ajax = 1; - // Constantes + // Constants $this->const = array(); // Boxes diff --git a/htdocs/core/modules/modImport.class.php b/htdocs/core/modules/modImport.class.php index 5ac3b8928db..1edc375d519 100644 --- a/htdocs/core/modules/modImport.class.php +++ b/htdocs/core/modules/modImport.class.php @@ -59,7 +59,7 @@ class modImport extends DolibarrModules // Config pages $this->config_page_url = array(); - // D�pendances + // Dependencies $this->depends = array(); $this->requiredby = array(); $this->phpmin = array(4,3,0); // Need auto_detect_line_endings php option to solve MAC pbs. @@ -67,7 +67,7 @@ class modImport extends DolibarrModules $this->need_dolibarr_version = array(2,7,-1); // Minimum version of Dolibarr required by module $this->need_javascript_ajax = 1; - // Constantes + // Constants $this->const = array(); // Boxes diff --git a/htdocs/core/modules/modMailing.class.php b/htdocs/core/modules/modMailing.class.php index 943b53eccee..d99f15d83bd 100644 --- a/htdocs/core/modules/modMailing.class.php +++ b/htdocs/core/modules/modMailing.class.php @@ -64,7 +64,7 @@ class modMailing extends DolibarrModules // Config pages $this->config_page_url = array("mailing.php"); - // Constantes + // Constants $this->const = array(); // Boites diff --git a/htdocs/core/modules/modNotification.class.php b/htdocs/core/modules/modNotification.class.php index 52188dcd62a..33d3aa031e3 100644 --- a/htdocs/core/modules/modNotification.class.php +++ b/htdocs/core/modules/modNotification.class.php @@ -61,7 +61,7 @@ class modNotification extends DolibarrModules // Config pages $this->config_page_url = array("notification.php"); - // Constantes + // Constants $this->const = array(); // Boites diff --git a/htdocs/core/modules/modPrelevement.class.php b/htdocs/core/modules/modPrelevement.class.php index 84bd19712df..61950ecdf01 100644 --- a/htdocs/core/modules/modPrelevement.class.php +++ b/htdocs/core/modules/modPrelevement.class.php @@ -70,7 +70,7 @@ class modPrelevement extends DolibarrModules // Config pages $this->config_page_url = array("prelevement.php"); - // Constantes + // Constants $this->const = array(); // Boites diff --git a/htdocs/core/modules/modPrinting.class.php b/htdocs/core/modules/modPrinting.class.php index 3df3c3ce0ea..a02e8fa0345 100644 --- a/htdocs/core/modules/modPrinting.class.php +++ b/htdocs/core/modules/modPrinting.class.php @@ -74,7 +74,7 @@ class modPrinting extends DolibarrModules $this->conflictwith = array(); $this->langfiles = array("printing"); - // Constantes + // Constants $this->const = array(); // Boxes diff --git a/htdocs/core/modules/modSkype.class.php b/htdocs/core/modules/modSkype.class.php index 68b7619253b..280b871e475 100644 --- a/htdocs/core/modules/modSkype.class.php +++ b/htdocs/core/modules/modSkype.class.php @@ -71,7 +71,7 @@ class modSkype extends DolibarrModules $this->conflictwith = array(); // List of modules id this module is in conflict with $this->langfiles = array(); - // Constantes + // Constants //----------- diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php index b4ece9e35ab..5cb30275199 100644 --- a/htdocs/core/modules/modSociete.class.php +++ b/htdocs/core/modules/modSociete.class.php @@ -70,7 +70,7 @@ class modSociete extends DolibarrModules $this->requiredby = array("modExpedition","modFacture","modFournisseur","modFicheinter","modPropale","modContrat","modCommande"); $this->langfiles = array("companies"); - // Constantes + // Constants $this->const = array(); $r=0; diff --git a/htdocs/core/modules/modSyncSupplierWebServices.class.php b/htdocs/core/modules/modSyncSupplierWebServices.class.php index b87d7d9ecd5..96403f67ee4 100644 --- a/htdocs/core/modules/modSyncSupplierWebServices.class.php +++ b/htdocs/core/modules/modSyncSupplierWebServices.class.php @@ -65,7 +65,7 @@ class modSyncSupplierWebServices extends DolibarrModules $this->requiredby = array(); $this->langfiles = array("other"); - // Constantes + // Constants //----------- $this->const = array(); diff --git a/htdocs/core/modules/modSyslog.class.php b/htdocs/core/modules/modSyslog.class.php index ae55cc1ab59..57a7010a4a6 100644 --- a/htdocs/core/modules/modSyslog.class.php +++ b/htdocs/core/modules/modSyslog.class.php @@ -70,7 +70,7 @@ class modSyslog extends DolibarrModules $this->depends = array(); $this->requiredby = array(); - // Constantes + // Constants $this->const = array(); // Boites diff --git a/htdocs/core/modules/modTax.class.php b/htdocs/core/modules/modTax.class.php index 844c61ddf8b..26c8d831d85 100644 --- a/htdocs/core/modules/modTax.class.php +++ b/htdocs/core/modules/modTax.class.php @@ -73,7 +73,7 @@ class modTax extends DolibarrModules $this->conflictwith = array(); $this->langfiles = array("compta","bills"); - // Constantes + // Constants $this->const = array(); // Boites diff --git a/htdocs/core/modules/modWebServices.class.php b/htdocs/core/modules/modWebServices.class.php index a22e5a5be64..d7b5edb106d 100644 --- a/htdocs/core/modules/modWebServices.class.php +++ b/htdocs/core/modules/modWebServices.class.php @@ -65,7 +65,7 @@ class modWebServices extends DolibarrModules $this->requiredby = array(); $this->langfiles = array("other"); - // Constantes + // Constants //----------- $this->const = array(); From 9532baf0e5bb71fa912ffbb7f03161f4e9bbf423 Mon Sep 17 00:00:00 2001 From: philippe grand Date: Mon, 7 Sep 2015 15:46:57 +0200 Subject: [PATCH 3/5] translations missing --- htdocs/core/modules/modBanque.class.php | 2 +- htdocs/core/modules/modBookmark.class.php | 2 +- htdocs/core/modules/modComptabilite.class.php | 2 +- htdocs/core/modules/modDocumentGeneration.class.php | 2 +- htdocs/core/modules/modFckeditor.class.php | 2 +- htdocs/core/modules/modLdap.class.php | 2 +- htdocs/core/modules/modMailing.class.php | 2 +- htdocs/core/modules/modNotification.class.php | 2 +- htdocs/core/modules/modPrelevement.class.php | 2 +- htdocs/core/modules/modSyslog.class.php | 2 +- htdocs/core/modules/modTax.class.php | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/htdocs/core/modules/modBanque.class.php b/htdocs/core/modules/modBanque.class.php index 9222a38ff26..8c680fcfefb 100644 --- a/htdocs/core/modules/modBanque.class.php +++ b/htdocs/core/modules/modBanque.class.php @@ -76,7 +76,7 @@ class modBanque extends DolibarrModules // Constants $this->const = array(); - // Boites + // Boxes $this->boxes = array(0=>array('file'=>'box_comptes.php','enabledbydefaulton'=>'Home')); // Permissions diff --git a/htdocs/core/modules/modBookmark.class.php b/htdocs/core/modules/modBookmark.class.php index 95aabb255fc..723ecaac4fa 100644 --- a/htdocs/core/modules/modBookmark.class.php +++ b/htdocs/core/modules/modBookmark.class.php @@ -69,7 +69,7 @@ class modBookmark extends DolibarrModules // Constants $this->const = array(); - // Boites + // Boxes $this->boxes = array(0=>array('file'=>'box_bookmarks.php','enabledbydefaulton'=>'Home')); // Permissions diff --git a/htdocs/core/modules/modComptabilite.class.php b/htdocs/core/modules/modComptabilite.class.php index d71ca5f4920..6ad972248c6 100644 --- a/htdocs/core/modules/modComptabilite.class.php +++ b/htdocs/core/modules/modComptabilite.class.php @@ -78,7 +78,7 @@ class modComptabilite extends DolibarrModules "/comptabilite/bordereau" ); - // Boites + // Boxes $this->boxes = array(); // Permissions diff --git a/htdocs/core/modules/modDocumentGeneration.class.php b/htdocs/core/modules/modDocumentGeneration.class.php index 9482fc682a2..2069a97ae1d 100644 --- a/htdocs/core/modules/modDocumentGeneration.class.php +++ b/htdocs/core/modules/modDocumentGeneration.class.php @@ -71,7 +71,7 @@ class modDocumentGeneration extends DolibarrModules $this->const = array(); - // Boites + // Boxes $this->boxes = array(); // Permissions diff --git a/htdocs/core/modules/modFckeditor.class.php b/htdocs/core/modules/modFckeditor.class.php index 87f86b17c2b..be0143eb191 100644 --- a/htdocs/core/modules/modFckeditor.class.php +++ b/htdocs/core/modules/modFckeditor.class.php @@ -75,7 +75,7 @@ class modFckeditor extends DolibarrModules $this->const[4] = array("FCKEDITOR_ENABLE_USERSIGN","yesno","1","WYSIWIG for user signature"); $this->const[5] = array("FCKEDITOR_ENABLE_MAIL","yesno","1","WYSIWIG for products details lines for all entities"); - // Boites + // Boxes $this->boxes = array(); // Permissions diff --git a/htdocs/core/modules/modLdap.class.php b/htdocs/core/modules/modLdap.class.php index cb2ad24fef4..cd858536572 100644 --- a/htdocs/core/modules/modLdap.class.php +++ b/htdocs/core/modules/modLdap.class.php @@ -83,7 +83,7 @@ class modLdap extends DolibarrModules 13=>array('LDAP_FIELD_MOBILE','chaine','mobile','',0), ); - // Boites + // Boxes $this->boxes = array(); // Permissions diff --git a/htdocs/core/modules/modMailing.class.php b/htdocs/core/modules/modMailing.class.php index d99f15d83bd..8ad107d7fd6 100644 --- a/htdocs/core/modules/modMailing.class.php +++ b/htdocs/core/modules/modMailing.class.php @@ -67,7 +67,7 @@ class modMailing extends DolibarrModules // Constants $this->const = array(); - // Boites + // Boxes $this->boxes = array(); // Permissions diff --git a/htdocs/core/modules/modNotification.class.php b/htdocs/core/modules/modNotification.class.php index 33d3aa031e3..465e69f3a43 100644 --- a/htdocs/core/modules/modNotification.class.php +++ b/htdocs/core/modules/modNotification.class.php @@ -64,7 +64,7 @@ class modNotification extends DolibarrModules // Constants $this->const = array(); - // Boites + // Boxes $this->boxes = array(); // Permissions diff --git a/htdocs/core/modules/modPrelevement.class.php b/htdocs/core/modules/modPrelevement.class.php index 61950ecdf01..8f845805032 100644 --- a/htdocs/core/modules/modPrelevement.class.php +++ b/htdocs/core/modules/modPrelevement.class.php @@ -73,7 +73,7 @@ class modPrelevement extends DolibarrModules // Constants $this->const = array(); - // Boites + // Boxes $this->boxes = array(); // Permissions diff --git a/htdocs/core/modules/modSyslog.class.php b/htdocs/core/modules/modSyslog.class.php index 57a7010a4a6..fc8ad99abf8 100644 --- a/htdocs/core/modules/modSyslog.class.php +++ b/htdocs/core/modules/modSyslog.class.php @@ -73,7 +73,7 @@ class modSyslog extends DolibarrModules // Constants $this->const = array(); - // Boites + // Boxes $this->boxes = array(); // Permissions diff --git a/htdocs/core/modules/modTax.class.php b/htdocs/core/modules/modTax.class.php index 26c8d831d85..97315e77cfb 100644 --- a/htdocs/core/modules/modTax.class.php +++ b/htdocs/core/modules/modTax.class.php @@ -76,7 +76,7 @@ class modTax extends DolibarrModules // Constants $this->const = array(); - // Boites + // Boxes $this->boxes = array(); // Permissions From ec21916d3b0edf2f1905204a471ea78c55c5d045 Mon Sep 17 00:00:00 2001 From: philippe grand Date: Mon, 7 Sep 2015 15:55:26 +0200 Subject: [PATCH 4/5] translations missing --- htdocs/core/modules/modAdherent.class.php | 2 +- htdocs/core/modules/modAskPriceSupplier.class.php | 2 +- htdocs/core/modules/modBanque.class.php | 2 +- htdocs/core/modules/modBookmark.class.php | 2 +- htdocs/core/modules/modCategorie.class.php | 2 +- htdocs/core/modules/modClickToDial.class.php | 2 +- htdocs/core/modules/modComptabilite.class.php | 2 +- htdocs/core/modules/modContrat.class.php | 2 +- htdocs/core/modules/modDeplacement.class.php | 2 +- htdocs/core/modules/modDocumentGeneration.class.php | 2 +- htdocs/core/modules/modExpedition.class.php | 2 +- htdocs/core/modules/modExport.class.php | 2 +- htdocs/core/modules/modExternalRss.class.php | 2 +- htdocs/core/modules/modFckeditor.class.php | 2 +- htdocs/core/modules/modFicheinter.class.php | 2 +- htdocs/core/modules/modGeoIPMaxmind.class.php | 2 +- htdocs/core/modules/modImport.class.php | 2 +- htdocs/core/modules/modLabel.class.php | 2 +- htdocs/core/modules/modLdap.class.php | 2 +- htdocs/core/modules/modMailing.class.php | 2 +- htdocs/core/modules/modMailmanSpip.class.php | 2 +- htdocs/core/modules/modNotification.class.php | 2 +- htdocs/core/modules/modPrelevement.class.php | 2 +- htdocs/core/modules/modProjet.class.php | 2 +- htdocs/core/modules/modPropale.class.php | 2 +- htdocs/core/modules/modService.class.php | 2 +- htdocs/core/modules/modSociete.class.php | 2 +- htdocs/core/modules/modStock.class.php | 2 +- htdocs/core/modules/modTax.class.php | 2 +- htdocs/core/modules/modUser.class.php | 2 +- htdocs/core/modules/modWorkflow.class.php | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/htdocs/core/modules/modAdherent.class.php b/htdocs/core/modules/modAdherent.class.php index 8f946eac4cb..ebc9694af3a 100644 --- a/htdocs/core/modules/modAdherent.class.php +++ b/htdocs/core/modules/modAdherent.class.php @@ -31,7 +31,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Adherent + * Class to describe and enable module Adherent */ class modAdherent extends DolibarrModules { diff --git a/htdocs/core/modules/modAskPriceSupplier.class.php b/htdocs/core/modules/modAskPriceSupplier.class.php index 23d4fb20f42..7c536e33a6f 100644 --- a/htdocs/core/modules/modAskPriceSupplier.class.php +++ b/htdocs/core/modules/modAskPriceSupplier.class.php @@ -31,7 +31,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module AskPriceSupllier + * Class to describe and enable module AskPriceSupllier */ class modAskPriceSupplier extends DolibarrModules { diff --git a/htdocs/core/modules/modBanque.class.php b/htdocs/core/modules/modBanque.class.php index 8c680fcfefb..0441cc257b3 100644 --- a/htdocs/core/modules/modBanque.class.php +++ b/htdocs/core/modules/modBanque.class.php @@ -31,7 +31,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Banque + * Class to describe and enable module Banque */ class modBanque extends DolibarrModules { diff --git a/htdocs/core/modules/modBookmark.class.php b/htdocs/core/modules/modBookmark.class.php index 723ecaac4fa..5614ceb53ab 100644 --- a/htdocs/core/modules/modBookmark.class.php +++ b/htdocs/core/modules/modBookmark.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Bookmark + * Class to describe and enable module Bookmark */ class modBookmark extends DolibarrModules { diff --git a/htdocs/core/modules/modCategorie.class.php b/htdocs/core/modules/modCategorie.class.php index ae4f3a44498..5e44e6891d5 100644 --- a/htdocs/core/modules/modCategorie.class.php +++ b/htdocs/core/modules/modCategorie.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Categorie + * Class to describe and enable module Categorie */ class modCategorie extends DolibarrModules { diff --git a/htdocs/core/modules/modClickToDial.class.php b/htdocs/core/modules/modClickToDial.class.php index 518cafa35a4..c0983cc1a8b 100644 --- a/htdocs/core/modules/modClickToDial.class.php +++ b/htdocs/core/modules/modClickToDial.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module de Click to Dial + * Class to describe and enable module Click to Dial */ class modClickToDial extends DolibarrModules { diff --git a/htdocs/core/modules/modComptabilite.class.php b/htdocs/core/modules/modComptabilite.class.php index 6ad972248c6..26aea67d1d0 100644 --- a/htdocs/core/modules/modComptabilite.class.php +++ b/htdocs/core/modules/modComptabilite.class.php @@ -30,7 +30,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Comptabilite + * Class to describe and enable module Comptabilite */ class modComptabilite extends DolibarrModules { diff --git a/htdocs/core/modules/modContrat.class.php b/htdocs/core/modules/modContrat.class.php index 55095a619e7..d298c5aa182 100644 --- a/htdocs/core/modules/modContrat.class.php +++ b/htdocs/core/modules/modContrat.class.php @@ -29,7 +29,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Contrat + * Class to describe and enable module Contrat */ class modContrat extends DolibarrModules { diff --git a/htdocs/core/modules/modDeplacement.class.php b/htdocs/core/modules/modDeplacement.class.php index 08f21ae6c63..e4db402e93e 100644 --- a/htdocs/core/modules/modDeplacement.class.php +++ b/htdocs/core/modules/modDeplacement.class.php @@ -27,7 +27,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Deplacement + * Class to describe and enable module Deplacement */ class modDeplacement extends DolibarrModules { diff --git a/htdocs/core/modules/modDocumentGeneration.class.php b/htdocs/core/modules/modDocumentGeneration.class.php index 2069a97ae1d..e64115df9ac 100644 --- a/htdocs/core/modules/modDocumentGeneration.class.php +++ b/htdocs/core/modules/modDocumentGeneration.class.php @@ -29,7 +29,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Document + * Class to describe and enable module Document */ class modDocumentGeneration extends DolibarrModules { diff --git a/htdocs/core/modules/modExpedition.class.php b/htdocs/core/modules/modExpedition.class.php index e377e0d10ed..54ac91d00cd 100644 --- a/htdocs/core/modules/modExpedition.class.php +++ b/htdocs/core/modules/modExpedition.class.php @@ -31,7 +31,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Expedition + * Class to describe and enable module Expedition */ class modExpedition extends DolibarrModules { diff --git a/htdocs/core/modules/modExport.class.php b/htdocs/core/modules/modExport.class.php index 2e02cc21b4c..d57657c3204 100644 --- a/htdocs/core/modules/modExport.class.php +++ b/htdocs/core/modules/modExport.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module export + * Class to describe and enable module export */ class modExport extends DolibarrModules { diff --git a/htdocs/core/modules/modExternalRss.class.php b/htdocs/core/modules/modExternalRss.class.php index 7c2a99fd4b8..7ae60e5e9eb 100644 --- a/htdocs/core/modules/modExternalRss.class.php +++ b/htdocs/core/modules/modExternalRss.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module externalrss + * Class to describe and enable module externalrss */ class modExternalRss extends DolibarrModules { diff --git a/htdocs/core/modules/modFckeditor.class.php b/htdocs/core/modules/modFckeditor.class.php index be0143eb191..8e9fe195e33 100644 --- a/htdocs/core/modules/modFckeditor.class.php +++ b/htdocs/core/modules/modFckeditor.class.php @@ -29,7 +29,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Fckeditor + * Class to describe and enable module Fckeditor */ class modFckeditor extends DolibarrModules diff --git a/htdocs/core/modules/modFicheinter.class.php b/htdocs/core/modules/modFicheinter.class.php index c0c000ad07d..4578a3e60a9 100644 --- a/htdocs/core/modules/modFicheinter.class.php +++ b/htdocs/core/modules/modFicheinter.class.php @@ -32,7 +32,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Ficheinter + * Class to describe and enable module Ficheinter */ class modFicheinter extends DolibarrModules { diff --git a/htdocs/core/modules/modGeoIPMaxmind.class.php b/htdocs/core/modules/modGeoIPMaxmind.class.php index e5d916aab28..eeb1b482198 100644 --- a/htdocs/core/modules/modGeoIPMaxmind.class.php +++ b/htdocs/core/modules/modGeoIPMaxmind.class.php @@ -27,7 +27,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Import + * Class to describe and enable module Import */ class modGeoIPMaxmind extends DolibarrModules { diff --git a/htdocs/core/modules/modImport.class.php b/htdocs/core/modules/modImport.class.php index 1edc375d519..ebcd5363e21 100644 --- a/htdocs/core/modules/modImport.class.php +++ b/htdocs/core/modules/modImport.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Import + * Class to describe and enable module Import */ class modImport extends DolibarrModules { diff --git a/htdocs/core/modules/modLabel.class.php b/htdocs/core/modules/modLabel.class.php index 3292e2269fb..54f65a83591 100644 --- a/htdocs/core/modules/modLabel.class.php +++ b/htdocs/core/modules/modLabel.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Label + * Class to describe and enable module Label */ class modLabel extends DolibarrModules { diff --git a/htdocs/core/modules/modLdap.class.php b/htdocs/core/modules/modLdap.class.php index cd858536572..31f51d5d956 100644 --- a/htdocs/core/modules/modLdap.class.php +++ b/htdocs/core/modules/modLdap.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Ldap + * Class to describe and enable module Ldap */ class modLdap extends DolibarrModules { diff --git a/htdocs/core/modules/modMailing.class.php b/htdocs/core/modules/modMailing.class.php index 8ad107d7fd6..00ece509285 100644 --- a/htdocs/core/modules/modMailing.class.php +++ b/htdocs/core/modules/modMailing.class.php @@ -29,7 +29,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Mailing + * Class to describe and enable module Mailing */ class modMailing extends DolibarrModules { diff --git a/htdocs/core/modules/modMailmanSpip.class.php b/htdocs/core/modules/modMailmanSpip.class.php index 4d96b4e8cd1..2ebff38ef08 100644 --- a/htdocs/core/modules/modMailmanSpip.class.php +++ b/htdocs/core/modules/modMailmanSpip.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module de Click to Dial + * Class to describe and enable module Click to Dial */ class modMailmanSpip extends DolibarrModules { diff --git a/htdocs/core/modules/modNotification.class.php b/htdocs/core/modules/modNotification.class.php index 465e69f3a43..c29c77b8f24 100644 --- a/htdocs/core/modules/modNotification.class.php +++ b/htdocs/core/modules/modNotification.class.php @@ -26,7 +26,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Mailing + * Class to describe and enable module Mailing */ class modNotification extends DolibarrModules { diff --git a/htdocs/core/modules/modPrelevement.class.php b/htdocs/core/modules/modPrelevement.class.php index 8f845805032..107b8e25c16 100644 --- a/htdocs/core/modules/modPrelevement.class.php +++ b/htdocs/core/modules/modPrelevement.class.php @@ -30,7 +30,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Prelevement + * Class to describe and enable module Prelevement */ class modPrelevement extends DolibarrModules { diff --git a/htdocs/core/modules/modProjet.class.php b/htdocs/core/modules/modProjet.class.php index ca66e861862..5891aff607a 100644 --- a/htdocs/core/modules/modProjet.class.php +++ b/htdocs/core/modules/modProjet.class.php @@ -32,7 +32,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Projet + * Class to describe and enable module Projet */ class modProjet extends DolibarrModules { diff --git a/htdocs/core/modules/modPropale.class.php b/htdocs/core/modules/modPropale.class.php index cb297f87a61..78fa9b53211 100644 --- a/htdocs/core/modules/modPropale.class.php +++ b/htdocs/core/modules/modPropale.class.php @@ -31,7 +31,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Propale + * Class to describe and enable module Propale */ class modPropale extends DolibarrModules { diff --git a/htdocs/core/modules/modService.class.php b/htdocs/core/modules/modService.class.php index 85ab2b03e7d..9af9590933e 100644 --- a/htdocs/core/modules/modService.class.php +++ b/htdocs/core/modules/modService.class.php @@ -30,7 +30,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Service + * Class to describe and enable module Service */ class modService extends DolibarrModules { diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php index 5cb30275199..eaa6010a0c5 100644 --- a/htdocs/core/modules/modSociete.class.php +++ b/htdocs/core/modules/modSociete.class.php @@ -31,7 +31,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Societe + * Class to describe and enable module Societe */ class modSociete extends DolibarrModules { diff --git a/htdocs/core/modules/modStock.class.php b/htdocs/core/modules/modStock.class.php index 2b8e983372e..7d312a5a2b0 100644 --- a/htdocs/core/modules/modStock.class.php +++ b/htdocs/core/modules/modStock.class.php @@ -30,7 +30,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Stock + * Class to describe and enable module Stock */ class modStock extends DolibarrModules { diff --git a/htdocs/core/modules/modTax.class.php b/htdocs/core/modules/modTax.class.php index 97315e77cfb..d18be36d8f3 100644 --- a/htdocs/core/modules/modTax.class.php +++ b/htdocs/core/modules/modTax.class.php @@ -31,7 +31,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Tax + * Class to describe and enable module Tax */ class modTax extends DolibarrModules { diff --git a/htdocs/core/modules/modUser.class.php b/htdocs/core/modules/modUser.class.php index c55e65e7004..8c510186f06 100644 --- a/htdocs/core/modules/modUser.class.php +++ b/htdocs/core/modules/modUser.class.php @@ -28,7 +28,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module User + * Class to describe and enable module User */ class modUser extends DolibarrModules { diff --git a/htdocs/core/modules/modWorkflow.class.php b/htdocs/core/modules/modWorkflow.class.php index 0eb447306b4..e793d21e03c 100644 --- a/htdocs/core/modules/modWorkflow.class.php +++ b/htdocs/core/modules/modWorkflow.class.php @@ -27,7 +27,7 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; /** - * Classe de description et activation du module Workflow + * Class to describe and enable module Workflow */ class modWorkflow extends DolibarrModules { From 706f62d8f2f2bfc86664d7280aa82ed8930eafc0 Mon Sep 17 00:00:00 2001 From: philippe grand Date: Mon, 7 Sep 2015 17:02:53 +0200 Subject: [PATCH 5/5] better display for code --- htdocs/core/modules/modAdherent.class.php | 139 +++++++++++++++++++--- 1 file changed, 121 insertions(+), 18 deletions(-) diff --git a/htdocs/core/modules/modAdherent.class.php b/htdocs/core/modules/modAdherent.class.php index ebc9694af3a..63fc303162f 100644 --- a/htdocs/core/modules/modAdherent.class.php +++ b/htdocs/core/modules/modAdherent.class.php @@ -73,24 +73,127 @@ class modAdherent extends DolibarrModules // Constants //----------- $this->const = array(); - $this->const[2] = array("MAIN_SEARCHFORM_ADHERENT","yesno","1","Show form for quick member search"); - $this->const[3] = array("ADHERENT_MAIL_RESIL","texte","Votre adhésion vient d'être résiliée.\r\nNous espérons vous revoir très bientôt","Mail de résiliation"); - $this->const[4] = array("ADHERENT_MAIL_VALID","texte","Votre adhésion vient d'être validée. \r\nVoici le rappel de vos coordonnées (toute information erronée entrainera la non validation de votre inscription) :\r\n\r\n%INFOS%\r\n\r\n","Mail de validation"); - $this->const[5] = array("ADHERENT_MAIL_VALID_SUBJECT","chaine","Votre adhésion a été validée","Sujet du mail de validation"); - $this->const[6] = array("ADHERENT_MAIL_RESIL_SUBJECT","chaine","Résiliation de votre adhésion","Sujet du mail de résiliation"); - $this->const[21] = array("ADHERENT_MAIL_FROM","chaine","","From des mails"); - $this->const[22] = array("ADHERENT_MAIL_COTIS","texte","Bonjour %FIRSTNAME%,\r\nCet email confirme que votre cotisation a été reçue\r\net enregistrée","Mail de validation de cotisation"); - $this->const[23] = array("ADHERENT_MAIL_COTIS_SUBJECT","chaine","Reçu de votre cotisation","Sujet du mail de validation de cotisation"); - $this->const[25] = array("ADHERENT_CARD_HEADER_TEXT","chaine","%YEAR%","Texte imprimé sur le haut de la carte adhérent"); - $this->const[26] = array("ADHERENT_CARD_FOOTER_TEXT","chaine","%COMPANY%","Texte imprimé sur le bas de la carte adhérent"); - $this->const[27] = array("ADHERENT_CARD_TEXT","texte","%FULLNAME%\r\nID: %ID%\r\n%EMAIL%\r\n%ADDRESS%\r\n%ZIP% %TOWN%\r\n%COUNTRY%","Text to print on member cards"); - $this->const[28] = array("ADHERENT_MAILMAN_ADMINPW","chaine","","Mot de passe Admin des liste mailman"); - $this->const[31] = array("ADHERENT_BANK_USE_AUTO","yesno","","Insertion automatique des cotisations 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 catégorie banquaire des cotisations"); - $this->const[34] = array("ADHERENT_ETIQUETTE_TYPE","chaine","L7163","Type of address sheets"); - $this->const[35] = array("ADHERENT_ETIQUETTE_TEXT",'texte',"%FULLNAME%\n%ADDRESS%\n%ZIP% %TOWN%\n%COUNTRY%","Text to print on member address sheets"); - + $r=0; + + $this->const[$r][0] = "MAIN_SEARCHFORM_ADHERENT"; + $this->const[$r][1] = "yesno"; + $this->const[$r][2] = "1"; + $this->const[$r][3] = "Show form for quick member search"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_MAIL_RESIL"; + $this->const[$r][1] = "texte"; + $this->const[$r][2] = "Votre adhésion vient d'être résiliée.\r\nNous espérons vous revoir très bientôt"; + $this->const[$r][3] = "Mail de résiliation"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_MAIL_VALID"; + $this->const[$r][1] = "texte"; + $this->const[$r][2] = "Votre adhésion vient d'être validée. \r\nVoici le rappel de vos coordonnées (toute information erronée entrainera la non validation de votre inscription) :\r\n\r\n%INFOS%\r\n\r\n"; + $this->const[$r][3] = "Mail de validation"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_MAIL_VALID_SUBJECT"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = "Votre adhésion a été validée"; + $this->const[$r][3] = "Sujet du mail de validation"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_MAIL_RESIL_SUBJECT"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = "Résiliation de votre adhésion"; + $this->const[$r][3] = "Sujet du mail de résiliation"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_MAIL_FROM"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = ""; + $this->const[$r][3] = "From des mails"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_MAIL_COTIS"; + $this->const[$r][1] = "texte"; + $this->const[$r][2] = "Bonjour %FIRSTNAME%,\r\nCet email confirme que votre cotisation a été reçue\r\net enregistrée"; + $this->const[$r][3] = "Mail de validation de cotisation"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_MAIL_COTIS_SUBJECT"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = "Reçu de votre cotisation"; + $this->const[$r][3] = "Sujet du mail de validation de cotisation"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_CARD_HEADER_TEXT"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = "%YEAR%"; + $this->const[$r][3] = "Texte imprimé sur le haut de la carte adhérent"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_CARD_FOOTER_TEXT"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = "%COMPANY%"; + $this->const[$r][3] = "Texte imprimé sur le bas de la carte adhérent"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_CARD_TEXT"; + $this->const[$r][1] = "texte"; + $this->const[$r][2] = "%FULLNAME%\r\nID: %ID%\r\n%EMAIL%\r\n%ADDRESS%\r\n%ZIP% %TOWN%\r\n%COUNTRY%"; + $this->const[$r][3] = "Text to print on member cards"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_MAILMAN_ADMINPW"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = ""; + $this->const[$r][3] = "Mot de passe Admin des liste mailman"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_BANK_USE_AUTO"; + $this->const[$r][1] = "yesno"; + $this->const[$r][2] = ""; + $this->const[$r][3] = "Insertion automatique des cotisations dans le compte banquaire"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_BANK_ACCOUNT"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = ""; + $this->const[$r][3] = "ID du Compte banquaire utilise"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_BANK_CATEGORIE"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = ""; + $this->const[$r][3] = "ID de la catégorie banquaire des cotisations"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_ETIQUETTE_TYPE"; + $this->const[$r][1] = "chaine"; + $this->const[$r][2] = "L7163"; + $this->const[$r][3] = "Type of address sheets"; + $this->const[$r][4] = 0; + $r++; + + $this->const[$r][0] = "ADHERENT_ETIQUETTE_TEXT"; + $this->const[$r][1] = "texte"; + $this->const[$r][2] = "%FULLNAME%\n%ADDRESS%\n%ZIP% %TOWN%\n%COUNTRY%"; + $this->const[$r][3] = "Text to print on member address sheets"; + $this->const[$r][4] = 0; + $r++; + // Boxes //------- $this->boxes = array(0=>array('file'=>'box_members.php','enabledbydefaulton'=>'Home'));