Subversion Repositories eFlore/Archives.herbiers

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php
/*vim: set expandtab tabstop=4 shiftwidth=4: */ 
// +------------------------------------------------------------------------------------------------------+
// | PHP version 4.1                                                                                      |
// +------------------------------------------------------------------------------------------------------+
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
// +------------------------------------------------------------------------------------------------------+
// | This file is part of Herbier - Administration.                                                       |
// |                                                                                                      |
// | Foobar is free software; you can redistribute it and/or modify                                       |
// | it under the terms of the GNU General Public License as published by                                 |
// | the Free Software Foundation; either version 2 of the License, or                                    |
// | (at your option) any later version.                                                                  |
// |                                                                                                      |
// | Foobar is distributed in the hope that it will be useful,                                            |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
// | GNU General Public License for more details.                                                         |
// |                                                                                                      |
// | You should have received a copy of the GNU General Public License                                    |
// | along with Foobar; if not, write to the Free Software                                                |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hba_config.inc.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
/**
* Configuration Herbier - Administration
*
* Configuration de l'interface d'administration des herbiers.
*
*@package Herbier-Administration
*@subpackage Configuration
//Auteur original :
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
//Autres auteurs :
*@author        Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright     Tela-Botanica 2000-2005
*@version       $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
// +------------------------------------------------------------------------------------------------------+
*/

// +------------------------------------------------------------------------------------------------------+
// |                                            ENTETE du PROGRAMME                                       |
// +------------------------------------------------------------------------------------------------------+
// Modification de la gestion des guillemets magiques.
set_magic_quotes_runtime(0);

// +------------------------------------------------------------------------------------------------------+
// |                                            CORPS du PROGRAMME                                        |
// +------------------------------------------------------------------------------------------------------+
/** Constante stockant le chemin du dossier contenant l'application Herbier - Administration.*/
define('HBA_CHEMIN_RACINE', HB_CHEMIN_APPLI.'hb_admin'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant les traductions.*/
define('HBA_CHEMIN_LANGUES', HBA_CHEMIN_RACINE.'langues'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant la bibliothèque de code.*/
define('HBA_CHEMIN_BIBLIO', HBA_CHEMIN_RACINE.'bibliotheque'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant les fichiers de présentations (css, javascript,...).*/
define('HBA_CHEMIN_PRESENTATION', HBA_CHEMIN_RACINE.'presentations'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant les fichiers Javascripts.*/
define('HBA_CHEMIN_SCRIPT', HBA_CHEMIN_PRESENTATION.'scripts'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant les fichiers CSS.*/
define('HBA_CHEMIN_STYLE', HBA_CHEMIN_PRESENTATION.'styles'.GEN_SEP);

// +------------------------------------------------------------------------------------------------------+
// Identification
/** Constante stockant si oui ou non, l'identification est nécessaire pour l'administration.*/
define('HBA_ARGUMENT_AUTH', TRUE);

// +------------------------------------------------------------------------------------------------------+
// Exemple
/** Constante stockant la valeur de l'identifiant de l'exemple d'herbier.*/
define('HBA_EXEMPLE_ID', 35);

// +------------------------------------------------------------------------------------------------------+
// Apparence
/** Constante stockant la valeur de la longueur maxi du nom de l'organisation affichable dans le cartouche.*/
define('HBA_LONGUEUR_ORG_NOM', 17);
/** Constante stockant la valeur de la longueur maxi du texte des notes.*/
define('HBA_LONGUEUR_NOTE_TXT', 35);

// +------------------------------------------------------------------------------------------------------+
// Actions d'administration
// Gestion d'une organisation
/** Constante stockant la valeur pour l'action annuler.*/
define('HBA_ACTION_ANNULER', 0);
/** Constante stockant la valeur pour l'action ouvrant le formulaire d'ajout d'une institution (Herbier).*/
define('HBA_ACTION_HERBIER_AJOUT', 1);//NOUVEAU_HERB1
/** Constante stockant la valeur pour l'action vérifiant le formulaire d'ajout d'une institution (Herbier).*/
define('HBA_ACTION_HERBIER_VERIF', 2);//NOUVEAU_HERB2
/** Constante stockant la valeur pour l'action déroulant les infos d'une institution (Herbier).*/
define('HBA_ACTION_COLL_DEROULER', 5);
define("NOUVEAU_HERB4",3) ;
define('MOD_HERB' , 20) ;
define('MOD_ADM' , 22) ;
define("MOD_ADM_V", 26) ;
define("MOD_CONT" ,23) ;
define("MOD_CONT_V", 28) ;
define("SUPPR_HERB", 35) ;
// Gestion des collections
define("NOUV_COLL", 4) ;
define("MOD_DESC" ,21) ;
define("MOD_DESC_V", 27) ;
define("SUPPR_COLL", 29) ;
// Gestion de l'équipe
define("MOD_TEAM" , 24) ;
define("NOUV_TEAM", 30) ;
define("NOUV_TEAM_V", 31) ;
define("MOD_STAFF", 32) ;
define("MOD_STAFF_V", 33) ;
define("SUPPR_STAFF" ,34) ;
// Gestion des notes
define("MOD_INDIC" ,25) ;
define("NOUV_INDIC", 40) ;
define("NOUV_INDIC_V" ,41) ;
define("MOD_NOTE", 42) ;
define("SUPPR_NOTE", 43) ;
define("MOD_NOTE_V", 44) ;
// Gestion des correspondants
/** Constante stockant la valeur pour l'action déroulant les infos d'une institution (Herbier).*/
define('HBA_ACTION_COR_DEROULER', 14);
define("NOUVEAU_CORR", 10) ;
define("NOUVEAU_CORR_V", 11) ;
define("SUPPR_CORR", 12) ;
define("SUPPR_CORR_V", 13) ;
// Gestion des rédacteurs
define('HBA_ACTION_RED_DEROULER', 54);
define("NOUV_RED", 50) ;
define("NOUV_RED_V", 51) ;
define("SUPPR_RED", 52) ;
define("SUPPR_RED_V", 53) ;

// +------------------------------------------------------------------------------------------------------+
// |                                            PIED du PROGRAMME                                         |
// +------------------------------------------------------------------------------------------------------+



/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1  2005/04/06 13:30:52  jpm
* Ajout du fichier de config de l'appli.
*
*
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/
?>