1
0
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:
Marc Alexander 2020-04-08 21:39:38 +02:00
commit c0a95e8e25
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 7 additions and 1 deletions

View File

@ -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>';
}
}

View File

@ -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}