From 138cf2099118f6125b2a81c256eccc43994d75df Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 13 May 2010 16:32:13 +0000 Subject: [PATCH] Fix: uniformise name of directory and module name --- htdocs/includes/modules/modPhenix.class.php | 7 +++++-- .../triggers/interface_modPhenix_Phenixsynchro.class.php | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) rename htdocs/{includes => phenix/inc}/triggers/interface_modPhenix_Phenixsynchro.class.php (99%) diff --git a/htdocs/includes/modules/modPhenix.class.php b/htdocs/includes/modules/modPhenix.class.php index 2300328fe4b..5ac383ddd3b 100644 --- a/htdocs/includes/modules/modPhenix.class.php +++ b/htdocs/includes/modules/modPhenix.class.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2005-2010 Regis Houssin * * 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 @@ -65,6 +65,9 @@ class modPhenix extends DolibarrModules $this->special = 1; // Name of png file (without png) used for this module $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 $this->dirs = array(); @@ -75,7 +78,7 @@ class modPhenix extends DolibarrModules // Dependencies $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->langfiles = array("@phenix"); + $this->langfiles = array(); // Constants $this->const = array(); // List of parameters diff --git a/htdocs/includes/triggers/interface_modPhenix_Phenixsynchro.class.php b/htdocs/phenix/inc/triggers/interface_modPhenix_Phenixsynchro.class.php similarity index 99% rename from htdocs/includes/triggers/interface_modPhenix_Phenixsynchro.class.php rename to htdocs/phenix/inc/triggers/interface_modPhenix_Phenixsynchro.class.php index 3946861c4bb..697fd0cde57 100644 --- a/htdocs/includes/triggers/interface_modPhenix_Phenixsynchro.class.php +++ b/htdocs/phenix/inc/triggers/interface_modPhenix_Phenixsynchro.class.php @@ -1,6 +1,6 @@ - * Copyright (C) 2005-2008 Regis Houssin + * Copyright (C) 2005-2010 Regis Houssin * * 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 @@ -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 \brief Fichier de gestion des triggers phenix \version $Id$