/
bug_resolve_page.php
81 lines (77 loc) · 1.94 KB
/
bug_resolve_page.php
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
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
# Copyright (C) 2002 Mantis Team - mantisbt-dev@lists.sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<?php require_once( 'core.php' ) ?>
<?php login_cookie_check() ?>
<?php
$f_bug_id = gpc_get_int( 'f_bug_id' );
project_access_check( $f_bug_id );
check_access( $g_handle_bug_threshold );
bug_ensure_exists( $f_bug_id );
?>
<?php print_page_top1() ?>
<?php print_page_top2() ?>
<?php # Resolve Form BEGIN ?>
<br />
<div align="center">
<form method="post" action="bug_resolve.php">
<table class="width75" cellspacing="1">
<tr>
<td class="form-title" colspan="2">
<input type="hidden" name="f_bug_id" value="<?php echo $f_bug_id ?>" />
<?php echo $s_resolve_bug_title ?>
</td>
</tr>
<tr class="row-1">
<td class="category">
<?php echo $s_resolution ?>
</td>
<td>
<select name="f_resolution">
<?php print_enum_string_option_list( "resolution", FIXED ) ?>
</select>
</td>
</tr>
<tr class="row-2">
<td class="category">
<?php echo $s_duplicate_id ?>
</td>
<td>
<input type="text" name="f_duplicate_id" maxlength="7" />
</td>
</tr>
<?php if ( ON == $g_allow_close_immediately ) { ?>
<tr class="row-1">
<td class="category">
<?php echo $s_close_immediately ?>
</td>
<td>
<input type="checkbox" name="f_close_now" />
</td>
</tr>
<?php } ?>
<tr class="row-1">
<td class="category" colspan="2">
<?php echo $s_add_bugnote_title ?>
</td>
</tr>
<tr class="row-1">
<td class="center" colspan="2">
<textarea name="f_bugnote_text" cols="80" rows="10" wrap="virtual"></textarea>
</td>
</tr>
<tr>
<td class="center" colspan="2">
<input type="submit" value="<?php echo $s_resolve_bug_button ?>" />
</td>
</tr>
</table>
</form>
</div>
<?php # Resolve Form END ?>
<?php include( $g_bug_view_inc ) ?>
<?php print_page_bot1( __FILE__ ) ?>