[ Index ] |
|
Code source de Mantis 1.1.0rc3 |
1 <?php 2 # Mantis - a php based bugtracking system 3 4 # Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org 5 # Copyright (C) 2002 - 2007 Mantis Team - mantisbt-dev@lists.sourceforge.net 6 7 # Mantis is free software: you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation, either version 2 of the License, or 10 # (at your option) any later version. 11 # 12 # Mantis is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with Mantis. If not, see <http://www.gnu.org/licenses/>. 19 ?> 20 <?php 21 require_once ( 'core.php' ); 22 $t_core_path = config_get( 'core_path' ); 23 24 require_once( $t_core_path.'compress_api.php' ); 25 require_once( $t_core_path.'filter_api.php' ); 26 require_once( $t_core_path.'current_user_api.php' ); 27 require_once( $t_core_path.'bug_api.php' ); 28 require_once( $t_core_path.'string_api.php' ); 29 require_once( $t_core_path.'date_api.php' ); 30 31 auth_ensure_user_authenticated(); 32 compress_enable(); 33 34 $f_query_id = gpc_get_int( 'source_query_id' ); 35 $t_redirect_url = 'query_view_page.php'; 36 $t_delete_url = 'query_delete.php'; 37 38 if ( ! filter_db_can_delete_filter( $f_query_id ) ) { 39 print_header_redirect( $t_redirect_url ); 40 } 41 42 html_page_top1(); 43 html_page_top2(); 44 ?> 45 <br /> 46 <div align="center"> 47 <center><b><?php print string_display( filter_db_get_name( $f_query_id ) ); ?></b></center> 48 <?php echo lang_get( 'query_delete_msg' ); ?> 49 50 <form method="post" action="<?php print $t_delete_url; ?>"> 51 <br /><br /> 52 <input type="hidden" name="source_query_id" value="<?php print $f_query_id; ?>"/> 53 <input type="submit" class="button" value="<?php print lang_get( 'delete_query' ); ?>"/> 54 </form> 55 56 <form method="post" action="<?php print $t_redirect_url; ?>"> 57 <input type="submit" class="button" value="<?php print lang_get( 'go_back' ); ?>"/> 58 </form> 59 60 <?php 61 print '</div>'; 62 html_page_bottom1( __FILE__ ); 63 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 09:42:17 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |