From 1fb33175f351a692ecac351d0042f06e4ee38f74 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 17 Mar 2016 11:02:25 -0700 Subject: [PATCH] Issue #1262 - Should fix signup notification issue. --- e107_admin/notify.php | 19 +++++++++++++++++-- signup.php | 2 ++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/e107_admin/notify.php b/e107_admin/notify.php index c3c920a6e..cea0a87fa 100644 --- a/e107_admin/notify.php +++ b/e107_admin/notify.php @@ -412,11 +412,21 @@ class notify_config } + $highlight = varset($_GET['type']) == $id ? " class='text-warning'" : ''; $text = " - ".$description.": + ".$description.":"; + + + + if(e_DEBUG) + { + $text .= "".$id.""; + } + + $text .= " ".$uc->uc_dropdown('event['.$id.'][class]', varset($this->notify_prefs['event'][$id]['class'], e_UC_NOBODY), "nobody,main,admin,member,classes,email","onchange=\"mail_field(this.value,'event_".$id."');\" "); @@ -442,7 +452,12 @@ class notify_config } - $text .= " + $text .= ""; + + + + + $text .= " "; return $text; } diff --git a/signup.php b/signup.php index 8155f5976..6c4dce930 100644 --- a/signup.php +++ b/signup.php @@ -926,6 +926,8 @@ if (isset($_POST['register']) && intval($pref['user_reg']) === 1) e107::getEvent()->trigger('usersup', $_POST); // Old trigger - send everything in the template, including extended fields. e107::getEvent()->trigger('userpartial', array_merge($allData['data'],$eufVals['data'])); // New trigger - send everything in the template, including extended fields. + e107::getEvent()->trigger('user_signup_submitted', $_POST); + require_once(HEADERF);