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