aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/users/search.html.tmpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/admin/users/search.html.tmpl b/template/en/default/admin/users/search.html.tmpl
index bab4338ae..f62148df2 100644
--- a/template/en/default/admin/users/search.html.tmpl
+++ b/template/en/default/admin/users/search.html.tmpl
@@ -46,14 +46,18 @@
</p>
[% IF restrictablegroups.size %]
- <p><input type="checkbox" name="grouprestrict" value="1" id="grouprestrict">
+ <p><input type="checkbox" name="grouprestrict" value="1" id="grouprestrict"
+ onchange="document.forms['f'].group_direct_membership.disabled=!this.checked">
<label for="grouprestrict">Restrict to users belonging to group</label>
<select name="groupid"
- onchange="document.forms['f'].grouprestrict.checked=true">
+ onchange="document.forms['f'].grouprestrict.checked=true;
+ document.forms['f'].group_direct_membership.disabled=false">
[% FOREACH group = restrictablegroups %]
<option value="[% group.id FILTER html %]">[% group.name FILTER html %]</option>
[% END %]
</select></p>
+ <p><input type="checkbox" name="group_direct_membership" value="1" id="group_direct_membership" disabled>
+ <label for="group_direct_membership">Restrict to users who are direct members of this group</label></p>
[% END %]
<p>