.
# --------------------------------------------------------
# $Id: account_page.php,v 1.52.2.1 2007-10-13 22:32:01 giallu Exp $
# --------------------------------------------------------
# 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
require_once( 'core.php' );
$t_core_path = config_get( 'core_path' );
require_once( $t_core_path.'current_user_api.php' );
#============ Parameters ============
# (none)
#============ Permissions ============
auth_ensure_user_authenticated();
current_user_ensure_unprotected();
?>