2 <html lang="$stylevar[lang]" xml:lang="$stylevar[lang]">
5 <link rel="stylesheet" href="templates/report.css" media="screen" />
6 <title><lang 1="$bug[bugid]">{@"Bug Report %1$s"}</lang> - $bug[summary]</title>
11 <form name="bugreport" action="editreport.php" method="post" class="form">
12 <input type="hidden" name="do" value="update" />
13 <input type="hidden" name="bugid" value="$bug[bugid]" />
19 <!-- bug id & hidden -->
21 <legend>{@"Bug Id"}</legend>
25 <if condition="$show['edit']">
27 <strong<if condition="$bug['hidden']"> class="error"</if>>{@"Hidden"}:</strong>
28 <input type="checkbox" name="hidden" value="1"<if condition="$bug['hidden']"> checked="checked"</if> />
30 <if condition="$bug['hidden']"> / <span class="error">{@"Hidden Bug"}</span></if>
34 <!-- / bug id & hidden -->
38 <legend>{@"Reporter"}</legend>
39 <div class="field">$bug[userinfo]</div>
43 <!-- reporting time -->
45 <legend>{@"Report Time"}</legend>
46 <div class="field">$bug[datetime]</div>
48 <!-- / reporting time -->
52 <legend>{@"Status"}</legend>
54 <if condition="$show['changestatus']">
55 <select name="status">$select[status]</select>
65 <legend>{@"Severity"}</legend>
67 <if condition="$show['edit']">
68 <select name="severity">$select[severity]</select>
78 <legend>{@"Duplicate Of"}</legend>
80 <if condition="$show['edit']">
81 <input type="text" name="duplicateof" size="10" value="<if condition="$bug['duplicateof']">$bug[duplicateof]</if>" />
82 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]" title="$duplicate[summary]" target="_blank">$duplicate[bugid]</a></if>
84 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a><else />{@"- none -"}</if>
91 <!-- / LEFT COLUMN -->
98 <legend>{@"Summary"}</legend>
100 <if condition="$show['edit']">
101 <input type="text" name="summary" size="25" value="$bug[summary]" style="width: 100%" />
111 <legend>{@"Product/Version"}</legend>
113 <if condition="$show['edit']">
114 $bug[product] / <if condition="$bug['componentid']">$bug[component] / </if><select name="pcv_select">$pcv_select</select>
116 $bug[product] <if condition="$bug['componentid']">/ $bug[component]</if> / $bug[version]
124 <legend>{@"Assignment"}</legend>
126 <if condition="$show['assign']">
127 <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"</if>>{@"No Assignment"}</option>$select[dev]</select>
129 <if condition="$bug['assigninfo']">$bug[assigninfo]<else />{@"- none -"}</if>
133 <!-- / assignment -->
137 <legend>{@"Resolution"}</legend>
139 <if condition="$show['changestatus']">
140 <select name="resolution">$select[resolution]</select>
146 <!-- / resolution -->
150 <legend>{@"Priority"}</legend>
152 <if condition="$show['changestatus']">
153 <select name="priority">$select[priority]</select>
161 <!-- dependencies -->
163 <legend>{@"Dependencies"}</legend>
165 <if condition="$show['edit']">
166 <input type="text" name="dependency" size="25" value="$bug[dependency]" /> $dependencies
168 <if condition="$dependencies">$dependencies<else />{@"- none -"}</if>
172 <!-- / dependencies -->
175 <!-- / RIGHT COLUMN -->
178 <table width="100%" cellspasing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" border="$stylevar[border]" class="tborder">
179 <if condition="$show['customfields']">
182 <td colspan="4" style="height: 1px"></td>
191 <td colspan="4" style="height: 1px"></td>
195 <!-- new comment & controls -->
197 <td class="tlabel" colspan="<if condition="$show['newreply']">2<else />4</if>" style="vertical-align: top">
198 <if condition="$show['newreply']">{@"New Reply"}</if>
200 <if condition="$show['edit']"><div<if condition="$show['newreply']"> style="margin-top: 15px"</if>>{@"Automatic Action"}: <select name="autoaction">$select[autoaction]</select></div></if>
205 <div>[<a href="showhistory.php?bugid=$bug[bugid]">{@"Show Bug History"}</a>]</div>
206 <if condition="$bugsys->userinfo['userid']"><div>[<a href="favourite.php?do=handle&bugid=$bug[bugid]">$favouritetext</a>]</div></if>
208 <if condition="$show['newreply']"><td class="tdata" colspan="2"><textarea name="comment" cols="50" rows="10" style="width: 100%"></textarea></td></if>
210 <!-- / new comment & controls -->
214 <td colspan="4" class="tfoot">
215 <input type="submit" name="submit" value=" {@"Commit Changes"} " accesskey="s" />
216 <input type="reset" name="reset" value=" {@"Reset Fields"} " accesskey="r" />
219 <!-- / submit row -->
226 <!-- attachments & voting -->
227 <table width="100%" cellspasing="$stylevar[spacing_border]" cellpadding="$stylevar[padding]px" border="$stylevar[border]" class="tborder">
229 <if condition="$show['attachments']"><td class="thead" style="width: 50%">{@"Attachments"} <if condition="$show['putattachments']">[<a href="attachment.php?do=add&bugid=$bug[bugid]">{@"New"}</a>]</if></td></if>
230 <td class="thead"<if condition="$show['vote']"> colspan="2"</if>>{@"Votes"}</td>
233 <if condition="$show['attachments']">
238 <!-- / attachments -->
243 <strong>{@"For"}:</strong> $vote[votefor] ($vote[forpercent]%)<br />
244 <strong>{@"Against"}:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
245 <strong>{@"Total"}:</strong> $vote[total]
248 <if condition="$show['vote']">
250 <strong>{@"Your Vote"}</strong><br />
251 <form name="vote" action="vote.php" method="post" class="form">
252 <input type="hidden" name="do" value="vote" />
253 <input type="hidden" name="bugid" value="$bug[bugid]" />
254 <input type="radio" name="vote" value="1" /> {@"Vote For (+1)"}<br />
255 <input type="radio" name="vote" value="-1" /> {@"Vote Against (-1)"}<br />
257 <input type="submit" name="submit" value=" {@"Vote"} " accesskey="v" />
264 <!-- / attachments & voting -->