.
/**
* @package MantisBT
* @copyright Copyright (C) 2002 - 2014 MantisBT Team - mantisbt-dev@lists.sourceforge.net
* @link http://www.mantisbt.org
*/
/**
* MantisBT Core API's
*/
require_once( 'core.php' );
/**
* requires ajax_api
*/
require_once( 'ajax_api.php' );
/**
* requires tag_api
*/
require_once( 'tag_api.php' );
compress_enable();
$f_tag_id = gpc_get_int( 'tag_id' );
$t_tag_row = tag_get( $f_tag_id );
$t_name = string_display_line( $t_tag_row['name'] );
$t_description = string_display( $t_tag_row['description'] );
if ( !( access_has_global_level( config_get( 'tag_edit_threshold' ) )
|| ( auth_get_current_user_id() == $t_tag_row['user_id'] )
&& access_has_global_level( config_get( 'tag_edit_own_threshold' ) ) ) )
{
access_denied();
}
html_page_top( sprintf( lang_get( 'tag_update' ), $t_name ) );
?>