diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-23 11:40:00 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-23 11:40:00 +0200 |
commit | f5cef2fcbf7b0626d7e2c02727e3d51987beec40 (patch) | |
tree | d91c835dee0911d4091af9ba534162c99c7d2c05 /apps/user_ldap/templates | |
parent | 3b10cddceb6b239766786b0367847cc4ad3ff6a0 (diff) | |
download | nextcloud-server-f5cef2fcbf7b0626d7e2c02727e3d51987beec40.tar.gz nextcloud-server-f5cef2fcbf7b0626d7e2c02727e3d51987beec40.zip |
cleaned up LDAP settings
Diffstat (limited to 'apps/user_ldap/templates')
-rw-r--r-- | apps/user_ldap/templates/settings.php | 35 |
1 files changed, 10 insertions, 25 deletions
diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php index 9a038027b81..32e1b29dafb 100644 --- a/apps/user_ldap/templates/settings.php +++ b/apps/user_ldap/templates/settings.php @@ -1,27 +1,12 @@ -<form id="ldap" action='#' method='post'> - <fieldset> - <legend>LDAP</legend> - <div> - <div> - <span>Host: *</span><span><input type="text" name="ldap_host" width="200" value="<?php echo $_['ldap_host']; ?>"></span> - </div> - <div> - <span>Port: *</span><span><input type="text" name="ldap_port" width="200" value="<?php echo $_['ldap_port']; ?>"></span> - </div> - <div> - <span>DN:<input type="text" name="ldap_dn" width="200" value="<?php echo $_['ldap_dn']; ?>"></span> - </div> - <div> - <span>Password:<input type="password" name="ldap_password" width="200" value="<?php echo $_['ldap_password']; ?>"></span> - </div> - <div> - <span>Base: *<input type="text" name="ldap_base" width="200" value="<?php echo $_['ldap_base']; ?>"></span> - </div> - <div> - <span>Filter * (use %uid placeholder):<input type="text" name="ldap_filter" width="200" value="<?php echo $_['ldap_filter']; ?>"></span> - </div> - </div> - <input type='submit' value='Save'/> - <br/> * required +<form id="ldap" action="#" method="post"> + <fieldset class="personalblock"> + <legend><strong>LDAP</strong></legend> + <p><label for="ldap_host">Host<input type="text" id="ldap_host" name="ldap_host" value="<?php echo $_['ldap_host']; ?>"></label> + <label for="ldap_port">Port</label><input type="text" id="ldap_port" name="ldap_port" value="<?php echo $_['ldap_port']; ?>" /></p> + <p><label for="ldap_dn">Name</label><input type="text" id="ldap_dn" name="ldap_dn" value="<?php echo $_['ldap_dn']; ?>" /> + <label for="ldap_password">Password</label><input type="password" id="ldap_password" name="ldap_password" value="<?php echo $_['ldap_password']; ?>" /></p> + <p><label for="ldap_base">Base</label><input type="text" id="ldap_base" name="ldap_base" value="<?php echo $_['ldap_base']; ?>" /> + <label for="ldap_filter">Filter (use %uid placeholder)</label><input type="text" id="ldap_filter" name="ldap_filter" value="<?php echo $_['ldap_filter']; ?>" /></p> + <input type="submit" value="Save" /> </fieldset> </form> |