diff options
author | David M <davidmj@users.sourceforge.net> | 2006-04-28 16:37:12 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-04-28 16:37:12 +0000 |
commit | 656274cd5798ef9e62c23cdf0c3c1d66d612263d (patch) | |
tree | fd1a14320328da787f99f5761c08452b2d8f6eb0 | |
parent | 14ed732bffc1e5a7fd56aaf787d132874f792d66 (diff) | |
download | forums-656274cd5798ef9e62c23cdf0c3c1d66d612263d.tar forums-656274cd5798ef9e62c23cdf0c3c1d66d612263d.tar.gz forums-656274cd5798ef9e62c23cdf0c3c1d66d612263d.tar.bz2 forums-656274cd5798ef9e62c23cdf0c3c1d66d612263d.tar.xz forums-656274cd5798ef9e62c23cdf0c3c1d66d612263d.zip |
- Added some missing lang strings
git-svn-id: file:///svn/phpbb/trunk@5857 89ea8834-ac86-4346-8a33-228a782c2dd0
-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>'), )); } |