1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Issue #1262 - Should fix signup notification issue.

This commit is contained in:
Cameron
2016-03-17 11:02:25 -07:00
parent 9a7ec8908c
commit 1fb33175f3
2 changed files with 19 additions and 2 deletions

View File

@@ -412,11 +412,21 @@ class notify_config
}
$highlight = varset($_GET['type']) == $id ? " class='text-warning'" : '';
$text = "
<tr>
<td title='".$id."'><span{$highlight}>".$description.":</span></td>
<td title='".$id."'><span{$highlight}>".$description.":</span></td>";
if(e_DEBUG)
{
$text .= "<td>".$id."</td>";
}
$text .= "
<td class='form-inline nowrap'>
".$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 .= "</td>
$text .= "</td>";
$text .= "
</tr>";
return $text;
}

View File

@@ -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);