34,14 → 34,14 |
|
$message = ""; |
if ((bool)$erreur){ |
$message = "<div align=\"center\"><br />"; |
$message.="<strong><font color=\"red\">".$erreur."</font></strong><br />"; |
$message.="<br /></div>"; |
$message = "<div align=\"center\"><br>"; |
$message.="<strong><font color=\"red\">".$erreur."</font></strong><br>"; |
$message.="<br></div>"; |
}else{ |
if ($update){ |
$message = "<div align=\"center\"><br />"; |
$message.="<strong><font color=\"red\">Mise à jour des paramètres ldap réalisé avec succès</font><br /></strong>"; |
$message.="<br /></div>"; |
$message = "<div align=\"center\"><br>"; |
$message.="<strong><font color=\"red\">Mise à jour des paramètres ldap réalisé avec succès</font><br></strong>"; |
$message.="<br></div>"; |
} |
} |
|
214,10 → 214,10 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html><!-- written by steweb57 --> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title><?php echo $l_ldap_title; ?></title> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
<link rel="stylesheet" href="../css/ldap.css" type="text/css"> |
<link rel="stylesheet" href="/css/ldap.css" type="text/css"> |
<script language="javascript"> |
function testLdapActif(){ |
//List des ID des éléments à désactiver |
268,66 → 268,66 |
<dl> |
<dt> |
<label for="ldap_server"><?php echo $l_ldap_server_label; ?></label> |
<br /> |
<br> |
<?php echo $l_ldap_server_text; ?></dt> |
<dd> |
<input id="ldap_server" size="40" name="ldap_server" value="<?php echo htmlspecialchars($ldap_server); ?>"/> |
<input id="ldap_server" size="40" name="ldap_server" value="<?php echo htmlspecialchars($ldap_server); ?>"> |
</dd> |
</dl> |
<dl> |
<dt> |
<label for="ldap_dn"><?php echo $l_ldap_base_dn_label; ?></label> |
<br /> |
<br> |
<?php echo $l_ldap_base_dn_text; ?></dt> |
<dd> |
<input id="ldap_dn" size="40" name="ldap_base_dn" value="<?php echo htmlspecialchars($ldap_basedn); ?>" /> |
<input id="ldap_dn" size="40" name="ldap_base_dn" value="<?php echo htmlspecialchars($ldap_basedn); ?>"> |
</dd> |
</dl> |
<dl> |
<dt> |
<label for="ldap_filter"><?php echo $l_ldap_filter_label; ?></label> |
<br /> |
<br> |
<?php echo $l_ldap_filter_text; ?></dt> |
<dd> |
<input id="ldap_filter" size="40" name="ldap_filter" value="<?php echo htmlspecialchars($ldap_filter); ?>" /> |
<input id="ldap_filter" size="40" name="ldap_filter" value="<?php echo htmlspecialchars($ldap_filter); ?>"> |
</dd> |
</dl> |
<dl> |
<dt> |
<label for="ldap_base_filter"><?php echo $l_ldap_base_filter_label; ?></label> |
<br /> |
<br> |
<?php echo $l_ldap_base_filter_text; ?></dt> |
<dd> |
<input id="ldap_base_filter" size="40" name="ldap_base_filter" value="<?php echo htmlspecialchars($ldap_base_filter); ?>" /> |
<input id="ldap_base_filter" size="40" name="ldap_base_filter" value="<?php echo htmlspecialchars($ldap_base_filter); ?>"> |
</dd> |
</dl> |
<dl> |
<dt> |
<label for="ldap_user"><?php echo $l_ldap_user_label; ?></label> |
<br /> |
<br> |
<?php echo $l_ldap_user_text; ?></dt> |
<dd> |
<input id="ldap_user" size="40" name="ldap_user" value="<?php echo htmlspecialchars($ldap_identity); ?>" /> |
<input id="ldap_user" size="40" name="ldap_user" value="<?php echo htmlspecialchars($ldap_identity); ?>"> |
</dd> |
</dl> |
<dl> |
<dt> |
<label for="ldap_password"><?php echo $l_ldap_password_label; ?></label> |
<br /> |
<br> |
<?php echo $l_ldap_password_text; ?></dt> |
<dd> |
<input id="ldap_password" type="password" size="40" name="ldap_password" value="<?php echo htmlspecialchars($ldap_password);?>" /> |
<input id="ldap_password" type="password" size="40" name="ldap_password" value="<?php echo htmlspecialchars($ldap_password);?>"> |
</dd> |
</dl> |
<p> |
<input id="submit" type="submit" value="<?php echo $l_ldap_submit; ?>" name="submit" /> |
<input id="submit" type="submit" value="<?php echo $l_ldap_submit; ?>" name="submit"> |
|
<input id="reset" type="reset" value="<?php echo $l_ldap_reset; ?>" name="reset" /> |
<input id="reset" type="reset" value="<?php echo $l_ldap_reset; ?>" name="reset"> |
</p> |
|
</fieldset> |
</form> |
<br /> |
<br> |
</td></tr> |
</table> |
</body> |