r295: Added global page elements to main pages.
[bugdar.git] / templates / search.tpl
1 $doctype
2 $headinclude
3 $header
4
5 <div>Any fields left blank or unselected will be excluded from the search query</div>
6
7 <form action="search.php" method="post" name="search">
8 <input type="hidden" name="do" value="results" />
9
10 <div>
11 <strong>Key Words:</strong>
12 <input type="text" name="summary" size="35" />
13 <input type="radio" name="mode" value="1" checked="checked" /> Any Words
14 <input type="radio" name="mode" value="2" /> All Words
15 <input type="radio" name="mode" value="3" /> Raw Boolean Search
16 </div>
17 <div><strong>Reporter:</strong> <input type="text" name="reporter" size="35" /></div>
18
19 <if condition="$bugsys->userinfo['userid']"><div><strong>Favourite</strong> <input type="checkbox" name="favourite" value="1" /></div></if>
20
21 <div><strong>Severity:</strong> <select name="severity">$select[severity]</select></div>
22 <div><strong>Priority:</strong> <select name="priority">$select[priority]</select></div>
23 <div><strong>Status:</strong> <select name="status">$select[status]</select></div>
24 <div><strong>Resolution:</strong> <select name="resolution">$select[resolution]</select></div>
25 <div><strong>Assigned To:</strong> <select name="assignedto">$select[dev]</select></div>
26
27 <div>
28 <strong>Date (submitted since):</strong>
29 <select name="date">
30 <option value="0">Any Date</option>
31 <option value="1">Yesterday</opion>
32 <option value="7">1 Week</option>
33 <option value="15">15 Days</option>
34 <option value="30">30 Days</option>
35 <option value="90">90 Days</option>
36 <option value="365">1 Year</option>
37 </select>
38 </div>
39
40 <div><strong>Products/Components/Versions:</strong></div>
41 <div>
42 $pcv_select
43 </div>
44
45 <div>
46 <strong>Sort By:</strong>
47 <select name="sortby">
48 <option value="relevance">Relevance</option>
49 <option value="bygid">Bug ID</option>
50 <option value="severity">Severity</option>
51 <option value="priority">Priority</option>
52 <option value="status">Status</option>
53 <option value="resolution">Resolution</option>
54 <option value="dateline">Date</option>
55 </select>
56 <input type="radio" name="orderby" value="asc" checked="checked" /> Ascending
57 <input type="radio" name="orderby" value="desc" /> Descending
58 </div>
59
60 <div>$fieldbits</div>
61
62 <div>
63 <input type="submit" name="submit" value=" Search " accesskey="s" />
64 <input type="reset" name="reset" value=" Reset " />
65 </div>
66
67 </form>
68
69 $footer