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

Uniformisation modules

parent 29369c4a
Branches
Tags
No related merge requests found
......@@ -18,13 +18,12 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/**
\defgroup agenda Module agenda
\brief Module pour gerer l'agenda et actions
\brief $Id$
*/
/**
......@@ -45,7 +44,7 @@ class modAgenda extends DolibarrModules
/**
* \brief Constructeur. Definit les noms, constantes et boites
* \param DB handler d'accs base
* \param DB handler d'acces base
*/
function modAgenda($DB)
{
......
......@@ -14,19 +14,18 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/**
\defgroup document Module document
\brief Module pour g�rer le suivi des documents
\defgroup document Module de generation de documents
\brief Module pour gerer des generations de documents
\version $Id$
*/
/**
\file htdocs/includes/modules/modDocument.class.php
\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");
......@@ -49,14 +48,14 @@ class modDocument extends DolibarrModules
$this->db = $DB ;
$this->numero = 51 ;
$this->family = "other";
$this->family = "ecm";
$this->name = "Document";
$this->description = "Gestion des documents";
$this->revision = explode(' ','$Revision$');
$this->version = $this->revision[1];
$this->const_name = 'MAIN_MODULE_DOCUMENT';
$this->special = 2;
//$this->picto='document';
$this->picto='generic';
// Dir
$this->dirs = array();
......
......@@ -71,7 +71,7 @@ class modECM extends DolibarrModules
$this->dirs[0] = DOL_DATA_ROOT."/ecm";
// 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
$this->depends = array(); // List of modules id that must be enabled if this module is enabled
......
......@@ -14,13 +14,12 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/**
\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
$this->version = $this->revision[1];
$this->const_name = 'MAIN_MODULE_EDITEUR';
$this->special = 3;
//$this->picto='editeur';
$this->picto='book';
// Dir
$this->dirs = array();
......
<?php
/* 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
* it under the terms of the GNU General Public License as published by
......@@ -15,13 +15,12 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/**
\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
$this->const_name = 'MAIN_MODULE_PRELEVEMENT';
$this->special = 0;
// Name of png file (without png) used for this module
$this->picto='payment';
// Dir
$this->dirs = array();
$this->data_directory = $conf->prelevement->dir_output . "/bon";
......
......@@ -15,13 +15,12 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/** \defgroup webcalendar Module Webcalendar
\brief Module to include Webcalendar GUI into Dolibarr menu and
add Dolibarr events directly inside a Webcalendar database.
\version $Id$
*/
/**
......@@ -58,7 +57,7 @@ class modWebcalendar extends DolibarrModules
// Module title used if translation string 'ModuleXXXName' not found (XXX is id value)
$this->name = "Webcalendar";
// 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
$this->version = 'dolibarr';
// 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