mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
hit me hard... hit me harder. did not see these two sections the first time.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4112 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1634fbc1c6
commit
11d8fdd299
2 changed files with 2 additions and 7 deletions
|
@ -716,7 +716,6 @@ else if ( $group_id )
|
||||||
}
|
}
|
||||||
|
|
||||||
$emailer->use_template('group_approved');
|
$emailer->use_template('group_approved');
|
||||||
$emailer->email_address($lang['Group_approved'] . ':;');//$userdata['user_email']
|
|
||||||
$emailer->set_subject($lang['Group_approved']);
|
$emailer->set_subject($lang['Group_approved']);
|
||||||
|
|
||||||
$emailer->assign_vars(array(
|
$emailer->assign_vars(array(
|
||||||
|
|
|
@ -621,18 +621,14 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||||
message_die(GENERAL_ERROR, 'Could not select Administrators', '', __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, 'Could not select Administrators', '', __LINE__, __FILE__, $sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
$rows = $db->sql_fetchrowset($result);
|
while ($row = $db->sql_fetchrow($result))
|
||||||
$bcc_list = '';
|
|
||||||
|
|
||||||
for ($i = 0; $i < count($rows); $i++)
|
|
||||||
{
|
{
|
||||||
$bcc_list = ($bcc_list != '') ? ', ' . trim($rows[$i]['user_email']) : trim($rows[$i]['user_email']);
|
$emailer->bcc(trim($row['user_email']));
|
||||||
}
|
}
|
||||||
|
|
||||||
$emailer->use_template("admin_activate", $board_config['default_lang']);
|
$emailer->use_template("admin_activate", $board_config['default_lang']);
|
||||||
$emailer->email_address($lang['New_account_subject'] . ':;');
|
$emailer->email_address($lang['New_account_subject'] . ':;');
|
||||||
$emailer->set_subject($lang['New_account_subject']);
|
$emailer->set_subject($lang['New_account_subject']);
|
||||||
$emailer->extra_headers($email_headers . "Bcc: $bcc_list\n");
|
|
||||||
|
|
||||||
$emailer->assign_vars(array(
|
$emailer->assign_vars(array(
|
||||||
'USERNAME' => preg_replace($unhtml_specialchars_match, $unhtml_specialchars_replace, substr(str_replace("\'", "'", $username), 0, 25)),
|
'USERNAME' => preg_replace($unhtml_specialchars_match, $unhtml_specialchars_replace, substr(str_replace("\'", "'", $username), 0, 25)),
|
||||||
|
|
Loading…
Add table
Reference in a new issue