Browse Source

Use dedicated picto

Laurent Destailleur 10 years ago
parent
commit
b14b1c1b12

+ 8 - 9
htdocs/core/modules/modPrinting.class.php

@@ -1,6 +1,6 @@
 <?php
-/* Copyright (C) 2014 Laurent Destailleur  <eldy@users.sourceforge.net>
- * Copyright (C) 2014 Frederic France      <frederic.france@free.fr>
+/* Copyright (C) 2014-2015 Laurent Destailleur  <eldy@users.sourceforge.net>
+ * Copyright (C) 2014      Frederic France      <frederic.france@free.fr>
  *
  * 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
@@ -16,22 +16,21 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-/**     \defgroup   printing     Module printing
- *      \brief      Module for activation of printing icon
+/** \defgroup   printing     Module printing
+ *  \brief      Module for activation of printing icon to make direct printing
  */
 
 /**
  *  \file       htdocs/core/modules/modPrinting.class.php
  *  \ingroup    printing
- *  \brief      Fichier de description et activation du module Printing
+ *  \brief      File of class to describe and activate module Direct Printing
  */
 include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
 
 
 
 /**
- *  \class      modPrinting
- *  \brief      Classe de description et activation du module Printing
+ *  Class to describe and activate module Direct Printing
  */
 class modPrinting extends DolibarrModules
 {
@@ -47,7 +46,7 @@ class modPrinting extends DolibarrModules
         $this->numero = 64000;
         // Family can be 'crm','financial','hr','projects','products','ecm','technic','other'
         // It is used to group modules in module setup page
-        $this->family = "other";
+        $this->family = "technic";
         // Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
         $this->name = preg_replace('/^mod/i','',get_class($this));
 		// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
@@ -59,7 +58,7 @@ class modPrinting 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/img directory under name object_pictovalue.png, use this->picto='pictovalue@module'
-        $this->picto = 'technic';
+        $this->picto = 'printer';
 
         // Data directories to create when module is enabled.
         $this->dirs = array();

BIN
htdocs/theme/eldy/img/object_printer.png