r279: - Added favourites system
[bugdar.git] / templates / 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 <if condition="$bugsys->userinfo['userid']"><div><strong>Favourite</strong> <input type="checkbox" name="favourite" value="1" /></div></if>
16
17 <div><strong>Severity:</strong> <select name="severity">$select[severity]</select></div>
18 <div><strong>Priority:</strong> <select name="priority">$select[priority]</select></div>
19 <div><strong>Status:</strong> <select name="status">$select[status]</select></div>
20 <div><strong>Resolution:</strong> <select name="resolution">$select[resolution]</select></div>
21 <div><strong>Assigned To:</strong> <select name="assignedto">$select[dev]</select></div>
22
23 <div>
24 <strong>Date (submitted since):</strong>
25 <select name="date">
26 <option value="0">Any Date</option>
27 <option value="1">Yesterday</opion>
28 <option value="7">1 Week</option>
29 <option value="15">15 Days</option>
30 <option value="30">30 Days</option>
31 <option value="90">90 Days</option>
32 <option value="365">1 Year</option>
33 </select>
34 </div>
35
36 <div><strong>Products/Components/Versions:</strong></div>
37 <div>
38 $pcv_select
39 </div>
40
41 <div>
42 <strong>Sort By:</strong>
43 <select name="sortby">
44 <option value="relevance">Relevance</option>
45 <option value="bygid">Bug ID</option>
46 <option value="severity">Severity</option>
47 <option value="priority">Priority</option>
48 <option value="status">Status</option>
49 <option value="resolution">Resolution</option>
50 <option value="dateline">Date</option>
51 </select>
52 <input type="radio" name="orderby" value="asc" checked="checked" /> Ascending
53 <input type="radio" name="orderby" value="desc" /> Descending
54 </div>
55
56 <div>$fieldbits</div>
57
58 <div>
59 <input type="submit" name="submit" value=" Search " accesskey="s" />
60 <input type="reset" name="reset" value=" Reset " />
61 </div>
62
63 </form>