From 5dc5d1aa7a7ed07361e912e32cffd47bb0bc7c2f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Jun 2010 19:56:14 +0000 Subject: [PATCH] Use non generic picto on all modules --- htdocs/includes/modules/modCashDesk.class.php | 2 +- htdocs/includes/modules/modDon.class.php | 3 +++ htdocs/includes/modules/modExport.class.php | 2 +- htdocs/includes/modules/modFckeditor.class.php | 3 +++ htdocs/includes/modules/modGeoIPMaxmind.class.php | 2 +- htdocs/includes/modules/modGravatar.class.php | 2 +- htdocs/includes/modules/modImport.class.php | 2 +- htdocs/includes/modules/modLdap.class.php | 4 ++++ htdocs/includes/modules/modSyslog.class.php | 3 +-- htdocs/includes/modules/modWebServices.class.php | 2 +- 10 files changed, 17 insertions(+), 8 deletions(-) diff --git a/htdocs/includes/modules/modCashDesk.class.php b/htdocs/includes/modules/modCashDesk.class.php index 285257ce781..0256cf1bead 100644 --- a/htdocs/includes/modules/modCashDesk.class.php +++ b/htdocs/includes/modules/modCashDesk.class.php @@ -60,7 +60,7 @@ class modCashDesk extends DolibarrModules $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->special = 0; - $this->picto = 'generic'; + $this->picto = 'list'; // Data directories to create when module is enabled $this->dirs = array(); diff --git a/htdocs/includes/modules/modDon.class.php b/htdocs/includes/modules/modDon.class.php index 01fdecbc422..0ee1da25b60 100644 --- a/htdocs/includes/modules/modDon.class.php +++ b/htdocs/includes/modules/modDon.class.php @@ -56,6 +56,9 @@ class modDon extends DolibarrModules $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->special = 0; + // Name of png file (without png) used for this module. + // Png file must be in theme/yourtheme/img directory under name object_pictovalue.png. + $this->picto='bill'; // Data directories to create when module is enabled $this->dirs = array("/dons/temp"); diff --git a/htdocs/includes/modules/modExport.class.php b/htdocs/includes/modules/modExport.class.php index 86947c96300..523678eca7f 100644 --- a/htdocs/includes/modules/modExport.class.php +++ b/htdocs/includes/modules/modExport.class.php @@ -54,7 +54,7 @@ class modExport extends DolibarrModules $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->special = 0; - $this->picto=''; + $this->picto='technic'; // Data directories to create when module is enabled $this->dirs = array("/export/temp"); diff --git a/htdocs/includes/modules/modFckeditor.class.php b/htdocs/includes/modules/modFckeditor.class.php index b62093addb6..34ad450874e 100644 --- a/htdocs/includes/modules/modFckeditor.class.php +++ b/htdocs/includes/modules/modFckeditor.class.php @@ -55,6 +55,9 @@ class modFckeditor extends DolibarrModules $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->special = 2; + // Name of png file (without png) used for this module. + // Png file must be in theme/yourtheme/img directory under name object_pictovalue.png. + $this->picto='list'; // Data directories to create when module is enabled $this->dirs = array("/fckeditor/temp","/fckeditor/images"); diff --git a/htdocs/includes/modules/modGeoIPMaxmind.class.php b/htdocs/includes/modules/modGeoIPMaxmind.class.php index 5f676e0fb73..5d411edd41e 100644 --- a/htdocs/includes/modules/modGeoIPMaxmind.class.php +++ b/htdocs/includes/modules/modGeoIPMaxmind.class.php @@ -61,7 +61,7 @@ class modGeoIPMaxmind extends DolibarrModules // Name of image file used for this module. // If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue' // If file is in module/images directory, use this->picto=DOL_URL_ROOT.'/module/images/file.png' - $this->picto = ''; + $this->picto = 'globe'; // Data directories to create when module is enabled $this->dirs = array("/geoipmaxmind"); diff --git a/htdocs/includes/modules/modGravatar.class.php b/htdocs/includes/modules/modGravatar.class.php index ac03abdfa10..a2235a1dfba 100644 --- a/htdocs/includes/modules/modGravatar.class.php +++ b/htdocs/includes/modules/modGravatar.class.php @@ -65,7 +65,7 @@ class modGravatar extends DolibarrModules // Name of image file used for this module. // If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue' // If file is in module/images directory, use this->picto=DOL_URL_ROOT.'/module/images/file.png' - $this->picto='generic'; + $this->picto='technic'; // Data directories to create when module is enabled. // Example: this->dirs = array("/mymodule/temp"); diff --git a/htdocs/includes/modules/modImport.class.php b/htdocs/includes/modules/modImport.class.php index c51f843d582..2e51a01c807 100644 --- a/htdocs/includes/modules/modImport.class.php +++ b/htdocs/includes/modules/modImport.class.php @@ -54,7 +54,7 @@ class modImport extends DolibarrModules $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->special = 0; - $this->picto = ''; + $this->picto = 'technic'; // Data directories to create when module is enabled $this->dirs = array("/import/temp"); diff --git a/htdocs/includes/modules/modLdap.class.php b/htdocs/includes/modules/modLdap.class.php index 0fabb8613bd..a8158126919 100644 --- a/htdocs/includes/modules/modLdap.class.php +++ b/htdocs/includes/modules/modLdap.class.php @@ -55,6 +55,10 @@ class modLdap extends DolibarrModules $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); // Where to store the module in setup page (0=common,1=interface,2=others,3=very specific) $this->special = 1; + // Name of image file used for this module. + // If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue' + // If file is in module/images directory, use this->picto=DOL_URL_ROOT.'/module/images/file.png' + $this->picto = 'technic'; // Data directories to create when module is enabled $this->dirs = array("/ldap/temp"); diff --git a/htdocs/includes/modules/modSyslog.class.php b/htdocs/includes/modules/modSyslog.class.php index 406c6f008b2..58322541dc6 100644 --- a/htdocs/includes/modules/modSyslog.class.php +++ b/htdocs/includes/modules/modSyslog.class.php @@ -34,7 +34,6 @@ include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php"); * \class modSyslog * \brief Classe de description et activation du module Syslog */ - class modSyslog extends DolibarrModules { @@ -63,7 +62,7 @@ class modSyslog extends DolibarrModules // Where to store the module in setup page (0=common,1=interface,2=others,3=very specific) $this->special = 2; // Name of image file used for this module. - $this->picto='generic'; + $this->picto='technic'; // Data directories to create when module is enabled $this->dirs = array(); diff --git a/htdocs/includes/modules/modWebServices.class.php b/htdocs/includes/modules/modWebServices.class.php index 0eff3e57d8a..1b46f951ed4 100644 --- a/htdocs/includes/modules/modWebServices.class.php +++ b/htdocs/includes/modules/modWebServices.class.php @@ -57,7 +57,7 @@ class modWebServices extends DolibarrModules // Where to store the module in setup page (0=common,1=interface,2=others,3=very specific) $this->special = 1; // Name of image file used for this module. - $this->picto='generic'; + $this->picto='technic'; // Data directories to create when module is enabled $this->dirs = array();