$v) {
$nom = 'ldap_' . $champ;
$val = trim(_request($nom));
if (preg_match('/^\w*$/', $val)) {
if ($val) {
$val = _q($val);
}
} else {
$val = 'array(' . _q(preg_split('/\W+/', $val)) . ')';
};
if ($val) {
$res .= "'$champ' => " . $val . ',';
}
}
$conn .= "\$GLOBALS['ldap_champs'] = array($res);\n";
install_fichier_connexion(_DIR_CONNECT . _FILE_LDAP, $conn);
}
function etape_ldap5_suite() {
echo install_debut_html('AUTO', ' onload="document.getElementById(\'suivant\').focus();return false;"');
echo info_etape(
_T('info_ldap_ok'),
info_progression_etape(5, 'etape_ldap', 'install/'),
_T('info_terminer_installation')
);
echo generer_form_ecrire('install', (
"" .
""
. bouton_suivant()));
echo install_fin_html();
}