| [ 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_custom_field_add_existing.php,v 1.16 2005/02/12 20:01:06 jlatour Exp $ 10 # -------------------------------------------------------- 11 ?> 12 <?php 13 require_once ( 'core.php' ); 14 15 $t_core_path = config_get( 'core_path' ); 16 17 require_once( $t_core_path.'custom_field_api.php' ); 18 ?> 19 <?php 20 $f_field_id = gpc_get_int( 'field_id' ); 21 $f_project_id = gpc_get_int( 'project_id' ); 22 23 # We should check both since we are in the project section and an 24 # admin might raise the first threshold and not realize they need 25 # to raise the second 26 access_ensure_project_level( config_get( 'manage_project_threshold' ), $f_project_id ); 27 access_ensure_project_level( config_get( 'custom_field_link_threshold' ), $f_project_id ); 28 29 custom_field_link( $f_field_id, $f_project_id ); 30 31 $t_redirect_url = 'manage_proj_edit_page.php?project_id=' . $f_project_id; 32 ?> 33 <?php html_page_top1() ?> 34 <?php 35 html_meta_redirect( $t_redirect_url ); 36 ?> 37 <?php html_page_top2() ?> 38 39 <br /> 40 <div align="center"> 41 <?php 42 echo lang_get( 'operation_successful' ).'<br />'; 43 44 print_bracket_link( $t_redirect_url, lang_get( 'proceed' ) ); 45 ?> 46 </div> 47 48 <?php html_page_bottom1( __FILE__ ) ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |