according to new tree directory

This commit is contained in:
Philippe Grand 2010-05-01 10:32:15 +00:00
parent 3dc1f01387
commit ba0fa4b60b
2 changed files with 5 additions and 5 deletions

View File

@ -21,13 +21,13 @@
*/ */
/** /**
* \file htdocs/admin/adherent.php * \file htdocs/adherents/admin/adherent.php
* \ingroup adherent * \ingroup adherent
* \brief Page d'administration/configuration du module Adherent * \brief Page d'administration/configuration du module Adherent
* \version $Id$ * \version $Id$
*/ */
require("../main.inc.php"); require("../../main.inc.php");
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php"); require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
$langs->load("admin"); $langs->load("admin");

View File

@ -53,18 +53,18 @@ class modAdherent extends DolibarrModules
$this->family = "hr"; $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) // 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->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->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
$this->special = 0; $this->special = 0;
$this->picto='user'; $this->picto='user';
// Data directories to create when module is enabled // Data directories to create when module is enabled
$this->dirs = array("/adherent/temp"); $this->dirs = array("/adherents/temp");
// Config pages // Config pages
//------------- //-------------
$this->config_page_url = array("adherent.php"); $this->config_page_url = array("adherent.php@adherents");
// Dependances // Dependances
//------------ //------------