summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/templates
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-10-08 13:06:18 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-10-08 13:06:18 +0200
commit7ba787e649de83da03ea1809d54d74fedc31a9ea (patch)
tree0f457c33be488081f4c2ad11f4ae9cead7f83164 /apps/user_ldap/templates
parentb6fc7f5599a08ab047e10775b4071514c7cd170d (diff)
downloadnextcloud-server-7ba787e649de83da03ea1809d54d74fedc31a9ea.tar.gz
nextcloud-server-7ba787e649de83da03ea1809d54d74fedc31a9ea.zip
user and group counts are only upated on demand in experienced mode
Diffstat (limited to 'apps/user_ldap/templates')
-rw-r--r--apps/user_ldap/templates/part.wizard-groupfilter.php7
-rw-r--r--apps/user_ldap/templates/part.wizard-userfilter.php7
2 files changed, 10 insertions, 4 deletions
diff --git a/apps/user_ldap/templates/part.wizard-groupfilter.php b/apps/user_ldap/templates/part.wizard-groupfilter.php
index e460997b1bf..1953d2eaa6e 100644
--- a/apps/user_ldap/templates/part.wizard-groupfilter.php
+++ b/apps/user_ldap/templates/part.wizard-groupfilter.php
@@ -30,13 +30,16 @@
placeholder="<?php p($l->t('Raw LDAP filter'));?>"
title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', $theme->getName()));?>"
/>
+ <button class="ldapGetEntryCount hidden" name="ldapGetEntryCount" type="button">
+ <?php p($l->t('Test Filter'));?>
+ </button>
</p>
<p>
<div class="ldapWizardInfo invisible">&nbsp;</div>
</p>
- <p>
+ <p class="ldap_count">
<span id="ldap_group_count">0 <?php p($l->t('groups found'));?></span>
</p>
<?php print_unescaped($_['wizardControls']); ?>
</div>
-</fieldset> \ No newline at end of file
+</fieldset>
diff --git a/apps/user_ldap/templates/part.wizard-userfilter.php b/apps/user_ldap/templates/part.wizard-userfilter.php
index eff9f89ce2c..99a6e75370b 100644
--- a/apps/user_ldap/templates/part.wizard-userfilter.php
+++ b/apps/user_ldap/templates/part.wizard-userfilter.php
@@ -30,13 +30,16 @@
placeholder="<?php p($l->t('Raw LDAP filter'));?>"
title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', $theme->getName()));?>"
/>
+ <button class="ldapGetEntryCount hidden" name="ldapGetEntryCount" type="button">
+ <?php p($l->t('Test Filter'));?>
+ </button>
</p>
<p>
<div class="ldapWizardInfo invisible">&nbsp;</div>
</p>
- <p>
+ <p class="ldap_count">
<span id="ldap_user_count">0 <?php p($l->t('users found'));?></span>
</p>
<?php print_unescaped($_['wizardControls']); ?>
</div>
-</fieldset> \ No newline at end of file
+</fieldset>