diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-02-26 16:01:28 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-02-26 16:01:28 +0000 |
commit | 46e20bf2d12de5f6ad48ea88f66848297b8aced1 (patch) | |
tree | 3826fe39815cecd3dcdfd759b7613dcaaf27f76e /phpBB/posting.php | |
parent | 8b9ea6feb4bc0010818f694804d2534cafff4446 (diff) | |
download | forums-46e20bf2d12de5f6ad48ea88f66848297b8aced1.tar forums-46e20bf2d12de5f6ad48ea88f66848297b8aced1.tar.gz forums-46e20bf2d12de5f6ad48ea88f66848297b8aced1.tar.bz2 forums-46e20bf2d12de5f6ad48ea88f66848297b8aced1.tar.xz forums-46e20bf2d12de5f6ad48ea88f66848297b8aced1.zip |
Minor alteration
git-svn-id: file:///svn/phpbb/trunk@3545 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 403ced95dc..7b044a34d9 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -33,16 +33,10 @@ // * permission defined ability for user to add poll options // * Spellcheck? aspell? or some such? // * Posting approval -// * Report to Admin Checkbox/Button for Moderation ? +// * Report to Admin Checkbox/Button for Moderation ? psoTFX - No, these will be handled by the MCP/viewtopic // * After Submit got clicked, disable the button (prevent double-posts), could be solved in a more elegant way define('IN_PHPBB', true); - -if (count($_POST)) -{ - define('NEED_SID', true); -} - $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); @@ -52,7 +46,6 @@ include($phpbb_root_path . 'includes/functions_posting.'.$phpEx); $user->start(); $user->setup(); $auth->acl($user->data); -// End session management // Grab only parameters needed here $mode = (!empty($_REQUEST['mode'])) ? strval($_REQUEST['mode']) : ''; @@ -520,7 +513,7 @@ if (isset($_REQUEST['post'])) ); $message = (!empty($enable_moderate)) ? 'POST_STORED_MOD' : 'POST_STORED'; - $message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['Click_view_message'], '<a href="viewtopic.' . $phpEx . $SID .'&p=' . $post_id . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($user->lang['Click_return_forum'], '<a href="viewforum.' . $phpEx . $SID .'&f=' . intval($forum_id) . '">', '</a>'); + $message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="viewtopic.' . $phpEx . $SID .'&p=' . $post_id . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($user->lang['RETURN_FORUM'], '<a href="viewforum.' . $phpEx . $SID .'&f=' . intval($forum_id) . '">', '</a>'); trigger_error($message); } // Store message, sync counters |