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>
45 <legend>{@"Product/Version"}</legend>
47 <if condition="$show['edit']">
48 $bug[product] / <if condition="$bug['componentid']">$bug[component] / </if><select name="pcv_select">$pcv_select</select>
50 $bug[product] <if condition="$bug['componentid']">/ $bug[component]</if> / $bug[version]
58 <legend>{@"Status"}</legend>
60 <if condition="$show['changestatus']">
61 <select name="status">$select[status]</select>
71 <legend>{@"Severity"}</legend>
73 <if condition="$show['edit']">
74 <select name="severity">$select[severity]</select>
84 <legend>{@"Duplicate Of"}</legend>
86 <if condition="$show['edit']">
87 <input type="text" name="duplicateof" size="10" value="<if condition="$bug['duplicateof']">$bug[duplicateof]</if>" />
88 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]" title="$duplicate[summary]" target="_blank">$duplicate[bugid]</a></if>
90 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a><else />{@"- none -"}</if>
99 <!-- / LEFT COLUMN -->
101 <!-- RIGHT COLUMN -->
106 <legend>{@"Summary"}</legend>
108 <if condition="$show['edit']">
109 <input type="text" name="summary" size="25" value="$bug[summary]" style="width: 100%" />
117 <!-- reporting time -->
119 <legend>{@"Report Time"}</legend>
120 <div class="field">$bug[datetime]</div>
122 <!-- / reporting time -->
126 <legend>{@"Assignment"}</legend>
128 <if condition="$show['assign']">
129 <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"</if>>{@"No Assignment"}</option>$select[dev]</select>
131 <if condition="$bug['assigninfo']">$bug[assigninfo]<else />{@"- none -"}</if>
135 <!-- / assignment -->
139 <legend>{@"Resolution"}</legend>
141 <if condition="$show['changestatus']">
142 <select name="resolution">$select[resolution]</select>
148 <!-- / resolution -->
152 <legend>{@"Priority"}</legend>
154 <if condition="$show['changestatus']">
155 <select name="priority">$select[priority]</select>
163 <!-- dependencies -->
165 <legend>{@"Dependencies"}</legend>
167 <if condition="$show['edit']">
168 <input type="text" name="dependency" size="25" value="$bug[dependency]" /> $dependencies
170 <if condition="$dependencies">$dependencies<else />{@"- none -"}</if>
174 <!-- / dependencies -->
178 <!-- / RIGHT COLUMN -->
181 <table width="100%" cellspasing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" border="$stylevar[border]" class="tborder">
182 <!-- new comment & controls -->
184 <td class="tlabel" colspan="<if condition="$show['newreply']">2<else />4</if>" style="vertical-align: top">
185 <if condition="$show['newreply']">{@"New Reply"}</if>
187 <if condition="$show['edit']"><div<if condition="$show['newreply']"> style="margin-top: 15px"</if>>{@"Automatic Action"}: <select name="autoaction">$select[autoaction]</select></div></if>
192 <div>[<a href="showhistory.php?bugid=$bug[bugid]">{@"Show Bug History"}</a>]</div>
193 <if condition="$bugsys->userinfo['userid']"><div>[<a href="favourite.php?do=handle&bugid=$bug[bugid]">$favouritetext</a>]</div></if>
195 <if condition="$show['newreply']"><td class="tdata" colspan="2"><textarea name="comment" cols="50" rows="10" style="width: 100%"></textarea></td></if>
197 <!-- / new comment & controls -->
201 <td colspan="4" class="tfoot">
202 <input type="submit" name="submit" value=" {@"Commit Changes"} " accesskey="s" />
203 <input type="reset" name="reset" value=" {@"Reset Fields"} " accesskey="r" />
206 <!-- / submit row -->
213 <!-- attachments & voting -->
214 <table width="100%" cellspasing="$stylevar[spacing_border]" cellpadding="$stylevar[padding]px" border="$stylevar[border]" class="tborder">
216 <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>
217 <td class="thead"<if condition="$show['vote']"> colspan="2"</if>>{@"Votes"}</td>
220 <if condition="$show['attachments']">
225 <!-- / attachments -->
230 <strong>{@"For"}:</strong> $vote[votefor] ($vote[forpercent]%)<br />
231 <strong>{@"Against"}:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
232 <strong>{@"Total"}:</strong> $vote[total]
235 <if condition="$show['vote']">
237 <strong>{@"Your Vote"}</strong><br />
238 <form name="vote" action="vote.php" method="post" class="form">
239 <input type="hidden" name="do" value="vote" />
240 <input type="hidden" name="bugid" value="$bug[bugid]" />
241 <input type="radio" name="vote" value="1" /> {@"Vote For (+1)"}<br />
242 <input type="radio" name="vote" value="-1" /> {@"Vote Against (-1)"}<br />
244 <input type="submit" name="submit" value=" {@"Vote"} " accesskey="v" />
251 <!-- / attachments & voting -->