r57: Simplified query build. Searching now works. Added highlighting keywords. NB...
[bugdar.git] / templates / default / search.tpl
1 <div>Any fields left blank or unselected will be excluded from the search query</div>
2
3 <form action="search.php" method="post" name="search">
4 <input type="hidden" name="do" value="results" />
5
6 <div>
7 <strong>Key Words:</strong>
8 <input type="text" name="summary" size="35" />
9 <input type="radio" name="mode" value="1" checked="checked" /> Any Words
10 <input type="radio" name="mode" value="2" /> All Words
11 <input type="radio" name="mode" value="3" /> Raw Boolean Search
12 </div>
13 <div><strong>Reporter:</strong> <input type="text" name="reporter" size="35" /></div>
14
15 <div><strong>Severity:</strong> <select name="severity">$select[severity]</select></div>
16 <div><strong>Priority:</strong> <select name="priority">$select[priority]</select></div>
17 <div><strong>Status:</strong> <select name="status">$select[status]</select></div>
18 <div><strong>Resolution:</strong> <select name="resolution">$select[resolution]</select></div>
19 <div><strong>Assigned To:</strong> <select name="assignedto">$select[dev]</select></div>
20
21 <div>
22 <strong>Date (submitted since):</strong>
23 <select name="date">
24 <option value="0">Any Date</option>
25 <option value="1">Yesterday</opion>
26 <option value="7">1 Week</option>
27 <option value="15">15 Days</option>
28 <option value="30">30 Days</option>
29 <option value="90">90 Days</option>
30 <option value="365">1 Year</option>
31 </select>
32 </div>
33
34 <div><strong>Products/Components/Versions:</strong></div>
35 <div>
36 $pcv_select
37 </div>
38
39 <div>
40 <strong>Sort By:</strong>
41 <select name="sortby">
42 <option value="relevance">Relevance</option>
43 <option value="bygid">Bug ID</option>
44 <option value="severity">Severity</option>
45 <option value="priority">Priority</option>
46 <option value="status">Status</option>
47 <option value="resolution">Resolution</option>
48 <option value="dateline">Date</option>
49 </select>
50 <input type="radio" name="orderby" value="asc" checked="checked" /> Ascending
51 <input type="radio" name="orderby" value="desc" /> Descending
52 </div>
53
54 <div>
55 <input type="submit" name="submit" value=" Search " accesskey="s" />
56 <input type="reset" name="reset" value=" Reset " />
57 </div>
58
59 </form>