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 -->
20 <label>{@"Bug Id"}</label>
24 <if condition="$show['edit']">
26 <strong<if condition="$bug['hidden']"> class="error"</if>>{@"Hidden"}:</strong>
27 <input type="checkbox" name="hidden" value="1"<if condition="$bug['hidden']"> checked="checked"</if> />
29 <if condition="$bug['hidden']"> / <span class="error">{@"Hidden Bug"}</span></if>
32 <!-- / bug id & hidden -->
35 <label>{@"Reporter"}</label>
36 <div class="field">$bug[userinfo]</div>
39 <!-- reporting time -->
40 <label>{@"Report Time"}</label>
41 <div class="field">$bug[datetime]</div>
42 <!-- / reporting time -->
45 <label>{@"Status"}</label>
47 <if condition="$show['changestatus']">
48 <select name="status">$select[status]</select>
56 <label>{@"Severity"}</label>
58 <if condition="$show['edit']">
59 <select name="severity">$select[severity]</select>
67 <label>{@"Duplicate Of"}</label>
69 <if condition="$show['edit']">
70 <input type="text" name="duplicateof" size="10" value="<if condition="$bug['duplicateof']">$bug[duplicateof]</if>" />
71 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]" title="$duplicate[summary]" target="_blank">$duplicate[bugid]</a></if>
73 <a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a>
79 <!-- / LEFT COLUMN -->
85 <label>{@"Summary"}</label>
87 <if condition="$show['edit']">
88 <input type="text" name="summary" size="25" value="$bug[summary]" style="width: 100%" />
96 <label>{@"Product/Version"}</label>
98 <if condition="$show['edit']">
99 $bug[product] / <if condition="$bug['componentid']">$bug[component] / </if><select name="pcv_select">$pcv_select</select>
101 $bug[product] <if condition="$bug['componentid']">/ $bug[component]</if> / $bug[version]
107 <label>{@"Assignment"}</label>
109 <if condition="$show['assign']">
110 <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"</if>>{@"No Assignment"}</option>$select[dev]</select>
115 <!-- / assignment -->
118 <label>{@"Resolution"}</label>
120 <if condition="$show['changestatus']">
121 <select name="resolution">$select[resolution]</select>
126 <!-- / resolution -->
129 <label>{@"Priority"}</label>
131 <if condition="$show['changestatus']">
132 <select name="priority">$select[priority]</select>
139 <!-- dependencies -->
140 <label>{@"Dependencies"}</label>
142 <if condition="$show['edit']">
143 <input type="text" name="dependency" size="25" value="$bug[dependency]" /> $dependencies
148 <!-- / dependencies -->
151 <!-- / RIGHT COLUMN -->
154 <table width="100%" cellspasing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" border="$stylevar[border]" class="tborder">
155 <if condition="$show['customfields']">
158 <td colspan="4" style="height: 1px"></td>
167 <td colspan="4" style="height: 1px"></td>
171 <!-- new comment & controls -->
173 <td class="tlabel" colspan="<if condition="$show['newreply']">2<else />4</if>" style="vertical-align: top">
174 <if condition="$show['newreply']">{@"New Reply"}</if>
176 <if condition="$show['edit']"><div<if condition="$show['newreply']"> style="margin-top: 15px"</if>>{@"Automatic Action"}: <select name="autoaction">$select[autoaction]</select></div></if>
181 <div>[<a href="showhistory.php?bugid=$bug[bugid]">{@"Show Bug History"}</a>]</div>
182 <if condition="$bugsys->userinfo['userid']"><div>[<a href="favourite.php?do=handle&bugid=$bug[bugid]">$favouritetext</a>]</div></if>
184 <if condition="$show['newreply']"><td class="tdata" colspan="2"><textarea name="comment" cols="50" rows="10" style="width: 100%"></textarea></td></if>
186 <!-- / new comment & controls -->
190 <td colspan="4" class="tfoot">
191 <input type="submit" name="submit" value=" {@"Commit Changes"} " accesskey="s" />
192 <input type="reset" name="reset" value=" {@"Reset Fields"} " accesskey="r" />
195 <!-- / submit row -->
202 <!-- attachments & voting -->
203 <table width="100%" cellspasing="$stylevar[spacing_border]" cellpadding="$stylevar[padding]px" border="$stylevar[border]" class="tborder">
205 <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>
206 <td class="thead"<if condition="$show['vote']"> colspan="2"</if>>{@"Votes"}</td>
209 <if condition="$show['attachments']">
214 <!-- / attachments -->
219 <strong>{@"For"}:</strong> $vote[votefor] ($vote[forpercent]%)<br />
220 <strong>{@"Against"}:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
221 <strong>{@"Total"}:</strong> $vote[total]
224 <if condition="$show['vote']">
226 <strong>{@"Your Vote"}</strong><br />
227 <form name="vote" action="vote.php" method="post" class="form">
228 <input type="hidden" name="do" value="vote" />
229 <input type="hidden" name="bugid" value="$bug[bugid]" />
230 <input type="radio" name="vote" value="1" /> {@"Vote For (+1)"}<br />
231 <input type="radio" name="vote" value="-1" /> {@"Vote Against (-1)"}<br />
233 <input type="submit" name="submit" value=" {@"Vote"} " accesskey="v" />
240 <!-- / attachments & voting -->