. /** * @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' ); auth_reauthenticate(); access_ensure_global_level( config_get( 'manage_user_threshold' ) ); $f_username = gpc_get_string( 'username', '' ); if ( is_blank( $f_username ) ) { $t_user_id = gpc_get_int( 'user_id' ); } else { $t_user_id = user_get_id_by_name( $f_username ); if ( $t_user_id === false ) { # If we can't find the user by name, attempt to find by email. $t_user_id = user_get_id_by_email( $f_username ); if ( $t_user_id === false ) { error_parameters( $f_username ); trigger_error( ERROR_USER_BY_NAME_NOT_FOUND, ERROR ); } } } $t_user = user_get_row( $t_user_id ); # Ensure that the account to be updated is of equal or lower access to the # current user. access_ensure_global_level( $t_user['access_level'] ); $t_ldap = ( LDAP == config_get( 'login_method' ) ); html_page_top(); print_manage_menu(); ?>
> > > > > >
/>
/>

0; $t_delete = !( ( user_is_administrator( $t_user_id ) && ( user_count_level( config_get_global( 'admin_site_threshold' ) ) <= 1 ) ) ); if( $t_reset || $t_unlock || $t_delete ) { ?>


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