2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
5 <link rel="stylesheet" type="text/css" href="templates/report.css" media="screen" />
6 <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
7 <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
8 <title><%- sprintf(T('Bug Report %1$s'), $bug['bugid']) %> - <%- $bug['summary_title'] %></title>
15 <form name="bugreport" action="editreport.php" method="post" class="form">
16 <input type="hidden" name="do" value="update" />
17 <input type="hidden" name="bugid" value="<%- $bug['bugid'] %>" />
21 <div id="<%- $stylevar['left'] %>col">
23 <!-- bug id & hidden -->
25 <legend><%-T("Bug Id")%> $help[bugid]</legend>
29 <% if ($show['edit']): %>
31 <strong<% if ($bug['hidden']): %> class="error"<% endif %>><%-T("Hidden")%>:</strong>
32 <input type="checkbox" name="hidden" value="1"<% if ($bug['hidden']): %> checked="checked"<% endif %> />
34 <% if ($bug['hidden']): %> / <span class="error"><%-T("Hidden Bug")%></span><% endif %>
37 / [<a href="showhistory.php?bugid=<%- $bug['bugid'] %>"><%-T("Show Bug History")%></a>]
38 <% if ($show['subscribe']): %>/ [<a href="favorite.php?do=handle&bugid=<%- $bug['bugid'] %>"><%- $favoritetext %></a>]<% endif %>
39 <% if ($show['delete']): %>/ [<a href="editreport.php?do=delete&bugid=<%- $bug['bugid'] %>"><%-T("Delete")%></a>]<% endif %>
42 <!-- / bug id & hidden -->
46 <legend><%-T("Reporter")%> $help[reporter]</legend>
47 <div class="field"><%- $bug['userinfo'] %></div>
53 <legend><a href="explain.php?do=products"><%-T('Product/Version') %></a> $help[product]</legend>
54 <div class="field"><%- $bug['product'] %> <% if ($bug['component']): %>/ <%- $bug['component'] %><% endif %> / <% if ($show['edit']): %><select name="product"><%- $productSelect %></select><% else: %><%- $bug['version'] %><% endif %></div>
60 <legend><%-T("Status")%> $help[status]</legend>
62 <% if ($show['changestatus']): %>
63 <select name="status"><%- $select['status'] %></select>
73 <legend><%-T("Severity")%> $help[severity]</legend>
75 <% if ($show['edit']): %>
76 <select name="severity"><%- $select['severity'] %></select>
78 <%- $bug['severity'] %>
86 <legend><%-T("Duplicate Of")%> $help[duplicateof]</legend>
88 <% if ($show['edit']): %>
89 <input type="text" name="duplicateof" size="10" value="<% if ($bug['duplicateof']): %><%- $bug['duplicateof'] %><% endif %>" />
90 <% if ($bug['duplicateof']): %><a href="showreport.php?bugid=<%- $bug['duplicateof'] %>" title="<%- $duplicate['summary'] %>" target="_blank"><%- $duplicate['bugid'] %></a><% endif %>
92 <% if ($bug['duplicateof']): %><a href="showreport.php?bugid=<%- $bug['duplicateof'] %>"><%- $duplicateof['summary'] %></a><% else: %><%- T("- none -") %><% endif %>
98 <%- $customfields['left'] %>
101 <!-- / LEFT COLUMN -->
103 <!-- RIGHT COLUMN -->
104 <div id="<%- $stylevar['right'] %>col">
108 <legend><%-T("Summary")%> $help[summary]</legend>
110 <% if ($show['edit']): %>
111 <input type="text" name="summary" size="25" value="<%- $bug['summary'] %>" style="width: 100%" maxlength="250" />
113 <%- $bug['summary'] %>
119 <!-- reporting time -->
121 <legend><%-T("Report Time")%> $help[dateline]</legend>
122 <div class="field"><%- $bug['datetime'] %></div>
124 <!-- / reporting time -->
128 <legend><%-T("Assignment")%> $help[assignedto]</legend>
130 <% if ($show['assign']): %>
131 <select name="assignedto"><option value="0"<% if (!$bug['assignedto']): %> selected="selected"<% endif %>><%-T("No Assignment")%></option><%- $select['dev'] %></select>
133 <% if ($bug['assigninfo']): %><%- $bug['assigninfo'] %><% else: %>{@"- none -"}<% endif %>
137 <!-- / assignment -->
141 <legend><%-T("Resolution")%> $help[resolution]</legend>
143 <% if ($show['changestatus']): %>
144 <select name="resolution"><%- $select['resolution'] %></select>
146 <%- $bug['resolution'] %>
150 <!-- / resolution -->
154 <legend><%-T("Priority")%> $help[priority]</legend>
156 <% if ($show['changestatus']): %>
157 <select name="priority"><%- $select['priority'] %></select>
159 <%- $bug['priority'] %>
165 <!-- dependencies -->
167 <legend><%-T("Dependencies")%> $help[dependency]</legend>
169 <% if ($show['edit']): %>
170 <input type="text" name="dependency" size="25" value="<%- $bug['dependency'] %>" /> <%- $dependencies %>
172 <% if ($dependencies): %><%- $dependencies %><% else: %><%- T("- none -") %><% endif %>
176 <!-- / dependencies -->
178 <%- $customfields['right'] %>
180 <!-- / RIGHT COLUMN -->
183 <div class="clearspill"></div>
187 <% if ($show['newreply']): %>
189 <div style="width: 100%">
191 <legend><%-T("New Reply")%><% if ($show['automations']): %> : <a href="explain.php?do=automations"><%-T("Automation")%></a> <select name="automation"><%- $select['automation'] %></select><% endif %> $help[newreply]</legend>
193 <textarea name="comment" cols="50" rows="10" class="textarea"></textarea>
195 <div><input type="checkbox" name="parselinks" value="1"<% if ($input->in['parselinks']): %>> checked="checked"<% endif %> /> <%-T("Parse Links in the Comment")%></div>
203 <input type="submit" name="submit" value=" <%-T("Commit Changes")%> " accesskey="s" />
204 <input type="reset" name="reset" value=" <%-T("Reset Fields")%> " accesskey="r" />
206 <!-- / submit row -->
212 <!-- attachments & voting -->
213 <div id="attachvote">
215 <% if ($show['attachments']): %>
217 <div id="attachments" style="float: <%- $stylevar['right'] %>">
219 <legend><%-T("Attachments")%><% if ($show['putattachments']): %> : <a href="attachment.php?do=add&bugid=<%- $bug['bugid'] %>"><%-T("New")%></a><% endif %></legend>
224 <!-- / attachments -->
228 <div id="votes<% if ($show['attachments']): %><% if (!$show['vote']): %>fifty<% endif %><% else: %><% if (!$show['vote']): %>hundred<% endif %><% endif %>">
230 <legend><%-T("Votes")%></legend>
232 <div><strong><%-T("For")%>:</strong> <%- $vote['votefor'] %> (<%- $vote['forpercent'] %>%)</div>
233 <div><strong><%-T("Against")%>:</strong> <%- $vote['voteagainst'] %> (<%- $vote['againstpercent'] %>%)</div>
234 <div><strong><%-T("Total")%>:</strong> <%- $vote['total'] %></div>
237 <!-- / show votes -->
239 <% if ($show['vote']): %>
243 <legend><%-T("Your Vote")%></legend>
245 <form name="vote" action="vote.php" method="post" class="form">
246 <input type="hidden" name="do" value="vote" />
247 <input type="hidden" name="bugid" value="<%- $bug['bugid'] %>" />
248 <input type="radio" name="vote" value="1" /> {@"Vote For (+1)"}<br />
249 <input type="radio" name="vote" value="-1" /> {@"Vote Against (-1)"}<br />
251 <input type="submit" name="submit" value=" <%-T("Vote")%> " accesskey="v" />
258 <!-- / attachments & voting -->
260 <div class="clearspill"></div>