aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-11-01 15:40:22 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-11-01 15:40:22 +0000
commitac0c0f5247dd5b363bef4f6e26178dff933c1dd2 (patch)
tree8b03f0ae59455dec57807240f3e6485f92f9c8b3 /phpBB/posting.php
parentab669d0f040ddd6d82022b08dfabb3ea751daaaa (diff)
downloadforums-ac0c0f5247dd5b363bef4f6e26178dff933c1dd2.tar
forums-ac0c0f5247dd5b363bef4f6e26178dff933c1dd2.tar.gz
forums-ac0c0f5247dd5b363bef4f6e26178dff933c1dd2.tar.bz2
forums-ac0c0f5247dd5b363bef4f6e26178dff933c1dd2.tar.xz
forums-ac0c0f5247dd5b363bef4f6e26178dff933c1dd2.zip
More minor changes
git-svn-id: file:///svn/phpbb/trunk@3004 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index e8a7d06304..34890ee7eb 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -628,7 +628,7 @@ $template->assign_vars(array(
'TOPIC_TITLE' => ($mode != 'post') ? $topic_title : '',
'USERNAME' => $post_username,
'SUBJECT' => (!empty($topic_title)) ? $topic_title : $post_subject,
- 'MESSAGE' => $post_text,
+ 'MESSAGE' => trim($post_text),
'HTML_STATUS' => ($html_status) ? $user->lang['HTML_is_ON'] : $user->lang['HTML_is_OFF'],
'BBCODE_STATUS' => ($bbcode_status) ? sprintf($user->lang['BBCode_is_ON'], '<a href="' . "faq.$phpEx$SID&amp;mode=bbcode" . '" target="_phpbbcode">', '</a>') : sprintf($user->lang['BBCode_is_OFF'], '<a href="' . "faq.$phpEx$SID&amp;mode=bbcode" . '" target="_phpbbcode">', '</a>'),
'SMILIES_STATUS' => ($smilies_status) ? $user->lang['Smilies_are_ON'] : $user->lang['Smilies_are_OFF'],
@@ -657,6 +657,7 @@ $template->assign_vars(array(
'L_ATTACH_SIGNATURE' => $user->lang['Attach_signature'],
'L_NOTIFY_ON_REPLY' => $user->lang['Notify'],
'L_DELETE_POST' => $user->lang['Delete_post'],
+ 'L_DELETE_WARN' => $user->lang['Delete_post_warn'],
'L_NONE' => $user->lang['None'],
'L_EMPTY_MESSAGE' => $user->lang['Empty_message'],
'L_BBCODE_CLOSE_TAGS' => $user->lang['Close_Tags'],