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 <title><%-T("New Bug Report")%> - <%- bugdar::$options['trackertitle'] %></title>
14 <% if ($show['errors']): %>
15 <div class="error" style="text-align: <%- $stylevar['left'] %>">
16 <%-T("The following errors occurred")%>:
17 <%- $message->errorBox %>
21 <form name="bugreport" action="newreport.php" method="post" class="form">
22 <input type="hidden" name="do" value="insert" />
26 <div id="<%- $stylevar['left'] %>col">
30 <legend><%-T("Reporter")%> $help[reporter]</legend>
31 <div class="field"><%- $reporter %></div>
37 <legend><a href="explain.php?do=products"><%-T("Product/Version")%></a> $help[product]</legend>
38 <div class="field"><select name="product"><% if (!$input->in['product']): %><option value="0" selected="selected"><%-T("Select...")%></option><% endif %><%- $productSelect %></select></div>
42 <% if ($show['changestatus']): %>
45 <legend><%-T("Status")%> $help[status]</legend>
46 <div class="field"><select name="status"><%- $select['status'] %></select></div>
53 <legend><%-T("Severity")%> $help[severity]</legend>
54 <div class="field"><select name="severity"><%- $select['severity'] %></select></div>
58 <%- $customfields['left'] %>
61 <!-- / LEFT COLUMN -->
64 <div id="<%- $stylevar['right'] %>col">
68 <legend><%-T("Summary")%> $help[summary]</legend>
69 <div class="field"><input type="text" name="summary" size="25" value="<%- $input->in['summary'] %>" style="width: 100%" maxlength="250" /></div>
73 <% if ($show['assign']): %>
76 <legend><%-T("Assignment")%> $help[assignedto]</legend>
77 <div class="field"><select name="assignedto"><option value="0" selected="selected"><%-T("No Assignment")%></option><%- $select['dev'] %></select></div>
82 <% if ($show['changestatus']): %>
85 <legend><%-T("Resolution")%> $help[resolution]</legend>
86 <div class="field"><select name="resolution"><%- $select['resolution'] %></select></div>
91 <% if ($show['changestatus']): %>
94 <legend><%-T("Priority")%> $help[priority]</legend>
95 <div class="field"><select name="priority"><%- $select['priority'] %></select></div>
100 <%- $customfields['right'] %>
103 <!-- / RIGHT COLUMN -->
106 <div class="clearspill"></div>
109 <div style="width: 100%">
111 <legend><%-T("Description/Initial Report")%></legend>
113 <textarea name="comment" cols="50" rows="10" class="textarea"><% if ($input->in['comment']): %><%- $input->in['comment'] %><% else: %><%- bugdar::$options['defaultcomment'] %><% endif %></textarea>
115 <div><input type="checkbox" name="parselinks" value="1"<% if ($input->in['parselinks']): %> checked="checked"<% endif %> /> <%-T("Parse Links in the Comment")%></div>
122 <input type="submit" name="submit" value=" <%-T("Submit Report")%> " accesskey="s" />
123 <input type="reset" name="reset" value=" <%-T("Reset Fields")%> " accesskey="r" />
124 <input type="submit" name="submit_reload" value=" <%-T("Submit Report and Add Another Bug")%> " accesskey="e" />
126 <!-- / submit row -->
130 <!-- <script type="text/javascript"> setup_report("{$input->in['product']}", "{$input->in['component']}", "{$input->in['version']}"); </script> -->