. /** * CALLERS * This page is called from: * - print_menu() * - print_account_menu() * - header redirects from account_*.php * - included by verify.php to allow user to change their password * * EXPECTED BEHAVIOUR * - Display the user's current settings * - Allow the user to edit their settings * - Allow the user to save their changes * - Allow the user to delete their account if account deletion is enabled * * CALLS * This page calls the following pages: * - account_update.php (to save changes) * - account_delete.php (to delete the user's account) * * RESTRICTIONS & PERMISSIONS * - User must be authenticated * - The user's account must not be protected * * @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' ); #============ Parameters ============ # (none) #============ Permissions ============ auth_ensure_user_authenticated(); current_user_ensure_unprotected(); # extracts the user information for the currently logged in user # and prefixes it with u_ $row = user_get_row( auth_get_current_user_id() ); extract( $row, EXTR_PREFIX_ALL, 'u' ); $t_ldap = ( LDAP == config_get( 'login_method' ) ); # In case we're using LDAP to get the email address... this will pull out # that version instead of the one in the DB $u_email = user_get_email( $u_id, $u_username ); # note if we are being included by a script of a different name, if so, # this is a mandatory password change request $t_force_pw_reset = is_page_name( 'verify.php' ); # Only show the update button if there is something to update. $t_show_update_button = false; html_page_top( lang_get( 'account_link' ) ); ?>
' . lang_get( 'verify_change_password' ); } ?>

> > > > > > valign="top"> > > valign="top">
*
*
*