Skip to content

Commit

Permalink
Use dedicated picto
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed May 30, 2015
1 parent 13b78f9 commit b14b1c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions 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
Expand All @@ -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
{
Expand All @@ -47,7 +46,7 @@ function __construct($db)
$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)
Expand All @@ -59,7 +58,7 @@ function __construct($db)
// 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();
Expand Down
Binary file added htdocs/theme/eldy/img/object_printer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b14b1c1

Please sign in to comment.