. #------------------------------ # $Revision: 2643 $ # $Author: al $ # $Date: 2009-06-18 19:06:27 -0400 (Thu, 18 Jun 2009) $ #------------------------------ $t_core_path = config_get( 'core_path' ); require_once( $t_core_path.'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; } } if ( ! user_pref_exists( $p_user_id ) ) { user_pref_set_default( $p_user_id ); } # prefix data with u_ $t_pref = user_pref_get( $p_user_id ); ?>
advanced_report, ON ); ?> />
advanced_view, ON ); ?> />
advanced_update, ON ); ?> />
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); ?> />