/
bugnote_add_page.php3
63 lines (58 loc) · 1.61 KB
/
bugnote_add_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
<?
# Mantis - a php based bugtracking system
# Copyright (C) 2000 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() ?>
<? 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 ) ?>
<?
db_mysql_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
?>
<p>
<? print_menu( $g_menu_include_file ) ?>
<p>
<div align=center>
[ <a href="<? echo $g_view_bug_page ?>?f_id=<? echo $f_id ?>">Back</a> ]
</div>
<? include( $g_bugnote_include_file ) ?>
<p>
<div align=center>
<table width=100% 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_bugnote_add ?>">
<input type=hidden name=f_bug_id value="<? echo $f_id ?>">
<tr>
<td bgcolor=<? echo $g_table_title_color ?>>
<b>Add Bugnote</b>
</td>
</tr>
<tr>
<td bgcolor=<? echo $g_primary_color_dark ?> align=center>
<textarea name=f_bugnote_text cols=80 rows=10></textarea>
</td>
</tr>
<tr>
<td bgcolor=<? echo $g_primary_color_light ?> align=center>
<input type=submit value=" Add Note ">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</div>
<? print_footer() ?>
<? print_body_bottom() ?>
<? print_html_bottom() ?>