Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (43 sloc) 1.551 kb
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
1 <?php
2 # Mantis - a php based bugtracking system
27492e8f » Kenzaburo Ito
2002-04-04 Updated Copyright to 2002.
3 # Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
0a6d57f4 » vboctor
2002-12-23 - Added some extra threshold configs to config_defaults_inc.php. The …
4 # Copyright (C) 2002 - 2003 Mantis Team - mantisbt-dev@lists.sourceforge.net
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
5 # This program is distributed under the terms and conditions of the GPL
6 # See the README and LICENSE files for details
12318186 » Julian Fitzell
2003-02-09 * constant_inc.php
7
8 # --------------------------------------------------------
9 # $Id: manage_proj_ver_update.php,v 1.24 2003-02-09 00:50:59 jfitzell Exp $
10 # --------------------------------------------------------
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
11 ?>
1ac5f0b2 » Jeroen Latour
2003-01-24 More require_once statements added. Note that these new statements en…
12 <?php
13 require_once( 'core.php' );
14
f7289f1e » Jeroen Latour
2003-01-25 I took my initial approach of using $g_core_path to find core files f…
15 $t_core_path = config_get( 'core_path' );
16
e9ec842f » Jeroen Latour
2003-01-25 Modified require_once statements to adhere to code formatting policy
17 require_once( $t_core_path.'version_api.php' );
1ac5f0b2 » Jeroen Latour
2003-01-24 More require_once statements added. Note that these new statements en…
18 ?>
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
19 <?php login_cookie_check() ?>
20 <?php
0a6d57f4 » vboctor
2002-12-23 - Added some extra threshold configs to config_defaults_inc.php. The …
21 check_access( config_get( 'manage_project_threshold' ) );
77a09274 » vboctor
2002-06-03 1. Fixed 0002085: PHP errors in case of updating a bug with no category
22
d6843bba » Julian Fitzell
2002-12-29 Remove f_ prefix from POST and GET field names. The variables should …
23 $f_project_id = gpc_get_int( 'project_id' );
24 $f_version = gpc_get_string( 'version' );
25 $f_date_order = gpc_get_string( 'date_order' );
12318186 » Julian Fitzell
2003-02-09 * constant_inc.php
26 $f_new_version = gpc_get_string( 'new_version' );
77a09274 » vboctor
2002-06-03 1. Fixed 0002085: PHP errors in case of updating a bug with no category
27
12318186 » Julian Fitzell
2003-02-09 * constant_inc.php
28 if ( is_blank( $f_new_version ) ) {
29 trigger_error( ERROR_EMPTY_FIELD, ERROR );
30 }
ac937c01 » Kenzaburo Ito
2002-05-11 Modified to use core_version_API.php.
31
12318186 » Julian Fitzell
2003-02-09 * constant_inc.php
32 $f_version = trim( $f_version );
33 $f_new_version = trim( $f_new_version );
f98bca97 » Jeroen Latour
2002-05-26 Prefixed all variables containing validated input with $c_.
34
12318186 » Julian Fitzell
2003-02-09 * constant_inc.php
35 version_update( $f_project_id, $f_version, $f_new_version, $f_date_order );
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
36
12318186 » Julian Fitzell
2003-02-09 * constant_inc.php
37 $t_redirect_url = 'manage_proj_edit_page.php?project_id=' . $f_project_id;
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
38 ?>
39 <?php
12318186 » Julian Fitzell
2003-02-09 * constant_inc.php
40 print_page_top1();
41
42 print_meta_redirect( $t_redirect_url );
43
44 print_page_top2();
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
45 ?>
46
9655dec7 » Kenzaburo Ito
2002-09-03 changed P tags to BR. This will format better across more browsers. A…
47 <br />
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
48 <div align="center">
49 <?php
12318186 » Julian Fitzell
2003-02-09 * constant_inc.php
50 echo lang_get( 'operation_successful' ) . '<br />';
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
51
54ce1a02 » Julian Fitzell
2002-09-06 more lang_get() conversions
52 print_bracket_link( $t_redirect_url, lang_get( 'proceed' ) );
bd552ac1 » Kenzaburo Ito
2002-01-14 Renamed files to .php
53 ?>
54 </div>
55
3113add4 » vboctor
2002-06-14 Now db_connect is called once in core_database_API.php rather than at…
56 <?php print_page_bot1( __FILE__ ) ?>
Something went wrong with that request. Please try again.