From a8d110dd123d3321aeccd39fb80eeebc421e4cf0 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 7 Nov 2010 12:13:39 +0100 Subject: [PATCH 594/594] Modified account_prefs_inc.php so the code is now smaller --- account_prefs_inc.php | 168 +++++++++--------------------------------------- 1 files changed, 32 insertions(+), 136 deletions(-) diff --git a/account_prefs_inc.php b/account_prefs_inc.php index c51e5dc..f25a2c1 100644 --- a/account_prefs_inc.php +++ b/account_prefs_inc.php @@ -105,134 +105,43 @@ 'email_on_bugnote_added', + 'email_on_status' => 'email_on_status_change', + 'email_on_priority' => 'email_on_priority_change', + ); + if ( ON == config_get( 'enable_email_notification' ) ) { + foreach ( $t_email_settings as $t_email_setting ) { + $t_email_category = ( isset($t_email_categories[$t_email_setting]) ) ? $t_email_categories[$t_email_setting] : $t_email_setting; ?> > - + - email_on_new, ON ); ?> /> + '.$t_email_setting.';' ), ON ); ?> /> - - email_on_new_min_severity ) ?> - - - -> - - - - - 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); ?> /> - - + > @@ -241,27 +150,14 @@ - - - - - - - - - - - - - - - - - - - + + + - + > -- 1.6.2.msysgit.0.186.gf7512