|
|
@ -14,7 +14,20 @@ |
|
|
|
<fieldset id="ldapSettings-1"> |
|
|
|
<fieldset id="ldapSettings-1"> |
|
|
|
<p><label for="ldap_serverconfig_chooser"><?php p($l->t('Server configuration'));?></label>
|
|
|
|
<p><label for="ldap_serverconfig_chooser"><?php p($l->t('Server configuration'));?></label>
|
|
|
|
<select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser"> |
|
|
|
<select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser"> |
|
|
|
<?php print_unescaped($_['serverConfigurationOptions']); ?> |
|
|
|
<?php if(count($_['serverConfigurationPrefixes']) == 0 ) { |
|
|
|
|
|
|
|
?> |
|
|
|
|
|
|
|
<option value="" selected>1. Server</option>'); |
|
|
|
|
|
|
|
<?php |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
$i = 1; |
|
|
|
|
|
|
|
$sel = ' selected'; |
|
|
|
|
|
|
|
foreach($_['serverConfigurationPrefixes'] as $prefix) { |
|
|
|
|
|
|
|
?> |
|
|
|
|
|
|
|
<option value="<?php p($prefix); ?>"<?php p($sel); ?>><?php p($i++); ?>. Server</option>
|
|
|
|
|
|
|
|
<?php |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
?> |
|
|
|
<option value="NEW"><?php p($l->t('Add Server Configuration'));?></option>
|
|
|
|
<option value="NEW"><?php p($l->t('Add Server Configuration'));?></option>
|
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<button id="ldap_action_delete_configuration" |
|
|
|
<button id="ldap_action_delete_configuration" |
|
|
|