. /** * This page allows the user to edit his/her profile * Changes get POSTed to account_prof_update.php * * @package MantisBT * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org * @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' ); require_once( 'current_user_api.php' ); require_once( 'profile_api.php' ); auth_ensure_user_authenticated(); current_user_ensure_unprotected(); $f_profile_id = gpc_get_int( 'profile_id' ); if ( profile_is_global( $f_profile_id ) ) { access_ensure_global_level( config_get( 'manage_global_profile_threshold' ) ); $row = profile_get_row( ALL_USERS, $f_profile_id ); } else { $row = profile_get_row( auth_get_current_user_id(), $f_profile_id ); } extract( $row, EXTR_PREFIX_ALL, 'v' ); html_page_top(); if ( profile_is_global( $f_profile_id ) ) { print_manage_menu(); } ?>
*
*
*