r339: - cache templates
[bugdar.git] / templates / search.tpl
1 $doctype
2 <html lang="$stylevar[lang]" xml:lang="$stylevar[lang]">
3 <head>
4 $headinclude
5 <title>{$bugsys->options['trackertitle']} - Search</title>
6 </head>
7
8 $header
9
10 <div>Any fields left blank or unselected will be excluded from the search query</div>
11
12 <form name="search" action="search.php" method="post" class="form">
13 <input type="hidden" name="do" value="process" />
14
15 <table width="100%" cellspasing="$stylevar[spacing_border]" cellpadding="$stylevar[padding]" border="$stylevar[border]" class="tborder">
16 <tr>
17 <!-- summary -->
18 <td class="tlabel">Keywords</td>
19 <td class="tdata"><input type="text" name="summary" size="25" style="width: 100%" /></td>
20 <!-- / summary -->
21
22 <!-- mode -->
23 <td class="tlabel">Search Mode</td>
24 <td class="tdata">
25 <select name="mode">
26 <option value="1" selected="selected">Any Words</option>
27 <option value="2">All Words</option>
28 <option value="3">Raw Boolean Search</option>
29 </select>
30 </td>
31 <!-- / mode -->
32 </tr>
33 <tr>
34 <!-- reporter -->
35 <td class="tlabel">Reporter</td>
36 <td class="tdata"><input type="text" name="reporter" size="25" style="width: 100%" /></td>
37 <!-- / reporter -->
38
39 <!-- sort by -->
40 <td class="tlabel">Sort By</td>
41 <td class="tdata">
42 <select name="sortby">
43 <option value="relevance">Relevance</option>
44 <option value="bugid">Bug ID</option>
45 <option value="severity">Severity</option>
46 <option value="priority">Priority</option>
47 <option value="status">Status</option>
48 <option value="resolution">Resolution</option>
49 <option value="dateline">Date</option>
50 </select>
51
52 <select name="orderby">
53 <option value="asc" selected="selected">Ascending</option>
54 <option value="desc">Descending</option>
55 </select>
56 </td>
57 <!-- / sort by -->
58 </tr>
59 <tr>
60 <!-- status -->
61 <td class="tlabel">Status</td>
62 <td class="tdata"><select name="status">$select[status]</td>
63 <!-- / status -->
64
65 <!-- resoultion -->
66 <td class="tlabel">Resolution</td>
67 <td class="tdata"><select name="resolution">$select[resolution]</td>
68 <!-- / resolution -->
69 </tr>
70 <tr>
71 <!-- severity -->
72 <td class="tlabel">Severity</td>
73 <td class="tdata"><select name="severity">$select[severity]</td>
74 <!-- / severity -->
75
76 <!-- priority -->
77 <td class="tlabel">Priority</td>
78 <td class="tdata"><select name="priority">$select[priority]</td>
79 <!-- / priority -->
80 </tr>
81 <tr>
82 <!-- assigned to -->
83 <td class="tlabel">Assigned To</td>
84 <td class="tdata"><select name="assignedto">$select[dev]</td>
85 <!-- / assigned to -->
86
87 <!-- date -->
88 <td class="tlabel">Date (submitted since)</td>
89 <td class="tdata">
90 <select name="date">
91 <option value="0">Any Date</option>
92 <option value="1">Yesterday</opion>
93 <option value="7">1 Week</option>
94 <option value="15">15 Days</option>
95 <option value="30">30 Days</option>
96 <option value="90">90 Days</option>
97 <option value="365">1 Year</option>
98 </select>
99 </td>
100 <!-- / date -->
101 </tr>
102 <tr>
103 <!-- product & version -->
104 <td class="tlabel" valign="top">Product / Version</td>
105 <td class="tdata"><select name="pcv_select" size="10" multiple="multiple">$pcv_select</select></td>
106 <!-- / product & version -->
107
108 <!-- other items -->
109 <td class="tlabel" valign="top" colspan="2">
110 <if condition="$bugsys->userinfo['userid']"><div><strong>Favourite:</strong> <input type="checkbox" name="favourite" value="1" /></div></if>
111 </td>
112 <!-- / other items -->
113 </tr>
114
115 <!-- spacer -->
116 <tr>
117 <td colspan="4" style="height: 1px"></td>
118 </tr>
119 <!-- / spacer -->
120
121 $customfields
122
123 <!-- submit row -->
124 <tr>
125 <td colspan="4" class="tfoot">
126 <input type="submit" name="submit" value=" Search Reports " accesskey="s" />
127 <input type="reset" name="reset" value=" Reset Fields " accesskey="r" />
128 </td>
129 </tr>
130 <!-- / submit row -->
131 </table>
132
133 </form>
134
135 $footer