diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/language/en/posting.php | 2 | ||||
-rw-r--r-- | phpBB/posting.php | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/language/en/posting.php b/phpBB/language/en/posting.php index dfa827fd8d..692c43a3fe 100644 --- a/phpBB/language/en/posting.php +++ b/phpBB/language/en/posting.php @@ -140,6 +140,8 @@ $lang = array_merge($lang, array( 'POLL_VOTE_CHANGE' => 'Allow Vote Change', 'POLL_VOTE_CHANGE_EXPLAIN' => 'If enabled users are able to change their vote.', 'POSTED_ATTACHMENTS' => 'Posted attachments', + 'POST_CONFIRMATION' => 'Confirmation of post', + 'POST_CONFIRM_EXPLAIN' => 'To prevent automated posts the board administrator requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.', 'POST_DELETED' => 'Your message has been deleted successfully', 'POST_EDITED' => 'Your message has been edited successfully', 'POST_EDITED_MOD' => 'Your message has been edited but requires approval', diff --git a/phpBB/posting.php b/phpBB/posting.php index 9c6fd3acff..12566f6c7f 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1118,7 +1118,8 @@ if ($config['enable_post_confirm'] && !$user->data['is_registered'] && ($mode == $template->assign_vars(array( 'S_CONFIRM_CODE' => true, 'CONFIRM_ID' => $confirm_id, - 'CONFIRM_IMAGE' => '<img src="' . $phpbb_root_path . 'ucp.' . $phpEx . $SID . '&mode=confirm&id=' . $confirm_id . '&type=' . CONFIRM_POST . '" alt="" title="" />' + 'CONFIRM_IMAGE' => '<img src="' . $phpbb_root_path . 'ucp.' . $phpEx . $SID . '&mode=confirm&id=' . $confirm_id . '&type=' . CONFIRM_POST . '" alt="" title="" />', + 'L_POST_CONFIRM_EXPLAIN' => sprintf($user->lang['POST_CONFIRM_EXPLAIN'], '<a href="mailto:' . htmlentities($config['board_contact']) . '">', '</a>'), )); } |