Templates XHTML compliance fixes
[bugdar.git] / templates / newreport.tpl
1 $doctype
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
3 <head>
4 $headinclude
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>{@"New Bug Report"} - {$bugsys->options['trackertitle']}</title>
8 </head>
9
10 <body>
11
12 $header
13
14 <if condition="$show['errors']">
15 <div class="error" style="text-align: $stylevar[left]">
16 {@"The following errors occurred"}:
17 {$message->errorBox}
18 </div>
19 </if>
20
21 <form name="bugreport" action="newreport.php" method="post" class="form">
22 <input type="hidden" name="do" value="insert" />
23
24 <div id="fieldbody">
25 <!-- LEFT COLUMN -->
26 <div id="$stylevar[left]col">
27
28 <!-- summary -->
29 <fieldset>
30 <legend>{@"Reporter"} $help[reporter]</legend>
31 <div class="field">$reporter</div>
32 </fieldset>
33 <!-- / summary -->
34
35 <!-- product -->
36 <fieldset>
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>
39 </fieldset>
40 <!-- / product -->
41
42 <if condition="$show['changestatus']">
43 <!-- status -->
44 <fieldset>
45 <legend>{@"Status"} $help[status]</legend>
46 <div class="field"><select name="status">$select[status]</select></div>
47 </fieldset>
48 <!-- / status -->
49 </if>
50
51 <!-- severity -->
52 <fieldset>
53 <legend>{@"Severity"} $help[severity]</legend>
54 <div class="field"><select name="severity">$select[severity]</select></div>
55 </fieldset>
56 <!-- / severity -->
57
58 $customfields[left]
59
60 </div>
61 <!-- / LEFT COLUMN -->
62
63 <!-- RIGHT COLUMN -->
64 <div id="$stylevar[right]col">
65
66 <!-- summary -->
67 <fieldset>
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>
70 </fieldset>
71 <!-- / summary -->
72
73 <if condition="$show['assign']">
74 <!-- assignment -->
75 <fieldset>
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>
78 </fieldset>
79 <!-- / assignment -->
80 </if>
81
82 <if condition="$show['changestatus']">
83 <!-- resolution -->
84 <fieldset>
85 <legend>{@"Resolution"} $help[resolution]</legend>
86 <div class="field"><select name="resolution">$select[resolution]</select></div>
87 </fieldset>
88 <!-- / resolution -->
89 </if>
90
91 <if condition="$show['changestatus']">
92 <!-- priority -->
93 <fieldset>
94 <legend>{@"Priority"} $help[priority]</legend>
95 <div class="field"><select name="priority">$select[priority]</select></div>
96 </fieldset>
97 <!-- / priority -->
98 </if>
99
100 $customfields[right]
101
102 </div>
103 <!-- / RIGHT COLUMN -->
104 </div>
105
106 <div class="clearspill"></div>
107
108 <!-- new reply -->
109 <div style="width: 100%">
110 <fieldset>
111 <legend>{@"Description/Initial Report"}</legend>
112
113 <textarea name="comment" cols="50" rows="10" class="textarea"><if condition="$bugsys->in['comment']">{$bugsys->in['comment']}<else />{$bugsys->options['defaultcomment']}</if></textarea>
114
115 <div><input type="checkbox" name="parselinks" value="1"<if condition="$bugsys->in['parselinks']"> checked="checked"</if> /> {@"Parse Links in the Comment"}</div>
116 </fieldset>
117 </div>
118 <!-- / new reply -->
119
120 <!-- submit row -->
121 <div id="submitrow">
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" />
125 </div>
126 <!-- / submit row -->
127
128 </form>
129
130 <!-- <script type="text/javascript"> setup_report("{$bugsys->in['product']}", "{$bugsys->in['component']}", "{$bugsys->in['version']}"); </script> -->
131
132 $footer