2 <html lang="$stylevar[lang]" xml:lang="$stylevar[lang]">
5 <link rel="stylesheet" href="templates/report.css" media="screen" />
6 <link rel="stylesheet" href="templates/box.css" media="screen" />
7 <title><lang 1="$bug[bugid]">{@"Bug Report %1$s"}</lang> - $bug[summary]</title>
12 <form name="bugreport" action="editreport.php" method="post" class="form">
13 <input type="hidden" name="do" value="update" />
14 <input type="hidden" name="bugid" value="$bug[bugid]" />
20 <!-- bug id & hidden -->
22 <legend>{@"Bug Id"}</legend>
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 / [<a href="showhistory.php?bugid=$bug[bugid]">{@"Show Bug History"}</a>]
35 <if condition="$bugsys->userinfo['userid']">/ [<a href="favourite.php?do=handle&bugid=$bug[bugid]">$favouritetext</a>]</if>
38 <!-- / bug id & hidden -->
42 <legend>{@"Reporter"}</legend>
43 <div class="field">$bug[userinfo]</div>
49 <legend>{@"Product/Version"}</legend>
51 <if condition="$show['edit']">
52 $bug[product] / <if condition="$bug['componentid']">$bug[component] / </if><select name="pcv_select">$pcv_select</select>
54 $bug[product] <if condition="$bug['componentid']">/ $bug[component]</if> / $bug[version]
62 <legend>{@"Status"}</legend>
64 <if condition="$show['changestatus']">
65 <select name="status">$select[status]</select>
75 <legend>{@"Severity"}</legend>
77 <if condition="$show['edit']">
78 <select name="severity">$select[severity]</select>
88 <legend>{@"Duplicate Of"}</legend>
90 <if condition="$show['edit']">
91 <input type="text" name="duplicateof" size="10" value="<if condition="$bug['duplicateof']">$bug[duplicateof]</if>" />
92 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]" title="$duplicate[summary]" target="_blank">$duplicate[bugid]</a></if>
94 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a><else />{@"- none -"}</if>
103 <!-- / LEFT COLUMN -->
105 <!-- RIGHT COLUMN -->
110 <legend>{@"Summary"}</legend>
112 <if condition="$show['edit']">
113 <input type="text" name="summary" size="25" value="$bug[summary]" style="width: 100%" />
121 <!-- reporting time -->
123 <legend>{@"Report Time"}</legend>
124 <div class="field">$bug[datetime]</div>
126 <!-- / reporting time -->
130 <legend>{@"Assignment"}</legend>
132 <if condition="$show['assign']">
133 <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"</if>>{@"No Assignment"}</option>$select[dev]</select>
135 <if condition="$bug['assigninfo']">$bug[assigninfo]<else />{@"- none -"}</if>
139 <!-- / assignment -->
143 <legend>{@"Resolution"}</legend>
145 <if condition="$show['changestatus']">
146 <select name="resolution">$select[resolution]</select>
152 <!-- / resolution -->
156 <legend>{@"Priority"}</legend>
158 <if condition="$show['changestatus']">
159 <select name="priority">$select[priority]</select>
167 <!-- dependencies -->
169 <legend>{@"Dependencies"}</legend>
171 <if condition="$show['edit']">
172 <input type="text" name="dependency" size="25" value="$bug[dependency]" /> $dependencies
174 <if condition="$dependencies">$dependencies<else />{@"- none -"}</if>
178 <!-- / dependencies -->
182 <!-- / RIGHT COLUMN -->
185 <if condition="$show['newreply']">
188 <legend>{@"New Reply"}<if condition="$show['edit']"> : {@"Automatic Action"} <select name="autoaction">$select[autoaction]</select></if></legend>
190 <textarea name="comment" cols="50" rows="10" style="width: 100%"></textarea>
197 <input type="submit" name="submit" value=" {@"Commit Changes"} " accesskey="s" />
198 <input type="reset" name="reset" value=" {@"Reset Fields"} " accesskey="r" />
200 <!-- / submit row -->
206 <!-- attachments & voting -->
207 <div id="attachvote">
209 <if condition="$show['attachments']">
211 <div id="attachments">
213 <legend>{@"Attachments"}<if condition="$show['putattachments']"> : <a href="attachment.php?do=add&bugid=$bug[bugid]">{@"New"}</a></if></legend>
218 <!-- / attachments -->
222 <div id="votes<if condition="$show['attachments']"><if condition="!$show['vote']">fifty</if><else /><if condition="!$show['vote']">hundred</if></if>">
224 <legend>{@"Votes"}</legend>
226 <div><strong>{@"For"}:</strong> $vote[votefor] ($vote[forpercent]%)</div>
227 <div><strong>{@"Against"}:</strong> $vote[voteagainst] ($vote[againstpercent]%)</div>
228 <div><strong>{@"Total"}:</strong> $vote[total]</div>
231 <!-- / show votes -->
233 <if condition="$show['vote']">
237 <legend>{@"Your Vote"}</legend>
239 <form name="vote" action="vote.php" method="post" class="form">
240 <input type="hidden" name="do" value="vote" />
241 <input type="hidden" name="bugid" value="$bug[bugid]" />
242 <input type="radio" name="vote" value="1" /> {@"Vote For (+1)"}<br />
243 <input type="radio" name="vote" value="-1" /> {@"Vote Against (-1)"}<br />
245 <input type="submit" name="submit" value=" {@"Vote"} " accesskey="v" />
252 <!-- / attachments & voting -->