Line 38... |
Line 38... |
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
include_once PAP_CHEMIN_API_PEAR.'Mail.php' ;
|
39 |
include_once PAP_CHEMIN_API_PEAR.'Mail.php' ;
|
40 |
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm.php' ;
|
40 |
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm.php' ;
|
41 |
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/checkbox.php' ;
|
41 |
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/checkbox.php' ;
|
42 |
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/password.php' ;
|
42 |
require_once PAP_CHEMIN_API_PEAR.'HTML/QuickForm/password.php' ;
|
43 |
|
- |
|
- |
|
43 |
/** Constante "dynamique" stockant la langue demandée par l'utilisateur pour l'application.*/
|
- |
|
44 |
define('INS_LANGUE', substr($GLOBALS['_GEN_commun']['i18n'], 0, 2));
|
- |
|
45 |
$fichier_lg = 'client/inscription/langues/ins_langue_'.INS_LANGUE.'.inc.php';
|
44 |
if (isset($lang)) {
|
46 |
if (file_exists($fichier_lg)) {
|
- |
|
47 |
include_once $fichier_lg;
|
45 |
include_once "client/inscription/langues/ins_langue_$lang.inc.php";
|
48 |
include_once 'client/inscription/langues/ins_langue_'.INS_LANGUE.'.inc.php';
|
46 |
} else {
|
49 |
} else {
|
47 |
include_once 'client/inscription/langues/ins_langue_fr.inc.php' ;
|
50 |
include_once 'client/inscription/langues/ins_langue_fr.inc.php' ;
|
48 |
}
|
51 |
}
|
49 |
include_once 'client/inscription/configuration/ins_config.inc.php';
|
52 |
include_once 'client/inscription/configuration/ins_config.inc.php';
|
50 |
include_once 'client/inscription/bibliotheque/inscription.fonct.php';
|
53 |
include_once 'client/inscription/bibliotheque/inscription.fonct.php';
|