Skip to content
Snippets Groups Projects
Commit 1042bcfb authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Uniformisation modules

parent 29369c4a
No related branches found
No related tags found
No related merge requests found
...@@ -18,13 +18,12 @@ ...@@ -18,13 +18,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/ */
/** /**
\defgroup agenda Module agenda \defgroup agenda Module agenda
\brief Module pour gerer l'agenda et actions \brief Module pour gerer l'agenda et actions
\brief $Id$
*/ */
/** /**
...@@ -45,7 +44,7 @@ class modAgenda extends DolibarrModules ...@@ -45,7 +44,7 @@ class modAgenda extends DolibarrModules
/** /**
* \brief Constructeur. Definit les noms, constantes et boites * \brief Constructeur. Definit les noms, constantes et boites
* \param DB handler d'accs base * \param DB handler d'acces base
*/ */
function modAgenda($DB) function modAgenda($DB)
{ {
......
...@@ -14,19 +14,18 @@ ...@@ -14,19 +14,18 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/ */
/** /**
\defgroup document Module document \defgroup document Module de generation de documents
\brief Module pour g�rer le suivi des documents \brief Module pour gerer des generations de documents
\version $Id$
*/ */
/** /**
\file htdocs/includes/modules/modDocument.class.php \file htdocs/includes/modules/modDocument.class.php
\ingroup document \ingroup document
\brief Fichier de description et activation du module Document \brief Fichier de description et activation du module Generation document
*/ */
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php"); include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
...@@ -49,14 +48,14 @@ class modDocument extends DolibarrModules ...@@ -49,14 +48,14 @@ class modDocument extends DolibarrModules
$this->db = $DB ; $this->db = $DB ;
$this->numero = 51 ; $this->numero = 51 ;
$this->family = "other"; $this->family = "ecm";
$this->name = "Document"; $this->name = "Document";
$this->description = "Gestion des documents"; $this->description = "Gestion des documents";
$this->revision = explode(' ','$Revision$'); $this->revision = explode(' ','$Revision$');
$this->version = $this->revision[1]; $this->version = $this->revision[1];
$this->const_name = 'MAIN_MODULE_DOCUMENT'; $this->const_name = 'MAIN_MODULE_DOCUMENT';
$this->special = 2; $this->special = 2;
//$this->picto='document'; $this->picto='generic';
// Dir // Dir
$this->dirs = array(); $this->dirs = array();
......
...@@ -71,7 +71,7 @@ class modECM extends DolibarrModules ...@@ -71,7 +71,7 @@ class modECM extends DolibarrModules
$this->dirs[0] = DOL_DATA_ROOT."/ecm"; $this->dirs[0] = DOL_DATA_ROOT."/ecm";
// Config pages. Put here list of php page names stored in admmin directory used to setup module // Config pages. Put here list of php page names stored in admmin directory used to setup module
$this->config_page_url = array(""); $this->config_page_url = array();
// Dependencies // Dependencies
$this->depends = array(); // List of modules id that must be enabled if this module is enabled $this->depends = array(); // List of modules id that must be enabled if this module is enabled
......
...@@ -14,13 +14,12 @@ ...@@ -14,13 +14,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/ */
/** /**
\defgroup editeur Module editeur \defgroup editeur Module editeur
\brief Module pour g�rer le suivi des editeurs \brief Module pour gerer le suivi des editeurs
\version $Id$
*/ */
/** /**
...@@ -56,7 +55,7 @@ class modEditeur extends DolibarrModules ...@@ -56,7 +55,7 @@ class modEditeur extends DolibarrModules
$this->version = $this->revision[1]; $this->version = $this->revision[1];
$this->const_name = 'MAIN_MODULE_EDITEUR'; $this->const_name = 'MAIN_MODULE_EDITEUR';
$this->special = 3; $this->special = 3;
//$this->picto='editeur'; $this->picto='book';
// Dir // Dir
$this->dirs = array(); $this->dirs = array();
......
<?php <?php
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005-2007 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
...@@ -15,13 +15,12 @@ ...@@ -15,13 +15,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/ */
/** /**
\defgroup prelevement Module prelevement \defgroup prelevement Module prelevement
\brief Module de gestion des pr�l�vements bancaires \brief Module de gestion des prelevements bancaires
\version $Id$
*/ */
/** /**
...@@ -60,7 +59,8 @@ class modPrelevement extends DolibarrModules ...@@ -60,7 +59,8 @@ class modPrelevement extends DolibarrModules
$this->const_name = 'MAIN_MODULE_PRELEVEMENT'; $this->const_name = 'MAIN_MODULE_PRELEVEMENT';
$this->special = 0; $this->special = 0;
// Name of png file (without png) used for this module
$this->picto='payment';
// Dir // Dir
$this->dirs = array(); $this->dirs = array();
$this->data_directory = $conf->prelevement->dir_output . "/bon"; $this->data_directory = $conf->prelevement->dir_output . "/bon";
......
...@@ -15,13 +15,12 @@ ...@@ -15,13 +15,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/ */
/** \defgroup webcalendar Module Webcalendar /** \defgroup webcalendar Module Webcalendar
\brief Module to include Webcalendar GUI into Dolibarr menu and \brief Module to include Webcalendar GUI into Dolibarr menu and
add Dolibarr events directly inside a Webcalendar database. add Dolibarr events directly inside a Webcalendar database.
\version $Id$
*/ */
/** /**
...@@ -58,7 +57,7 @@ class modWebcalendar extends DolibarrModules ...@@ -58,7 +57,7 @@ class modWebcalendar extends DolibarrModules
// Module title used if translation string 'ModuleXXXName' not found (XXX is id value) // Module title used if translation string 'ModuleXXXName' not found (XXX is id value)
$this->name = "Webcalendar"; $this->name = "Webcalendar";
// Module description used if translation string 'ModuleXXXDesc' not found (XXX is id value) // Module description used if translation string 'ModuleXXXDesc' not found (XXX is id value)
$this->description = "Interfaage avec le calendrier Webcalendar"; $this->description = "Interfacage avec le calendrier Webcalendar";
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version // Possible values for version are: 'development', 'experimental', 'dolibarr' or version
$this->version = 'dolibarr'; $this->version = 'dolibarr';
// Key used in llx_const table to save module status enabled/disabled (XXX is id value) // Key used in llx_const table to save module status enabled/disabled (XXX is id value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment