[ Index ] |
|
Code source de SPIP 1.9.2c |
1 <?php 2 3 /***************************************************************************\ 4 * SPIP, Systeme de publication pour l'internet * 5 * * 6 * Copyright (c) 2001-2007 * 7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * 8 * * 9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * 10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. * 11 \***************************************************************************/ 12 13 if (!defined("_ECRIRE_INC_VERSION")) return; #securite 14 15 include_spip('inc/headers'); 16 17 // http://doc.spip.org/@inc_install_5 18 function install_etape_5_dist() 19 { 20 global $email, $ldap_present, $login, $nom, $pass, $spip_lang_right; 21 22 echo install_debut_html(); 23 24 if (@file_exists(_FILE_CONNECT_INS . _FILE_TMP . '.php')) 25 include(_FILE_CONNECT_INS . _FILE_TMP . '.php'); 26 else 27 redirige_par_entete(generer_url_ecrire('install')); 28 29 if (@file_exists(_FILE_CHMOD_INS . _FILE_TMP . '.php')) 30 include(_FILE_CHMOD_INS . _FILE_TMP . '.php'); 31 else 32 redirige_par_entete(generer_url_ecrire('install')); 33 34 echo info_etape(_T('info_informations_personnelles'), 35 "<b>"._T('texte_informations_personnelles_1')."</b>" . 36 aide ("install5") . 37 "</p><p>" . 38 _T('texte_informations_personnelles_2') . " " . 39 _T('info_laisser_champs_vides') 40 ); 41 42 echo generer_url_post_ecrire('install'); 43 44 echo "<input type='hidden' name='etape' value='6' />"; 45 46 echo fieldset(_T('info_identification_publique'), 47 array( 48 'nom' => array( 49 'label' => "<b>"._T('entree_signature')."</b><br />\n"._T('entree_nom_pseudo_1')."\n", 50 'valeur' => $nom 51 ), 52 'email' => array( 53 'label' => "<b>"._T('entree_adresse_email')."</b>\n", 54 'valeur' => $email 55 ) 56 ) 57 ); 58 59 echo fieldset(_T('entree_identifiants_connexion'), 60 array( 61 'login' => array( 62 'label' => "<b>"._T('entree_login')."</b><br />\n"._T('info_plus_trois_car')."\n", 63 'valeur' => $login 64 ), 65 'pass' => array( 66 'label' => "<b>"._T('entree_mot_passe')."</b><br />\n"._T('info_plus_cinq_car_2')."\n", 67 'valeur' => $pass 68 ), 69 'pass_verif' => array( 70 'label' => "<b>"._T('info_confirmer_passe')."</b><br />\n", 71 'valeur' => $pass 72 ) 73 ) 74 ); 75 76 echo bouton_suivant(); 77 echo "</form>\n"; 78 79 if (function_exists('ldap_connect') AND !$ldap_present) { 80 echo generer_url_post_ecrire('install'); 81 echo fieldset(_T('info_authentification_externe'), 82 array( 83 'etape' => array( 84 'label' => _T('texte_annuaire_ldap_1'), 85 'valeur' => 'ldap1', 86 'hidden' => true 87 )), 88 bouton_suivant(_T('bouton_acces_ldap')) 89 ); 90 echo "</form>\n"; 91 } 92 93 echo install_fin_html(); 94 } 95 96 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Wed Nov 21 10:20:27 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |