| [ PHPXref.com ] | [ Generated: Sun Jul 20 18:33:16 2008 ] | [ Mantis 1.0.2 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 # Mantis - a php based bugtracking system 3 # Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org 4 # Copyright (C) 2002 - 2004 Mantis Team - mantisbt-dev@lists.sourceforge.net 5 # This program is distributed under the terms and conditions of the GPL 6 # See the README and LICENSE files for details 7 8 # -------------------------------------------------------- 9 # $Id: manage_proj_ver_delete.php,v 1.22 2004/12/14 20:37:07 marcelloscata Exp $ 10 # -------------------------------------------------------- 11 12 require_once ( 'core.php' ); 13 14 $t_core_path = config_get( 'core_path' ); 15 16 require_once( $t_core_path.'version_api.php' ); 17 18 $f_version_id = gpc_get_int( 'version_id' ); 19 20 $t_version_info = version_get( $f_version_id ); 21 $t_redirect_url = 'manage_proj_edit_page.php?project_id=' . $t_version_info->project_id; 22 23 access_ensure_project_level( config_get( 'manage_project_threshold' ), $t_version_info->project_id ); 24 25 # Confirm with the user 26 helper_ensure_confirmed( lang_get( 'version_delete_sure' ) . 27 '<br/>' . lang_get( 'version' ) . ': ' . $t_version_info->version, 28 lang_get( 'delete_version_button' ) ); 29 30 version_remove( $f_version_id ); 31 32 html_page_top1(); 33 html_meta_redirect( $t_redirect_url ); 34 html_page_top2(); 35 ?> 36 <br /> 37 <div align="center"> 38 <?php 39 echo lang_get( 'operation_successful' ).'<br />'; 40 print_bracket_link( $t_redirect_url, lang_get( 'proceed' ) ); 41 ?> 42 </div> 43 44 <?php html_page_bottom1( __FILE__ ) ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |