. /** * @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( 'user_pref_api.php' ); function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_accounts_menu = true, $p_redirect_url = '') { if ( null === $p_user_id ) { $p_user_id = auth_get_current_user_id(); } $t_redirect_url = $p_redirect_url; if ( is_blank( $t_redirect_url ) ) { $t_redirect_url = 'account_prefs_page.php'; } # protected account check if ( user_is_protected( $p_user_id ) ) { if ( $p_error_if_protected ) { trigger_error( ERROR_PROTECTED_ACCOUNT, ERROR ); } else { return; } } # prefix data with u_ $t_pref = user_pref_get( $p_user_id ); # Account Preferences Form BEGIN ?>
> > > > > > > > > > > > > > > >
email_on_new, ON ); ?> />
email_on_assigned, ON ); ?> />
email_on_feedback, ON ); ?> />
email_on_resolved, ON ); ?> />
email_on_closed, ON ); ?> />
email_on_reopened, ON ); ?> />
email_on_bugnote, ON ); ?> />
email_on_status, ON ); ?> />
email_on_priority , ON); ?> />