From 656274cd5798ef9e62c23cdf0c3c1d66d612263d Mon Sep 17 00:00:00 2001 From: David M Date: Fri, 28 Apr 2006 16:37:12 +0000 Subject: [PATCH] - Added some missing lang strings git-svn-id: file:///svn/phpbb/trunk@5857 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/language/en/posting.php | 2 ++ phpBB/posting.php | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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' => '' + 'CONFIRM_IMAGE' => '', + 'L_POST_CONFIRM_EXPLAIN' => sprintf($user->lang['POST_CONFIRM_EXPLAIN'], '', ''), )); }