diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-01-18 01:23:15 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-01-18 01:23:15 +0100 |
commit | a53addf8250ea47a36837463f15122339123aeff (patch) | |
tree | 53c89eb8549106000a418e58cf72bb9cf7881b85 /apps/user_ldap/templates/settings.php | |
parent | d8be83029b107359884f9e23dd5bded71fea8999 (diff) | |
download | nextcloud-server-a53addf8250ea47a36837463f15122339123aeff.tar.gz nextcloud-server-a53addf8250ea47a36837463f15122339123aeff.zip |
LDAP: first basics for multiserver config ui
Diffstat (limited to 'apps/user_ldap/templates/settings.php')
-rw-r--r-- | apps/user_ldap/templates/settings.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php index 030fbff4aac..c3ec20fc847 100644 --- a/apps/user_ldap/templates/settings.php +++ b/apps/user_ldap/templates/settings.php @@ -12,6 +12,11 @@ } ?> <fieldset id="ldapSettings-1"> + <p><label for="ldap_serverconfig_chooser"><?php echo $l->t('Server configuration');?></label><select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser"> + <option value="" selected><?php echo $l->t('Default (1. Server)');?></option> + <?php echo $_['serverConfigurationOptions']; ?> + <option value="NEW"><?php echo $l->t('Add Server Configuration');?></option> + </select></p> <p><label for="ldap_host"><?php echo $l->t('Host');?></label><input type="text" id="ldap_host" name="ldap_host" value="<?php echo $_['ldap_host']; ?>" title="<?php echo $l->t('You can omit the protocol, except you require SSL. Then start with ldaps://');?>"></p> <p><label for="ldap_base"><?php echo $l->t('Base DN');?></label><textarea id="ldap_base" name="ldap_base" placeholder="<?php echo $l->t('One Base DN per line');?>" title="<?php echo $l->t('You can specify Base DN for users and groups in the Advanced tab');?>"><?php echo $_['ldap_base']; ?></textarea></p> <p><label for="ldap_dn"><?php echo $l->t('User DN');?></label><input type="text" id="ldap_dn" name="ldap_dn" value="<?php echo $_['ldap_dn']; ?>" title="<?php echo $l->t('The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.');?>" /></p> |