From ba0fa4b60b93ff5714d5be4c076a5875e312177d Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Sat, 1 May 2010 10:32:15 +0000 Subject: [PATCH] according to new tree directory --- htdocs/{ => adherents}/admin/adherent.php | 4 ++-- htdocs/includes/modules/modAdherent.class.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) rename htdocs/{ => adherents}/admin/adherent.php (99%) diff --git a/htdocs/admin/adherent.php b/htdocs/adherents/admin/adherent.php similarity index 99% rename from htdocs/admin/adherent.php rename to htdocs/adherents/admin/adherent.php index 12c520a816b..92503fa1f3b 100644 --- a/htdocs/admin/adherent.php +++ b/htdocs/adherents/admin/adherent.php @@ -21,13 +21,13 @@ */ /** - * \file htdocs/admin/adherent.php + * \file htdocs/adherents/admin/adherent.php * \ingroup adherent * \brief Page d'administration/configuration du module Adherent * \version $Id$ */ -require("../main.inc.php"); +require("../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php"); $langs->load("admin"); diff --git a/htdocs/includes/modules/modAdherent.class.php b/htdocs/includes/modules/modAdherent.class.php index cdc69d0ec5a..3689b72d897 100644 --- a/htdocs/includes/modules/modAdherent.class.php +++ b/htdocs/includes/modules/modAdherent.class.php @@ -53,18 +53,18 @@ class modAdherent extends DolibarrModules $this->family = "hr"; // 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)); - $this->description = "Gestion des adherents d'une association"; + $this->description = "Gestion des adhérents d'une association"; $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->special = 0; $this->picto='user'; // Data directories to create when module is enabled - $this->dirs = array("/adherent/temp"); + $this->dirs = array("/adherents/temp"); // Config pages //------------- - $this->config_page_url = array("adherent.php"); + $this->config_page_url = array("adherent.php@adherents"); // Dependances //------------