summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/templates
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-10-09 23:04:06 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-10-17 19:13:28 +0200
commit3ae696f8438d4ecd0ec374ef73df7911b0d0a1db (patch)
tree673ce6e3983d4b6a0955c6c89a087b1a5232472c /apps/user_ldap/templates
parentf6b60c65866ff07f28ed06dd56aa784b62f1f0c8 (diff)
downloadnextcloud-server-3ae696f8438d4ecd0ec374ef73df7911b0d0a1db.tar.gz
nextcloud-server-3ae696f8438d4ecd0ec374ef73df7911b0d0a1db.zip
Wizard does not need data-defaults here
Diffstat (limited to 'apps/user_ldap/templates')
-rw-r--r--apps/user_ldap/templates/part.wizard-server.php7
-rw-r--r--apps/user_ldap/templates/part.wizard-userfilter.php14
2 files changed, 3 insertions, 18 deletions
diff --git a/apps/user_ldap/templates/part.wizard-server.php b/apps/user_ldap/templates/part.wizard-server.php
index 92c02177504..01dd8d0fcb2 100644
--- a/apps/user_ldap/templates/part.wizard-server.php
+++ b/apps/user_ldap/templates/part.wizard-server.php
@@ -27,14 +27,12 @@
<div class="table">
<input type="text" class="host tablecell lwautosave" id="ldap_host"
name="ldap_host"
- data-default="<?php p($_['ldap_host_default']); ?>"
placeholder="<?php p($l->t('Host'));?>"
title="<?php p($l->t('You can omit the protocol, except you require SSL. Then start with ldaps://'));?>"
/>
<span>
<input type="number" id="ldap_port" name="ldap_port"
class="invisible lwautosave"
- data-default="<?php p($_['ldap_port_default']); ?>"
placeholder="<?php p($l->t('Port'));?>" />
</span>
</div>
@@ -43,7 +41,6 @@
<div class="tablerow">
<input type="text" id="ldap_dn" name="ldap_dn"
class="tablecell lwautosave"
- data-default="<?php p($_['ldap_dn_default']); ?>"
placeholder="<?php p($l->t('User DN'));?>"
title="<?php p($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.'));?>"
/>
@@ -52,7 +49,6 @@
<div class="tablerow">
<input type="password" id="ldap_agent_password"
class="tablecell lwautosave" name="ldap_agent_password"
- data-default="<?php p($_['ldap_agent_password_default']); ?>"
placeholder="<?php p($l->t('Password'));?>"
title="<?php p($l->t('For anonymous access, leave DN and Password empty.'));?>"
/>
@@ -62,8 +58,7 @@
<textarea id="ldap_base" name="ldap_base"
class="tablecell invisible lwautosave"
placeholder="<?php p($l->t('One Base DN per line'));?>"
- title="<?php p($l->t('You can specify Base DN for users and groups in the Advanced tab'));?>"
- data-default="<?php p($_['ldap_base_default']); ?>" >
+ title="<?php p($l->t('You can specify Base DN for users and groups in the Advanced tab'));?>">
</textarea>
</div>
diff --git a/apps/user_ldap/templates/part.wizard-userfilter.php b/apps/user_ldap/templates/part.wizard-userfilter.php
index 879af95b2bc..85c870b5de3 100644
--- a/apps/user_ldap/templates/part.wizard-userfilter.php
+++ b/apps/user_ldap/templates/part.wizard-userfilter.php
@@ -1,49 +1,39 @@
<fieldset id="ldapWizard2">
-
<div>
<p>
<?php p($l->t('Limit the access to ownCloud to users meeting this criteria:'));?>
</p>
-
<p>
<label for="ldap_userfilter_objectclass">
<?php p($l->t('only those object classes:'));?>
</label>
<select id="ldap_userfilter_objectclass" multiple="multiple"
- name="ldap_userfilter_objectclass"
- data-default="<?php p($_['ldap_userfilter_objectclass_default']); ?>">
+ name="ldap_userfilter_objectclass">
</select>
</p>
-
<p>
<label for="ldap_userfilter_groups">
<?php p($l->t('only from those groups:'));?>
</label>
<select id="ldap_userfilter_groups" multiple="multiple"
- name="ldap_userfilter_groups"
- data-default="<?php p($_['ldap_userfilter_groups_default']); ?>">
+ name="ldap_userfilter_groups">
</select>
</p>
-
<p>
<label><a id='toggleRawUserFilter'>↓ <?php p($l->t('Edit raw filter instead'));?></a></label>
</p>
-
<p id="rawUserFilterContainer" class="invisible">
<input type="text" id="ldap_userlist_filter" name="ldap_userlist_filter"
class="lwautosave"
- data-default="<?php p($_['ldap_userlist_filter_default']); ?>"
placeholder="<?php p($l->t('Raw LDAP filter'));?>"
title="<?php p($l->t('The filter specifies which LDAP users shall have access to the ownCloud instance.'));?>"
/>
</p>
-
<p>
<div class="ldapWizardInfo invisible">&nbsp;</div>
</p>
-
<p>
<span id="ldap_user_count">0</span> <span><?php p($l->t('user(s) found'));?></span>
</p>