Fix: uniformise name of directory and module name

This commit is contained in:
Regis Houssin 2010-05-13 16:32:13 +00:00
parent 2f8cd177cf
commit 138cf20991
2 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<?php <?php
/* Copyright (C) 2005-2007 Regis Houssin <regis@dolibarr.fr> /* Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>
* *
* 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
@ -65,6 +65,9 @@ class modPhenix extends DolibarrModules
$this->special = 1; $this->special = 1;
// Name of png file (without png) used for this module // Name of png file (without png) used for this module
$this->picto='calendar'; $this->picto='calendar';
// Defined if the directory /mymodule/inc/triggers/ contains triggers or not
$this->triggers = 1;
// Data directories to create when module is enabled // Data directories to create when module is enabled
$this->dirs = array(); $this->dirs = array();
@ -75,7 +78,7 @@ class modPhenix extends DolibarrModules
// 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
$this->requiredby = array(); // List of modules id to disable if this one is disabled $this->requiredby = array(); // List of modules id to disable if this one is disabled
$this->langfiles = array("@phenix"); $this->langfiles = array();
// Constants // Constants
$this->const = array(); // List of parameters $this->const = array(); // List of parameters

View File

@ -1,6 +1,6 @@
<?php <?php
/* Copyright (C) 2005-2008 Laurent Destailleur <eldy@users.sourceforge.net> /* Copyright (C) 2005-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2008 Regis Houssin <regis@dolibarr.fr> * Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>
* *
* 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
@ -18,7 +18,7 @@
*/ */
/** /**
\file htdocs/includes/triggers/interface_modPhenix_Phenixsynchro.class.php \file htdocs/phenix/inc/triggers/interface_modPhenix_Phenixsynchro.class.php
\ingroup phenix \ingroup phenix
\brief Fichier de gestion des triggers phenix \brief Fichier de gestion des triggers phenix
\version $Id$ \version $Id$