Switch the 'modify' code of admin/field.php to use templates
[bugdar.git] / templates / search_update.tpl
1 <%- $doctype %>
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
3 <head>
4 <%- $headinclude %>
5 <link rel="stylesheet" type="text/css" href="templates/report.css" media="screen" />
6 <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
7 <title><%- bugdar::$options['trackertitle'] %> - <%-T("Mass Update")%></title>
8 </head>
9
10 <body>
11
12 <%- $header %>
13
14 <p><%-T("Any fields left blank or unselected will not be changed.")%></p>
15
16 <form name="search" action="search.php" method="post" class="form">
17 <input type="hidden" name="do" value="doupdate" />
18 <input type="hidden" name="searchid" value="<%- $search['searchid'] %>" />
19
20 <div id="fieldbody">
21 <!-- LEFT COLUMN -->
22 <div id="leftcol">
23
24 <!-- product & version -->
25 <fieldset>
26 <legend><%-T("Product / Version")%> $help[product]</legend>
27 <div class="field"><select name="product"><option value="">&nbsp;</option><%- $productSelect %></select></div>
28 </fieldset>
29 <!-- / product & version -->
30
31 <!-- status -->
32 <fieldset>
33 <legend><%-T("Status")%> $help[status]</legend>
34 <div class="field"><select name="status"><%- $select['status'] %></select></div>
35 </fieldset>
36 <!-- / status -->
37
38 <!-- priority -->
39 <fieldset>
40 <legend><%-T("Priority")%> $help[priority]</legend>
41 <div class="field"><select name="priority"><%- $select['priority'] %></select></div>
42 </fieldset>
43 <!-- / priority -->
44
45 <%- $customfields['left'] %>
46
47 </div>
48 <!-- / LEFT COLUMN -->
49
50 <!-- RIGHT COLUMN -->
51 <div id="rightcol">
52
53 <!-- assignment -->
54 <fieldset>
55 <legend><%-T("Assignment")%> $help[assignedto]</legend>
56 <div class="field"><select name="assignedto"><%- $select['dev'] %></select></div>
57 </fieldset>
58 <!-- / assignment -->
59
60 <!-- resolution -->
61 <fieldset>
62 <legend><%-T("Resolution")%> $help[resolution]</legend>
63 <div class="field"><select name="resolution"><%- $select['resolution'] %></select></div>
64 </fieldset>
65 <!-- / resolution -->
66
67 <!-- severity -->
68 <fieldset>
69 <legend><%-T("Severity")%> $help[severity]</legend>
70 <div class="field"><select name="severity"><%- $select['severity'] %></select></div>
71 </fieldset>
72 <!-- / severity -->
73
74 <% if (bugdar::$userinfo['userid']): %>
75 <!-- favorite -->
76 <fieldset>
77 <legend><%-T("Favorite")%></legend>
78 <div class="field">
79 <select name="favorite">
80 <option value="0"><%-T("Ignore")%></option>
81 <option value="1"><%-T("Yes")%></option>
82 <option value="-1"><%-T("No")%></option>
83 </select>
84 </div>
85 </fieldset>
86 <!-- / favorite -->
87 <% endif %>
88
89 <%- $customfields['right'] %>
90
91 </div>
92 <!-- / RIGHT COLUMN -->
93 </div>
94
95 <div class="clearspill"></div>
96
97 <div id="submitrow">
98 <input type="submit" name="submit" value=" <%-T("Update Results")%> " accesskey="s" />
99 <input type="reset" name="reset" value=" <%-T("Reset Fields")%> " accesskey="r" />
100 </div>
101
102 </form>
103
104 <%- $footer %>