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 <table width="100%" cellspasing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" border="$stylevar[border]" class="tborder">
21 <!-- bug id & hidden -->
22 <td class="tlabel">{@"Bug ID"}</td>
26 <if condition="$show['edit']">
28 <strong<if condition="$bug['hidden']"> class="error"</if>>{@"Hidden"}:</strong>
29 <input type="checkbox" name="hidden" value="1"<if condition="$bug['hidden']"> checked="checked"</if> />
31 <if condition="$bug['hidden']"> / <span class="error">{@"Hidden Bug"}</span></if>
34 <!-- / bug id & hidden -->
37 <td class="tlabel">{@"Summary"}</td>
39 <if condition="$show['edit']">
40 <input type="text" name="summary" size="25" value="$bug[summary]" style="width: 100%" />
49 <td class="tlabel">{@"Reporter"}</td>
50 <td class="tdata">$bug[userinfo]</td>
54 <td class="tlabel">{@"Product/Version"}</td>
56 <if condition="$show['edit']">
57 $bug[product] / <if condition="$bug['componentid']">$bug[component] / </if><select name="pcv_select">$pcv_select</select>
59 $bug[product] <if condition="$bug['componentid']">/ $bug[component]</if> / $bug[version]
65 <!-- reporting time -->
66 <td class="tlabel">{@"Report Time"}</td>
67 <td class="tdata">$bug[datetime]</td>
68 <!-- / reporting time -->
71 <td class="tlabel">{@"Assignment"}</td>
73 <if condition="$show['assign']">
74 <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"</if>>{@"No Assignment"}</option>$select[dev]</select>
83 <td class="tlabel">{@"Status"}</td>
85 <if condition="$show['changestatus']">
86 <select name="status">$select[status]</select>
94 <td class="tlabel">{@"Resolution"}</td>
96 <if condition="$show['changestatus']">
97 <select name="resolution">$select[resolution]</select>
102 <!-- / resolution -->
106 <td class="tlabel">{@"Severity"}</td>
108 <if condition="$show['edit']">
109 <select name="severity">$select[severity]</select>
117 <td class="tlabel">{@"Priority"}</td>
119 <if condition="$show['changestatus']">
120 <select name="priority">$select[priority]</select>
129 <td class="tlabel">{@"Duplicate Of"}</td>
131 <if condition="$show['edit']">
132 <input type="text" name="duplicateof" size="10" value="<if condition="$bug['duplicateof']">$bug[duplicateof]</if>" />
133 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]" title="$duplicate[summary]" target="_blank">$duplicate[bugid]</a></if>
135 <a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a>
140 <!-- dependencies -->
141 <td class="tlabel">{@"Dependencies"}</td>
143 <if condition="$show['edit']">
144 <input type="text" name="dependency" size="25" value="$bug[dependency]" /> $dependencies
149 <!-- / dependencies -->
152 <if condition="$show['customfields']">
155 <td colspan="4" style="height: 1px"></td>
164 <td colspan="4" style="height: 1px"></td>
168 <!-- new comment & controls -->
170 <td class="tlabel" colspan="<if condition="$show['newreply']">2<else />4</if>" style="vertical-align: top">
171 <if condition="$show['newreply']">{@"New Reply"}</if>
173 <if condition="$show['edit']"><div<if condition="$show['newreply']"> style="margin-top: 15px"</if>>{@"Automatic Action"}: <select name="autoaction">$select[autoaction]</select></div></if>
178 <div>[<a href="showhistory.php?bugid=$bug[bugid]">{@"Show Bug History"}</a>]</div>
179 <if condition="$bugsys->userinfo['userid']"><div>[<a href="favourite.php?do=handle&bugid=$bug[bugid]">$favouritetext</a>]</div></if>
181 <if condition="$show['newreply']"><td class="tdata" colspan="2"><textarea name="comment" cols="50" rows="10" style="width: 100%"></textarea></td></if>
183 <!-- / new comment & controls -->
187 <td colspan="4" class="tfoot">
188 <input type="submit" name="submit" value=" {@"Commit Changes"} " accesskey="s" />
189 <input type="reset" name="reset" value=" {@"Reset Fields"} " accesskey="r" />
192 <!-- / submit row -->
199 <!-- attachments & voting -->
200 <table width="100%" cellspasing="$stylevar[spacing_border]" cellpadding="$stylevar[padding]px" border="$stylevar[border]" class="tborder">
202 <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>
203 <td class="thead"<if condition="$show['vote']"> colspan="2"</if>>{@"Votes"}</td>
206 <if condition="$show['attachments']">
211 <!-- / attachments -->
216 <strong>{@"For"}:</strong> $vote[votefor] ($vote[forpercent]%)<br />
217 <strong>{@"Against"}:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
218 <strong>{@"Total"}:</strong> $vote[total]
221 <if condition="$show['vote']">
223 <strong>{@"Your Vote"}</strong><br />
224 <form name="vote" action="vote.php" method="post" class="form">
225 <input type="hidden" name="do" value="vote" />
226 <input type="hidden" name="bugid" value="$bug[bugid]" />
227 <input type="radio" name="vote" value="1" /> {@"Vote For (+1)"}<br />
228 <input type="radio" name="vote" value="-1" /> {@"Vote Against (-1)"}<br />
230 <input type="submit" name="submit" value=" {@"Vote"} " accesskey="v" />
237 <!-- / attachments & voting -->