5 <form name="bugreport" action="editreport.php" method="post">
6 <input type="hidden" name="do" value="update" />
7 <input type="hidden" name="bugid" value="$bug[bugid]" />
9 <table width="100%" cellspasing="$stylevar[spacing_border]" cellpadding="$stylevar[padding]" border="$stylevar[border]" class="tborder">
11 <!-- bug id & hidden -->
12 <td class="tlabel">Bug ID</td>
16 <if condition="$show['edit']">
18 <strong<if condition="$bug['hidden']"> class="error"</if>>Hidden:</strong>
19 <input type="checkbox" name="hidden" value="1"<if condition="$bug['hidden']"> checked="checked"</if> />
21 <if condition="$bug['hidden']"> / <span class="error">Hidden Bug</span></if>
24 <!-- / bug id & hidden -->
27 <td class="tlabel">Summary</td>
29 <if condition="$show['edit']">
30 <input type="text" name="summary" size="25" value="$bug[summary]" style="width: 100%" />
39 <td class="tlabel">Reporter</td>
40 <td class="tdata">$bug[userinfo]</td>
44 <td class="tlabel">Product/Version</td>
46 <if condition="$show['edit']">
47 <select name="pcv_select">$pcv_select</select>
49 $bug[product] <if condition="$bug['componentid']">/ $bug[component]</if> / $bug[version]
55 <!-- reporting time -->
56 <td class="tlabel">Report Time</td>
57 <td class="tdata">$bug[datetime]</td>
58 <!-- / reporting time -->
61 <td class="tlabel">Assignment</td>
63 <if condition="$show['assign']">
64 <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"</if>>No Assignment</option>$select[dev]</select>
73 <td class="tlabel">Status</td>
75 <if condition="$show['changestatus']">
76 <select name="status">$select[status]</select>
84 <td class="tlabel">Resolution</td>
86 <if condition="$show['changestatus']">
87 <select name="resolution">$select[resolution]</select>
96 <td class="tlabel">Severity</td>
98 <if condition="$show['edit']">
99 <select name="severity">$select[severity]</select>
107 <td class="tlabel">Priority</td>
109 <if condition="$show['changestatus']">
110 <select name="priority">$select[priority]</select>
119 <td class="tlabel">Duplicate Of</td>
121 <if condition="$show['edit']">
122 <input type="text" name="duplicateof" size="10" value="<if condition="$bug['duplicateof']">$bug[duplicateof]</if>" />
123 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]" title="$duplicate[summary]" target="_blank">$duplicate[bugid]</a></if>
125 <a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a>
130 <!-- dependencies -->
131 <td class="tlabel">Dependencies</td>
133 <if condition="$show['edit']">
134 <input type="text" name="dependency" size="25" value="$bug[dependency]" /> $dependencies
139 <!-- / dependencies -->
144 <td colspan="4" style="height: 1px"></td>
152 <td colspan="4" style="height: 1px"></td>
156 <if condition="$show['newreply'] OR $show['edit']">
159 <td class="tlabel" colspan="<if condition="$show['newreply']">2" style="vertical-align: top"<else />4"</if>>
160 <if condition="$show['newreply']">New Reply</if>
162 <if condition="$show['edit']"><div<if condition="$show['newreply']"> style="margin-top: 15px"</if>>Automatic Action: <select name="autoaction">$select[autoaction]</select></div></if>
164 <if condition="$show['newreply']"><td class="tdata" colspan="2"><textarea name="comment" cols="50" rows="10" style="width: 100%"></textarea></td></if>
166 <!-- / new comment -->
171 <td colspan="4" class="tfoot">
172 <input type="submit" name="submit" value=" Commit Changes " accesskey="s" />
173 <input type="reset" name="reset" value=" Reset Fields " accesskey="r" />
176 <!-- / submit row -->
179 <div>[<a href="showhistory.php?bugid=$bug[bugid]">Show Bug History</a>]<if condition="$bugsys->userinfo['userid']"> [<a href="favourite.php?do=handle&bugid=$bug[bugid]">$favouritetext</a>]</div>
183 <if condition="$show['getattachments'] OR $show['putattachments']">
184 <table border="1" cellspacing="2" cellpadding="4">
185 <thead style="background-color: #EEEEEE">
192 <if condition="$show['putattachments']">
194 <td style="background-color: #999999">[<a href="attachment.php?do=add&bugid=$bug[bugid]">Add New Attachment</a>]</td>
203 <table border="1" cellspacing="2" cellpadding="4">
204 <thead style="background-color: #EEEEEE">
206 <td>Votes for this Bug</td>
212 <strong>Votes for this Bug:</strong> $vote[votefor] ($vote[forpercent]%)<br />
213 <strong>Votes against this bug:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
214 <strong>Total Votes:</strong> $vote[total]
218 <if condition="$show['vote']">
221 <form name="vote" action="vote.php" method="post">
222 <input type="hidden" name="do" value="vote" />
223 <input type="hidden" name="bugid" value="$bug[bugid]" />
225 <input type="radio" name="vote" value="1" /> Vote For (+1)<br />
226 <input type="radio" name="vote" value="-1" /> Vote Against (-1)<br />
227 <input type="submit" name="submit" value="Vote" />
240 <if condition="$show['newreply']"><div>[<a href="newcomment.php?bugid=$bug[bugid]">New Comment</a>]</div></if>