Subversion Repositories Sites.gentiana.org

Compare Revisions

Ignore whitespace Rev 43 → Rev 44

/trunk/client/inscription/configuration/ins_config.inc.php
56,7 → 56,7
* Constantes des noms de tables et de champs dans l'annuaire
//==================================================================================
*/
define('INS_ANNUAIRE', 'annuaire') ;
define ('INS_ANNUAIRE', 'annuaire') ;
define ('INS_CHAMPS_ID', 'a_id') ;
define ('INS_CHAMPS_MAIL', 'a_mail');// Nom du champs mail
define ('INS_CHAMPS_LOGIN', 'a_nom_wikini') ;
64,12 → 64,6
define ('INS_CHAMPS_PRENOM', 'a_prenom') ;
define ('INS_CHAMPS_PASSE', 'a_mot_de_passe') ;
define ('INS_CHAMPS_PAYS', 'a_ce_pays') ;
define ('PROJET_PRENOM', 'a_prenom') ; // Nom du champs prénom
define ('PROJET_DPT', 'carto_DEPARTEMENT') ; // Nom de la table département
define ('INS_TABLE_PAYS', 'carto_PAYS') ; // Nom de la table pays
define ('INS_CHAMPS_ID_PAYS', 'CP_ID_Pays') ;
define ('INS_CHAMPS_LABEL_PAYS', 'CP_Intitule_pays') ;
define ('INS_CHAMPS_PAYS_LG', 'CP_Langue_intitule') ;// Langue de l'intitule du pays
define ('INS_CHAMPS_CODE_POSTAL', 'a_code_postal') ;
define ('INS_CHAMPS_VILLE', 'a_ville') ;
define ('INS_CHAMPS_ADRESSE_1', 'a_adresse1') ;
83,6 → 77,13
define ('INS_CHAMPS_DATE', 'a_date_inscription') ;
define ('INS_CHAMPS_LETTRE', 'a_lettre') ; // Le champs qui indique si l'usager est inscrit à la lettre d'inscription
 
define ('PROJET_PRENOM', 'a_prenom') ; // Nom du champs prénom
define ('PROJET_DPT', 'carto_DEPARTEMENT') ; // Nom de la table département
define ('INS_TABLE_PAYS', 'carto_PAYS') ; // Nom de la table pays
define ('INS_CHAMPS_ID_PAYS', 'CP_ID_Pays') ;
define ('INS_CHAMPS_LABEL_PAYS', 'CP_Intitule_pays') ;
define ('INS_CHAMPS_PAYS_LG', 'CP_Langue_intitule') ;// Langue de l'intitule du pays
 
/**
//==================================== PARAMETRAGE =================================
* Pour régler certaines fonctionnalité de l'application
/trunk/client/inscription/inscription.php
40,9 → 40,12
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm.php' ;
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/checkbox.php' ;
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/password.php' ;
 
if (isset($lang)) {
include_once "client/inscription/langues/ins_langue_$lang.inc.php";
/** Constante "dynamique" stockant la langue demandée par l'utilisateur pour l'application.*/
define('INS_LANGUE', substr($GLOBALS['_GEN_commun']['i18n'], 0, 2));
$fichier_lg = 'client/inscription/langues/ins_langue_'.INS_LANGUE.'.inc.php';
if (file_exists($fichier_lg)) {
include_once $fichier_lg;
include_once 'client/inscription/langues/ins_langue_'.INS_LANGUE.'.inc.php';
} else {
include_once 'client/inscription/langues/ins_langue_fr.inc.php' ;
}