r788: - No longer highlight the <title> or <input> of bug reports. Closes bug://probl...
[bugdar.git] / templates / showreport.tpl
1 $doctype
2 <html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
3 <head>
4 $headinclude
5 <link rel="stylesheet" href="templates/report.css" media="screen" />
6 <link rel="stylesheet" href="templates/fields.css" media="screen" />
7 <link rel="stylesheet" href="templates/box.css" media="screen" />
8 <title><lang 1="$bug[bugid]">{@"Bug Report %1$s"}</lang> - $bug[summary_title]</title>
9 </head>
10
11 <body>
12
13 $header
14
15 <form name="bugreport" action="editreport.php" method="post" class="form">
16 <input type="hidden" name="do" value="update" />
17 <input type="hidden" name="bugid" value="$bug[bugid]" />
18
19 <div id="fieldbody">
20 <!-- LEFT COLUMN -->
21 <div id="leftcol">
22
23 <!-- bug id & hidden -->
24 <fieldset>
25 <legend>{@"Bug Id"} $help[bugid]</legend>
26 <div class="field">
27 $bug[bugid]
28
29 <if condition="$show['edit']">
30 /
31 <strong<if condition="$bug['hidden']"> class="error"</if>>{@"Hidden"}:</strong>
32 <input type="checkbox" name="hidden" value="1"<if condition="$bug['hidden']"> checked="checked"</if> />
33 <else />
34 <if condition="$bug['hidden']"> / <span class="error">{@"Hidden Bug"}</span></if>
35 </if>
36
37 / [<a href="showhistory.php?bugid=$bug[bugid]">{@"Show Bug History"}</a>]
38 <if condition="$show['subscribe']">/ [<a href="favourite.php?do=handle&amp;bugid=$bug[bugid]">$favouritetext</a>]</if>
39 </div>
40 </fieldset>
41 <!-- / bug id & hidden -->
42
43 <!-- reporter -->
44 <fieldset>
45 <legend>{@"Reporter"} $help[reporter]</legend>
46 <div class="field">$bug[userinfo]</div>
47 </fieldset>
48 <!-- / reporter -->
49
50 <!-- product -->
51 <fieldset>
52 <legend><a href="explain.php?do=products">{@"Product/Version"}</a> $help[product]</legend>
53 <div class="field">
54 <if condition="$show['edit']">
55 $bug[product] / <if condition="$bug['componentid']">$bug[component] / </if><select name="pcv_select">$pcv_select</select>
56 <else />
57 $bug[product] <if condition="$bug['componentid']">/ $bug[component]</if> / $bug[version]
58 </if>
59 </div>
60 </fieldset>
61 <!-- / product -->
62
63 <!-- status -->
64 <fieldset>
65 <legend>{@"Status"} $help[status]</legend>
66 <div class="field">
67 <if condition="$show['changestatus']">
68 <select name="status">$select[status]</select>
69 <else />
70 $bug[status]
71 </if>
72 </div>
73 </fieldset>
74 <!-- / status -->
75
76 <!-- severity -->
77 <fieldset>
78 <legend>{@"Severity"} $help[severity]</legend>
79 <div class="field">
80 <if condition="$show['edit']">
81 <select name="severity">$select[severity]</select>
82 <else />
83 $bug[severity]
84 </if>
85 </div>
86 </fieldset>
87 <!-- / severity -->
88
89 <!-- duplicate -->
90 <fieldset>
91 <legend>{@"Duplicate Of"} $help[duplicateof]</legend>
92 <div class="field">
93 <if condition="$show['edit']">
94 <input type="text" name="duplicateof" size="10" value="<if condition="$bug['duplicateof']">$bug[duplicateof]</if>" />
95 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]" title="$duplicate[summary]" target="_blank">$duplicate[bugid]</a></if>
96 <else />
97 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a><else />{@"- none -"}</if>
98 </if>
99 </div>
100 </fieldset>
101 <!-- / duplicate -->
102
103 $customfields[left]
104
105 </div>
106 <!-- / LEFT COLUMN -->
107
108 <!-- RIGHT COLUMN -->
109 <div id="rightcol">
110
111 <!-- summary -->
112 <fieldset>
113 <legend>{@"Summary"} $help[summary]</legend>
114 <div class="field">
115 <if condition="$show['edit']">
116 <input type="text" name="summary" size="25" value="$bug[summary]" style="width: 100%" />
117 <else />
118 $bug[summary]
119 </if>
120 </div>
121 </fieldset>
122 <!-- / summary -->
123
124 <!-- reporting time -->
125 <fieldset>
126 <legend>{@"Report Time"} $help[dateline]</legend>
127 <div class="field">$bug[datetime]</div>
128 </fieldset>
129 <!-- / reporting time -->
130
131 <!-- assignment -->
132 <fieldset>
133 <legend>{@"Assignment"} $help[assignedto]</legend>
134 <div class="field">
135 <if condition="$show['assign']">
136 <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"</if>>{@"No Assignment"}</option>$select[dev]</select>
137 <else />
138 <if condition="$bug['assigninfo']">$bug[assigninfo]<else />{@"- none -"}</if>
139 </if>
140 </div>
141 </fieldset>
142 <!-- / assignment -->
143
144 <!-- resolution -->
145 <fieldset>
146 <legend>{@"Resolution"} $help[resolution]</legend>
147 <div class="field">
148 <if condition="$show['changestatus']">
149 <select name="resolution">$select[resolution]</select>
150 <else />
151 $bug[resolution]
152 </if>
153 </div>
154 </fieldset>
155 <!-- / resolution -->
156
157 <!-- priority -->
158 <fieldset>
159 <legend>{@"Priority"} $help[priority]</legend>
160 <div class="field">
161 <if condition="$show['changestatus']">
162 <select name="priority">$select[priority]</select>
163 <else />
164 $bug[priority]
165 </if>
166 </div>
167 </fieldset>
168 <!-- / priority -->
169
170 <!-- dependencies -->
171 <fieldset>
172 <legend>{@"Dependencies"} $help[dependency]</legend>
173 <div class="field">
174 <if condition="$show['edit']">
175 <input type="text" name="dependency" size="25" value="$bug[dependency]" /> $dependencies
176 <else />
177 <if condition="$dependencies">$dependencies<else />{@"- none -"}</if>
178 </if>
179 </div>
180 </fieldset>
181 <!-- / dependencies -->
182
183 $customfields[right]
184 </div>
185 <!-- / RIGHT COLUMN -->
186 </div>
187
188 <div id="clear-spill"></div>
189
190 <br />
191
192 <if condition="$show['newreply']">
193 <!-- new reply -->
194 <fieldset>
195 <legend>{@"New Reply"}<if condition="$show['autoactions']"> : <a href="explain.php?do=autoactions">{@"Automatic Action"}</a> <select name="autoaction">$select[autoaction]</select></if> $help[newreply]</legend>
196
197 <textarea name="comment" cols="50" rows="10" style="width: 100%"></textarea>
198 </fieldset>
199 <!-- / new reply -->
200 </if>
201
202 <!-- submit row -->
203 <div id="submitrow">
204 <input type="submit" name="submit" value=" {@"Commit Changes"} " accesskey="s" />
205 <input type="reset" name="reset" value=" {@"Reset Fields"} " accesskey="r" />
206 </div>
207 <!-- / submit row -->
208
209 </form>
210
211 <br />
212
213 <!-- attachments & voting -->
214 <div id="attachvote">
215
216 <if condition="$show['attachments']">
217 <!-- attachments -->
218 <div id="attachments">
219 <fieldset>
220 <legend>{@"Attachments"}<if condition="$show['putattachments']"> : <a href="attachment.php?do=add&amp;bugid=$bug[bugid]">{@"New"}</a></if></legend>
221
222 $attachments
223 </fieldset>
224 </div>
225 <!-- / attachments -->
226 </if>
227
228 <!-- show votes -->
229 <div id="votes<if condition="$show['attachments']"><if condition="!$show['vote']">fifty</if><else /><if condition="!$show['vote']">hundred</if></if>">
230 <fieldset>
231 <legend>{@"Votes"}</legend>
232
233 <div><strong>{@"For"}:</strong> $vote[votefor] ($vote[forpercent]%)</div>
234 <div><strong>{@"Against"}:</strong> $vote[voteagainst] ($vote[againstpercent]%)</div>
235 <div><strong>{@"Total"}:</strong> $vote[total]</div>
236 </fieldset>
237 </div>
238 <!-- / show votes -->
239
240 <if condition="$show['vote']">
241 <!-- your vote -->
242 <div id="yourvote">
243 <fieldset>
244 <legend>{@"Your Vote"}</legend>
245
246 <form name="vote" action="vote.php" method="post" class="form">
247 <input type="hidden" name="do" value="vote" />
248 <input type="hidden" name="bugid" value="$bug[bugid]" />
249 <input type="radio" name="vote" value="1" /> {@"Vote For (+1)"}<br />
250 <input type="radio" name="vote" value="-1" /> {@"Vote Against (-1)"}<br />
251
252 <input type="submit" name="submit" value=" {@"Vote"} " accesskey="v" />
253 </form>
254 </fieldset>
255 </div>
256 <!-- / your vote -->
257 </if>
258 </div>
259 <!-- / attachments & voting -->
260
261 <br />
262
263 $comments
264
265 $footer