mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge branch '3.3.x'
This commit is contained in:
@@ -648,6 +648,7 @@ class acp_board
|
|||||||
$messenger->anti_abuse_headers($config, $user);
|
$messenger->anti_abuse_headers($config, $user);
|
||||||
$messenger->assign_vars(array(
|
$messenger->assign_vars(array(
|
||||||
'USERNAME' => htmlspecialchars_decode($user->data['username']),
|
'USERNAME' => htmlspecialchars_decode($user->data['username']),
|
||||||
|
'MESSAGE' => htmlspecialchars_decode($request->variable('send_test_email_text', '', true)),
|
||||||
));
|
));
|
||||||
$messenger->send(NOTIFY_EMAIL);
|
$messenger->send(NOTIFY_EMAIL);
|
||||||
|
|
||||||
@@ -1167,6 +1168,7 @@ class acp_board
|
|||||||
{
|
{
|
||||||
global $user;
|
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.
|
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/
|
In case you require assistance, please visit the phpBB support forums - https://www.phpbb.com/community/
|
||||||
|
|
||||||
{EMAIL_SIG}
|
{EMAIL_SIG}
|
||||||
|
Reference in New Issue
Block a user