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