/
report_bug_advanced_page.php3
209 lines (205 loc) · 5.54 KB
/
report_bug_advanced_page.php3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<? include( "core_API.php" ) ?>
<? login_cookie_check() ?>
<?
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
?>
<? print_html_top() ?>
<? print_head_top() ?>
<? print_title( $g_window_title ) ?>
<? print_css( $g_css_include_file ) ?>
<? include( $g_meta_include_file ) ?>
<? print_head_bottom() ?>
<? print_body_top() ?>
<? print_header( $g_page_title ) ?>
<p>
<? print_menu( $g_menu_include_file ) ?>
<p>
<div align=center>
[ <a href="<? echo $g_report_bug_page ?>"><? echo $s_simple_report_link ?></a> ]
</div>
<p>
<div align=center>
<table width=75% bgcolor=<? echo $g_primary_border_color." ".$g_primary_table_tags ?>>
<tr>
<td bgcolor=<? echo $g_white_color ?>>
<table width=100%>
<form method=post action="<? echo $g_report_add ?>">
<tr>
<td colspan=2 bgcolor=<? echo $g_table_title_color ?>>
<b><? echo $s_enter_report_details_title ?></b>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td valign=top width=25%>
<? echo $s_category ?> <? print_documentaion_link( "category" ) ?>:<br>
<span class="required">*<? echo $s_required ?>*</span>
</td>
<td>
<select name=f_category>
<option value="" selected><? echo $s_select_category ?>
<? print_category_option_list( $f_category ) ?>
</select>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_light ?>>
<td>
<? echo $s_reproducibility ?> <? print_documentaion_link( "reproducibility" ) ?>:<br>
<span class="required">*<? echo $s_required ?>*</span>
</td>
<td>
<select name=f_reproducibility>
<option value="" selected><? echo $s_select_reproducibility ?>
<? print_field_option_list( "reproducibility", $f_reproducibility ) ?>
</select>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td>
<? echo $s_severity ?> <? print_documentaion_link( "severity" ) ?>:<br>
<span class="required">*<? echo $s_required ?>*</span>
</td>
<td>
<select name=f_severity>
<option value="" selected><? echo $s_select_severity ?>
<? print_field_option_list( "severity", $f_severity ) ?>
</select>
</td>
</tr>
<tr height=10 bgcolor=<? echo $g_white_color ?>>
<td colspan=2>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_light ?>>
<td>
<? echo $s_select_profile ?>:
</td>
<td>
<select name=f_profile_id>
<? print_profile_option_list( get_current_user_field( "id " ), $f_profile_id ) ?>
</select>
</td>
</tr>
<tr height=10 bgcolor=<? echo $g_white_color ?>>
<td colspan=2>
<? echo $s_or_fill_in ?>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_light ?>>
<td>
<? echo $s_platform ?>:
</td>
<td>
<input type=text name=f_platform size=32 maxlength=32 value="<? echo $f_platform ?>">
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td>
<? echo $s_os ?>:
</td>
<td>
<input type=text name=f_os size=32 maxlength=32 value="<? echo $f_os ?>">
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_light ?>>
<td>
<? echo $s_os_version ?>:
</td>
<td>
<input type=text name=f_osbuild size=16 maxlength=16 value="<? echo $f_osbuild ?>">
</td>
</tr>
<tr height=10 bgcolor=<? echo $g_white_color ?>>
<td colspan=2>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td>
<? echo $s_product_version ?>
</td>
<td>
<select name=f_product_version>
<? print_version_option_list( $f_product_version ) ?>
</select>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_light ?>>
<td>
<? echo $s_product_build ?>
</td>
<td>
<input type=text name=f_build size=4 maxlength=4 value="<? echo $f_build ?>">
</td>
</tr>
<tr height=10 bgcolor=<? echo $g_white_color ?>>
<td colspan=2>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_light ?>>
<td>
<? echo $s_assign_to ?>
</td>
<td>
<select name=f_assign_id>
<option value="0000000" SELECTED>
<? print_assign_to_option_list( $f_assign_id ) ?>
</select>
</td>
</tr>
<tr height=10 bgcolor=<? echo $g_white_color ?>>
<td colspan=2>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td>
<? echo $s_summary ?> <? print_documentaion_link( "summary" ) ?>:<br>
<span class="required">*<? echo $s_required ?>*</span>
</td>
<td>
<input type=text name=f_summary size=80 maxlength=128 value="<? echo $f_summary ?>">
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_light ?>>
<td>
<? echo $s_description ?> <? print_documentaion_link( "description" ) ?>:<br>
<span class="required">*<? echo $s_required ?>*</span>
</td>
<td>
<textarea name=f_description cols=60 rows=5><? echo $f_description ?></textarea>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td>
<? echo $s_steps_to_reproduce ?> <? print_documentaion_link( "steps_to_reproduce" ) ?>:
</td>
<td>
<textarea name=f_steps_to_reproduce cols=60 rows=5><? echo $f_steps_to_reproduce ?></textarea>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_light ?>>
<td>
<? echo $s_additional_information ?> <? print_documentaion_link( "additional_information" ) ?>:
</td>
<td>
<textarea name=f_additional_info cols=60 rows=5><? echo $f_additional_info ?></textarea>
</td>
</tr>
<tr>
<td align=center colspan=2>
<input type=submit value="<? echo $s_submit_report_button ?>">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</div>
<? print_footer(__FILE__) ?>
<? print_body_bottom() ?>
<? print_html_bottom() ?>