]> src.bluestatic.org Git - bugdar.git/blob - templates/newreport.tpl
Fix entity typos
[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><%-T("New Bug Report")%> - <%- bugdar::$options['trackertitle'] %></title>
8 </head>
9
10 <body>
11
12 <%- $header %>
13
14 <% if ($show['errors']): %>
15 <div class="error" style="text-align: <%- $stylevar['left'] %>">
16 <%-T("The following errors occurred")%>:
17 <%- $message->errorBox %>
18 </div>
19 <% endif %>
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><%-T("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"><%-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>
39 </fieldset>
40 <!-- / product -->
41
42 <% if ($show['changestatus']): %>
43 <!-- status -->
44 <fieldset>
45 <legend><%-T("Status")%> $help[status]</legend>
46 <div class="field"><select name="status"><%- $select['status'] %></select></div>
47 </fieldset>
48 <!-- / status -->
49 <% endif %>
50
51 <!-- severity -->
52 <fieldset>
53 <legend><%-T("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><%-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>
70 </fieldset>
71 <!-- / summary -->
72
73 <% if ($show['assign']): %>
74 <!-- assignment -->
75 <fieldset>
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>
78 </fieldset>
79 <!-- / assignment -->
80 <% endif %>
81
82 <% if ($show['changestatus']): %>
83 <!-- resolution -->
84 <fieldset>
85 <legend><%-T("Resolution")%> $help[resolution]</legend>
86 <div class="field"><select name="resolution"><%- $select['resolution'] %></select></div>
87 </fieldset>
88 <!-- / resolution -->
89 <% endif %>
90
91 <% if ($show['changestatus']): %>
92 <!-- priority -->
93 <fieldset>
94 <legend><%-T("Priority")%> $help[priority]</legend>
95 <div class="field"><select name="priority"><%- $select['priority'] %></select></div>
96 </fieldset>
97 <!-- / priority -->
98 <% endif %>
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><%-T("Description/Initial Report")%></legend>
112
113 <textarea name="comment" cols="50" rows="10" class="textarea"><% if ($input->in['comment']): %><%- $input->in['comment'] %><% else: %><%- bugdar::$options['defaultcomment'] %><% endif %></textarea>
114
115 <div><input type="checkbox" name="parselinks" value="1"<% if ($input->in['parselinks']): %> checked="checked"<% endif %> /> <%-T("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=" <%-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" />
125 </div>
126 <!-- / submit row -->
127
128 </form>
129
130 <!-- <script type="text/javascript"> setup_report("{$input->in['product']}", "{$input->in['component']}", "{$input->in['version']}"); </script> -->
131
132 <%- $footer %>