| Line 19... |
Line 19... |
| 19 |
// | |
|
19 |
// | |
|
| 20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
| 21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
| 22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
| 24 |
// CVS : $Id: eflore_config.inc.php,v 1.6 2005-01-28 19:49:26 jpm Exp $
|
24 |
// CVS : $Id: eflore_config.inc.php,v 1.7 2005-02-15 13:01:25 jpm Exp $
|
| 25 |
/**
|
25 |
/**
|
| 26 |
* Fichier de configuration d'eFlore.
|
26 |
* Fichier de configuration d'eFlore.
|
| 27 |
*
|
27 |
*
|
| 28 |
* Fichier contenant des constantes et des variables globales permettant de configurer eFlore-consultation.
|
28 |
* Fichier contenant des constantes et des variables globales permettant de configurer eFlore-consultation.
|
| 29 |
*
|
29 |
*
|
| Line 32... |
Line 32... |
| 32 |
//Auteur original :
|
32 |
//Auteur original :
|
| 33 |
*@author Linda ANGAMA<linda_angama@yahoo.fr>
|
33 |
*@author Linda ANGAMA<linda_angama@yahoo.fr>
|
| 34 |
//Autres auteurs :
|
34 |
//Autres auteurs :
|
| 35 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
35 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
| 36 |
*@copyright Tela-Botanica 2000-2004
|
36 |
*@copyright Tela-Botanica 2000-2004
|
| 37 |
*@version $Revision: 1.6 $ $Date: 2005-01-28 19:49:26 $
|
37 |
*@version $Revision: 1.7 $ $Date: 2005-02-15 13:01:25 $
|
| 38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
| 39 |
*/
|
39 |
*/
|
| Line 40... |
Line 40... |
| 40 |
|
40 |
|
| 41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 57... |
Line 57... |
| 57 |
/** Constante stockant le nom de l'utilisateur de la base de données de Génésia.*/
|
57 |
/** Constante stockant le nom de l'utilisateur de la base de données de Génésia.*/
|
| 58 |
define('EFLORE_BDD_UTILISATEUR', '');
|
58 |
define('EFLORE_BDD_UTILISATEUR', '');
|
| 59 |
/** Constante stockant le mot de passse de l'utilisateur de la base de données de Génésia.*/
|
59 |
/** Constante stockant le mot de passse de l'utilisateur de la base de données de Génésia.*/
|
| 60 |
define('EFLORE_BDD_MOT_DE_PASSE', '');
|
60 |
define('EFLORE_BDD_MOT_DE_PASSE', '');
|
| 61 |
/** Constante stockant le nom de la base de données de Génésia.*/
|
61 |
/** Constante stockant le nom de la base de données de Génésia.*/
|
| 62 |
define('EFLORE_BDD_NOM', '');
|
62 |
define('EFLORE_BDD_NOM', 'tela_test_eflore');
|
| 63 |
// +------------------------------------------------------------------------------------------------------+
|
63 |
// +------------------------------------------------------------------------------------------------------+
|
| 64 |
// Paramétrage de la valeur du DSN pour Pear DB.
|
64 |
// Paramétrage de la valeur du DSN pour Pear DB.
|
| 65 |
/** Constante stockant le DSN permetant de se connecter à la base de données de Génésia.*/
|
65 |
/** Constante stockant le DSN permetant de se connecter à la base de données de Génésia.*/
|
| 66 |
define('EFLORE_DSN', 'mysql://'.EFLORE_BDD_UTILISATEUR.':'.EFLORE_BDD_MOT_DE_PASSE.'@'.EFLORE_BDD_SERVEUR.'/'.EFLORE_BDD_NOM);
|
66 |
define('EFLORE_DSN', 'mysql://'.EFLORE_BDD_UTILISATEUR.':'.EFLORE_BDD_MOT_DE_PASSE.'@'.EFLORE_BDD_SERVEUR.'/'.EFLORE_BDD_NOM);
|
| Line 91... |
Line 91... |
| 91 |
/** Constante stockant l'url pour obtenir une liste de noms à partir d'un radical de nom scientifique.*/
|
91 |
/** Constante stockant l'url pour obtenir une liste de noms à partir d'un radical de nom scientifique.*/
|
| 92 |
define('EFLORE_URL_LISTE_NOM_LATIN', EFLORE_URL_ERIBO.'?cle=recherche_latin&radical=%s');
|
92 |
define('EFLORE_URL_LISTE_NOM_LATIN', EFLORE_URL_ERIBO.'?cle=recherche_latin&radical=%s');
|
| 93 |
/** Constante stockant l'url pour obtenir une liste de noms à partir d'un radical de nom vernaculaire.*/
|
93 |
/** Constante stockant l'url pour obtenir une liste de noms à partir d'un radical de nom vernaculaire.*/
|
| 94 |
define('EFLORE_URL_LISTE_NOM_VERNA', EFLORE_URL_ERIBO.'?cle=recherche_verna&radical=%s');
|
94 |
define('EFLORE_URL_LISTE_NOM_VERNA', EFLORE_URL_ERIBO.'?cle=recherche_verna&radical=%s');
|
| 95 |
/** Constante stockant l'url pour obtenir une synthèse sur un nom scientifique.*/
|
95 |
/** Constante stockant l'url pour obtenir une synthèse sur un nom scientifique.*/
|
| 96 |
define('EFLORE_URL_FICHE_SYNTHESE', EFLORE_URL_ERIBO.'?cle=synthese&nn=%s');
|
96 |
define('EFLORE_URL_FICHE_SYNTHESE', EFLORE_URL_ERIBO.'?cle=fiche_synthese&nn=%s');
|
| 97 |
/** Constante stockant l'url pour obtenir une synthèse sur un nom scientifique pour un projet donné.*/
|
97 |
/** Constante stockant l'url pour obtenir une synthèse sur un nom scientifique pour un projet donné.*/
|
| 98 |
define('EFLORE_URL_FICHE_SYNTHESE_PROJET', EFLORE_URL_ERIBO.'?cle=synthese&nn=%s&nvp=%s');
|
98 |
define('EFLORE_URL_FICHE_SYNTHESE_PROJET', EFLORE_URL_ERIBO.'?cle=fiche_synthese&nn=%s&nvp=%s');
|
| 99 |
/** Constante stockant l'url pour obtenir un formulaire sur les projets taxo.*/
|
99 |
/** Constante stockant l'url pour obtenir un formulaire sur les projets taxo.*/
|
| 100 |
define('EFLORE_URL_FORM_TAXON', EFLORE_URL_ERIBO.'?cle=form_taxon');
|
100 |
define('EFLORE_URL_FORM_TAXON', EFLORE_URL_ERIBO.'?cle=form_taxon');
|
| 101 |
/** Constante stockant l'url pour obtenir un formulaire sur les projets taxo.*/
|
101 |
/** Constante stockant l'url pour obtenir un formulaire sur les projets taxo.*/
|
| 102 |
define('EFLORE_URL_FORM_TAXON_ALPHABET', EFLORE_URL_ERIBO.'?cle=form_taxon&nvp=%s&rg=%s&od=%s&le=%s');
|
102 |
define('EFLORE_URL_FORM_TAXON_ALPHABET', EFLORE_URL_ERIBO.'?cle=form_taxon&nvp=%s&rg=%s&od=%s&le=%s');
|
| 103 |
/** Constante stockant l'url pour obtenir un formulaire sur les projets taxo.*/
|
103 |
/** Constante stockant l'url pour obtenir un formulaire sur les projets taxo.*/
|
| 104 |
define('EFLORE_URL_LISTE_TAXON', EFLORE_URL_ERIBO.'?cle=recherche_taxon&nvp=%s&rg=%s&od=%s&le=%s');
|
104 |
define('EFLORE_URL_LISTE_TAXON', EFLORE_URL_ERIBO.'?cle=recherche_taxon&nvp=%s&rg=%s&od=%s&le=%s');
|
| - |
|
105 |
/** Constante stockant l'url pour obtenir une liste des taxons fils d'un taxon.*/
|
| - |
|
106 |
define('EFLORE_URL_LISTE_CLASSIF', EFLORE_URL_ERIBO.'?cle=recherche_classif&nvp=%s&nt=%s');
|
| Line 105... |
Line 107... |
| 105 |
|
107 |
|
| 106 |
// +------------------------------------------------------------------------------------------------------+
|
108 |
// +------------------------------------------------------------------------------------------------------+
|
| 107 |
// Définition de la langue
|
109 |
// Définition de la langue
|
| 108 |
/** Constante stockant la langue utilisée pour l'application.*/
|
110 |
/** Constante stockant la langue utilisée pour l'application.*/
|
| Line 121... |
Line 123... |
| 121 |
define('CONTRIBUTEUR', 4);
|
123 |
define('CONTRIBUTEUR', 4);
|
| Line 122... |
Line 124... |
| 122 |
|
124 |
|
| 123 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
125 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| 124 |
*
|
126 |
*
|
| - |
|
127 |
* $Log: not supported by cvs2svn $
|
| - |
|
128 |
* Revision 1.6 2005/01/28 19:49:26 jpm
|
| - |
|
129 |
* Ajout de nouvelles constantes pour les url entre autres.
|
| 125 |
* $Log: not supported by cvs2svn $
|
130 |
*
|
| 126 |
* Revision 1.5 2004/12/23 20:04:59 jpm
|
131 |
* Revision 1.5 2004/12/23 20:04:59 jpm
|
| 127 |
* Début prise en maine eflore-consultation.
|
132 |
* Début prise en maine eflore-consultation.
|
| 128 |
*
|
133 |
*
|
| 129 |
* Revision 1.4 2004/08/17 11:22:45 linda
|
134 |
* Revision 1.4 2004/08/17 11:22:45 linda
|