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:
@@ -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;
|
||||
}
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user