mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-04 07:53:06 +02:00
Merge branch '3.3.x'
This commit is contained in:
commit
c0a95e8e25
@ -648,6 +648,7 @@ class acp_board
|
||||
$messenger->anti_abuse_headers($config, $user);
|
||||
$messenger->assign_vars(array(
|
||||
'USERNAME' => htmlspecialchars_decode($user->data['username']),
|
||||
'MESSAGE' => htmlspecialchars_decode($request->variable('send_test_email_text', '', true)),
|
||||
));
|
||||
$messenger->send(NOTIFY_EMAIL);
|
||||
|
||||
@ -1167,6 +1168,7 @@ class acp_board
|
||||
{
|
||||
global $user;
|
||||
|
||||
return '<input class="button2" type="submit" id="' . $key . '" name="' . $key . '" value="' . $user->lang['SEND_TEST_EMAIL'] . '" />';
|
||||
return '<input class="button2" type="submit" id="' . $key . '" name="' . $key . '" value="' . $user->lang('SEND_TEST_EMAIL') . '" />
|
||||
<textarea id="' . $key . '_text" name="' . $key . '_text" placeholder="' . $user->lang('MESSAGE') . '"></textarea>';
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,10 @@ Hello {USERNAME},
|
||||
|
||||
Congratulations. If you received this email, phpBB is correctly configured to send emails.
|
||||
|
||||
<!-- IF MESSAGE -->
|
||||
{MESSAGE}
|
||||
|
||||
<!-- ENDIF -->
|
||||
In case you require assistance, please visit the phpBB support forums - https://www.phpbb.com/community/
|
||||
|
||||
{EMAIL_SIG}
|
||||
|
Loading…
x
Reference in New Issue
Block a user