display abstract DNs
This commit is contained in:
parent
1772ca14a7
commit
a8404469af
|
@ -181,10 +181,10 @@ echo "<legend><img align=\"middle\" src=\"../../graphics/logo32.png\" alt=\"logo
|
||||||
echo "<select name=\"ldap_suffix\" tabindex=\"1\">";
|
echo "<select name=\"ldap_suffix\" tabindex=\"1\">";
|
||||||
for ($i = 0; $i < sizeof($suffixes); $i++) {
|
for ($i = 0; $i < sizeof($suffixes); $i++) {
|
||||||
if (isset($old_options['ldap_suffix']) && ($old_options['ldap_suffix'][0] == $suffixes[$i])) {
|
if (isset($old_options['ldap_suffix']) && ($old_options['ldap_suffix'][0] == $suffixes[$i])) {
|
||||||
echo "<option selected>" . $suffixes[$i] . "</option>\n";
|
echo "<option selected value=\"" .$suffixes[$i] . "\">" . getAbstractDN($suffixes[$i]) . "</option>\n";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo "<option>" . $suffixes[$i] . "</option>\n";
|
echo "<option value=\"" .$suffixes[$i] . "\">" . getAbstractDN($suffixes[$i]) . "</option>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "</select>\n";
|
echo "</select>\n";
|
||||||
|
|
Loading…
Reference in New Issue