Subversion Repositories Sites.tela-botanica.org

Rev

Rev 499 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
87 alex 1
<?php
2
// +----------------------------------------------------------------------------+
3
// |car_config.inc.php                                                            |
4
// +----------------------------------------------------------------------------+
5
// | Copyright (c) 2004 Tela Botanica                                            |
6
// +----------------------------------------------------------------------------+
7
// | Le module d'inscription amélioré, configuration                            |
8
// +----------------------------------------------------------------------------+
9
// | Auteur : Alexandre Granier <alexandre@tela-botanica.org>                     |
10
// +----------------------------------------------------------------------------+
11
//
151 magali 12
// $Id: car_config.inc.php,v 1.1 2004/11/30 13:37:13 tam Exp $
87 alex 13
 
208 jpm 14
// Paramêtres indiquant que l'on est en français pourpermettre la mise en majuscule des caractères accentués
15
setlocale(LC_CTYPE, "fr_FR");
87 alex 16
 
17
/**
18
//=========================DEFINITION DE VARIABLES =================================
19
* Définition des variables globales
20
//==================================================================================
21
*/
208 jpm 22
$GLOBALS['car_auth'] =& $_GEN_commun['pear_auth'] ;
23
$GLOBALS['car_db'] =& $_GEN_commun['pear_db'] ;
24
$GLOBALS['car_url'] = $_GEN_commun['url'];
87 alex 25
 
26
/**
27
//==================================== LES URLS ==================================
28
* Constantes liées à l'utilisation des url
29
//==================================================================================
30
*/
31
define ("CAR_URL", $_GEN_commun['url']->getURL()) ;
180 jpm 32
define ("CAR_URL_ACTUALITE", 'http://www.tela-botanica.org/actu/article220.html') ;
87 alex 33
 
34
/**
35
//==================================== LES CHEMINS =================================
36
* Constantes définissant les chemins d'accès aux différents fichiers inclus dans les
37
* applications.
38
//==================================================================================
39
*/
40
define("CAR_CHEMIN_APPLI",'client/cartographie') ;//le chemin vers l'application courrante
41
define("CAR_CHEMIN_LIBRAIRIE",'client/cartographie/bibliotheque/');//le chemin de la librairie de fichier php
178 jpm 42
define ("CAR_CHEMIN_INSCRIPTION", "inscription");//l'adresse de renvoi pour s'inscrire au site
87 alex 43
 
44
 
45
/**
46
//==================================== CONSTANTES ==================================
47
* Constantes des noms de tables et de champs dans l'annuaire
48
//==================================================================================
49
*/
50
define ("CAR_ANNUAIRE", "annuaire_tela") ;
51
define ("CAR_CHAMPS_NOM", "U_NAME") ;                   // Nom du champs nom
52
define ("CAR_CHAMPS_MAIL", "U_MAIL") ;                  // Nom du champs mail
53
define ("CAR_CHAMPS_PRENOM", "U_SURNAME") ;             // Nom du champs prénom
54
define ("CAR_CHAMPS_CE_PAYS", "U_COUNTRY") ;
55
define ("CAR_CHAMPS_DPT", " U_FRENCH_DPT") ;
56
define ("CAR_CHAMPS_ID", "U_ID") ;
57
define ("CAR_CHAMPS_DATE_INS", "U_DATE") ;
58
define ("CAR_CHAMPS_REGION", "U_STATE") ;
59
define ("CAR_CHAMPS_CODE_POSTAL", "U_ZIP_CODE") ;
60
define ("CAR_CHAMPS_VILLE", "U_CITY") ;
61
 
62
define ("PROJET_DPT", "gen_FRENCH_DPT") ;           // Nom de la table département
63
define ("PROJET_PAYS", "gen_COUNTRY") ;             // Nom de la table pays
64
 
499 jpm 65
 
540 jpm 66
 
499 jpm 67
/** Tableau global contenant les mails des administrateurs. */
68
// Liste des personne recevant le mail après envoie de courriel par l'annuaire
69
$GLOBALS['mail_admin'] = array ('carto@tela-botanica.org',
540 jpm 70
								'Élise MOUYSSET <elise@tela-botanica.org>');
87 alex 71
?>