~ubuntu-branches/debian/sid/bugzilla/sid

« back to all changes in this revision

Viewing changes to template/en/default/admin/users/search.html.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2008-06-27 22:34:34 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080627223434-0ib57vstn43bb4a3
Tags: 3.0.4.1-1
* Update of French, Russian and German translations. (closes: #488251)
* Added Bulgarian and Belarusian translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[%# 1.0@bugzilla.org %]
2
 
[%# The contents of this file are subject to the Mozilla Public
3
 
  # License Version 1.1 (the "License"); you may not use this file
4
 
  # except in compliance with the License. You may obtain a copy of
5
 
  # the License at http://www.mozilla.org/MPL/
6
 
  #
7
 
  # Software distributed under the License is distributed on an "AS
8
 
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
 
  # implied. See the License for the specific language governing
10
 
  # rights and limitations under the License.
11
 
  #
12
 
  # The Original Code is the Bugzilla Bug Tracking System.
13
 
  #
14
 
  # Contributor(s): Marc Schumann <wurblzap@gmail.com>
15
 
  #                 David Lawrence <dkl@redhat.com>
16
 
  #%]
17
 
 
18
 
[%# INTERFACE:
19
 
  #
20
 
  # editusers:          is viewing user member of editusers?
21
 
  # restrictablegroups: list of groups visible to the user:
22
 
  #                     id: group id
23
 
  #                     name: group name
24
 
  #%]
25
 
 
26
 
 
27
 
[% PROCESS global/header.html.tmpl
28
 
  title = "Search users"
29
 
  style_urls = ['skins/standard/editusers.css']
30
 
  onload = "document.forms['f'].matchstr.focus()"
31
 
%]
32
 
 
33
 
[% PROCESS admin/users/listselectvars.html.tmpl
34
 
  listselectionvalues = listselectionvalues
35
 
%]
36
 
 
37
 
<form name="f" method="get" action="editusers.cgi">
38
 
<input type="hidden" name="action" value="list" />
39
 
<p><label for="matchvalue">List users with</label>
40
 
<select id="matchvalue" name="matchvalue">
41
 
  <option value="login_name">login name</option>
42
 
  <option value="realname">real name</option>
43
 
  <option value="userid">user id</option>
44
 
</select>
45
 
<label for="matchstr">matching</label>
46
 
<input size="32" name="matchstr" id="matchstr" />
47
 
<select name="matchtype">
48
 
  <option value="substr" selected="selected">case-insensitive substring</option>
49
 
  <option value="regexp">case-insensitive regexp</option>
50
 
  <option value="notregexp">not (case-insensitive regexp)</option>
51
 
  <option value="exact">exact (find this user)</option>
52
 
</select>
53
 
<input type="submit" id="search" value="Search" /></p>
54
 
 
55
 
[% IF restrictablegroups.size %]
56
 
  <p><input type="checkbox" name="grouprestrict" value="1" id="grouprestrict" />
57
 
  <label for="grouprestrict">Restrict to users belonging to group</label>
58
 
  <select name="groupid"
59
 
          onchange="document.forms['f'].grouprestrict.checked=true">
60
 
    [% FOREACH group = restrictablegroups %]
61
 
      <option value="[% group.id FILTER html %]">[% group.name FILTER html %]</option>
62
 
    [% END %]
63
 
  </select></p>
64
 
[% END %]
65
 
</form>
66
 
 
67
 
[% IF editusers %]
68
 
  <p>
69
 
    You can also <a href="editusers.cgi?action=add">add a new user</a>
70
 
    [%- IF listselectionvalues %],
71
 
      or
72
 
      <a href="editusers.cgi?action=list[% INCLUDE listselectionurlparams %]">show
73
 
      the user list again</a>
74
 
    [%- END %].
75
 
  </p>
76
 
[% END %]
77
 
 
78
 
[% PROCESS global/footer.html.tmpl %]