| Line 41... |
Line 41... |
| 41 |
/**
|
41 |
/**
|
| 42 |
//=========================DEFINITION DE VARIABLES =================================
|
42 |
//=========================DEFINITION DE VARIABLES =================================
|
| 43 |
* Définition des variables globales
|
43 |
* Définition des variables globales
|
| 44 |
//==================================================================================
|
44 |
//==================================================================================
|
| 45 |
*/
|
45 |
*/
|
| 46 |
|
- |
|
| 47 |
$GLOBALS['AUTH'] = &$_GEN_commun['pear_auth'] ;
|
46 |
$GLOBALS['AUTH'] =& $_GEN_commun['pear_auth'] ;
|
| 48 |
$GLOBALS['ann_db'] = &$_GEN_commun['pear_db'] ;
|
47 |
$GLOBALS['ann_db'] =& $_GEN_commun['pear_db'] ;
|
| Line 49... |
Line 48... |
| 49 |
|
48 |
|
| 50 |
/**
|
49 |
/**
|
| 51 |
//==================================== LES URLS ==================================
|
50 |
//==================================== LES URLS ==================================
|
| 52 |
* Constantes liées à l'utilisation des url
|
51 |
* Constantes liées à l'utilisation des url
|
| 53 |
//==================================================================================
|
52 |
//==================================================================================
|
| 54 |
*/
|
53 |
*/
|
| 55 |
$GLOBALS['ann_url'] = &$_GEN_commun['url'];//l'url de base de l'application, un objet Net_URL
|
54 |
$GLOBALS['ann_url'] =& $_GEN_commun['url'];//l'url de base de l'application, un objet Net_URL
|
| 56 |
// Créer cet objet par $GLOBALS['ins_url'] = new Net_URL('http://....') ;
|
55 |
// Créer cet objet par $GLOBALS['ins_url'] = new Net_URL('http://....') ;
|
| 57 |
define("ANN_URL_ACTUALITE", 'http://www.tela-botanica.org/actu/article220.html') ;
|
56 |
define("ANN_URL_ACTUALITE", 'http://www.tela-botanica.org/actu/article220.html') ;
|
| 58 |
/**
|
57 |
/**
|
| 59 |
//=========================DEFINITION DE VARIABLES =================================
|
58 |
//=========================DEFINITION DE VARIABLES =================================
|
| Line 73... |
Line 72... |
| 73 |
/**
|
72 |
/**
|
| 74 |
//==================================== CONSTANTES ==================================
|
73 |
//==================================== CONSTANTES ==================================
|
| 75 |
* Constantes des noms de tables et de champs dans l'annuaire
|
74 |
* Constantes des noms de tables et de champs dans l'annuaire
|
| 76 |
//==================================================================================
|
75 |
//==================================================================================
|
| 77 |
*/
|
76 |
*/
|
| 78 |
|
- |
|
| 79 |
define ("ANN_ANNUAIRE", "annuaire_tela") ;
|
77 |
define ("ANN_ANNUAIRE", "annuaire_tela") ;
|
| 80 |
define ("ANN_CHAMPS_NOM", "U_NAME") ; // Nom du champs nom
|
78 |
define ("ANN_CHAMPS_NOM", "U_NAME") ; // Nom du champs nom
|
| 81 |
define ("ANN_CHAMPS_MAIL", "U_MAIL") ; // Nom du champs mail
|
79 |
define ("ANN_CHAMPS_MAIL", "U_MAIL") ; // Nom du champs mail
|
| 82 |
define ("ANN_CHAMPS_PRENOM", "U_SURNAME") ; // Nom du champs prénom
|
80 |
define ("ANN_CHAMPS_PRENOM", "U_SURNAME") ; // Nom du champs prénom
|
| 83 |
define ("ANN_CHAMPS_ID", "U_ID") ; // Nom du champs id
|
81 |
define ("ANN_CHAMPS_ID", "U_ID") ; // Nom du champs id
|
| 84 |
define ("ANN_CHAMPS_DATE_INS", "U_DATE") ;
|
82 |
define ("ANN_CHAMPS_DATE_INS", "U_DATE") ;
|
| - |
|
83 |
define ("ANN_CHAMPS_CODE_POSTAL", "U_ZIP_CODE") ;
|
| 85 |
define ("ANN_CHAMPS_VILLE", "U_CITY") ;
|
84 |
define ("ANN_CHAMPS_VILLE", "U_CITY") ;
|
| 86 |
define ("ANN_CHAMPS_PAYS", "U_COUNTRY") ;
|
85 |
define ("ANN_CHAMPS_PAYS", "U_COUNTRY") ;
|
| 87 |
define ("ANN_TABLE_PAYS", "gen_COUNTRY") ;
|
86 |
define ("ANN_TABLE_PAYS", "gen_COUNTRY") ;
|
| 88 |
define ("ANN_TABLE_DEPARTEMENT", "gen_FRENCH_DPT") ;
|
87 |
define ("ANN_TABLE_DEPARTEMENT", "gen_FRENCH_DPT") ;
|
| Line 89... |
Line 88... |
| 89 |
|
88 |
|
| 90 |
/**
|
89 |
/**
|
| 91 |
//==================================== CONSTANTES==================================
|
90 |
//==================================== CONSTANTES==================================
|
| 92 |
* Constantes contenant des mails
|
91 |
* Constantes contenant des mails
|
| 93 |
//==================================================================================
|
92 |
//==================================================================================
|
| 94 |
*/
|
- |
|
| 95 |
|
93 |
*/
|
| Line 96... |
Line 94... |
| 96 |
define ("ANN_MAIL_ADMIN", "") ;
|
94 |
define ("ANN_MAIL_ADMIN", "") ;
|
| 97 |
|
95 |
|
| 98 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
96 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|