From b14b1c1b12d7d993153d4f7f1bb449a577378fe2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 30 May 2015 15:21:48 +0200 Subject: [PATCH] Use dedicated picto --- htdocs/core/modules/modPrinting.class.php | 17 ++++++++--------- htdocs/theme/eldy/img/object_printer.png | Bin 0 -> 167 bytes 2 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 htdocs/theme/eldy/img/object_printer.png diff --git a/htdocs/core/modules/modPrinting.class.php b/htdocs/core/modules/modPrinting.class.php index e288bd83e4d..bb18d7d022c 100644 --- a/htdocs/core/modules/modPrinting.class.php +++ b/htdocs/core/modules/modPrinting.class.php @@ -1,6 +1,6 @@ - * Copyright (C) 2014 Frederic France +/* Copyright (C) 2014-2015 Laurent Destailleur + * Copyright (C) 2014 Frederic France * * 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 . */ -/** \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(); diff --git a/htdocs/theme/eldy/img/object_printer.png b/htdocs/theme/eldy/img/object_printer.png new file mode 100644 index 0000000000000000000000000000000000000000..6e8bcbf98a57f1c6e80aa31b21e15677e3796778 GIT binary patch literal 167 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+0wn(&ce?|m@;qG}Ln;`P7chDxSTwK+8;F`3 z{BdvQP0=#HII~HQ@JXa~8Rp9L^H5h)3o1 zMhnU5pQQzuI69&Qg&Z`T_+GP1bjc;ORWq+rnxoh!Q*7YcqCDdj1B2eyhTJLBR{&WI N44$rjF6*2UngE^zG6Vns literal 0 HcmV?d00001