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