diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-06-15 23:41:19 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-06-15 23:41:19 +0000 |
commit | 86e67daaaa9f0e1f88df0f3b269eaeecc83a7f24 (patch) | |
tree | 567b76cd895d0d2e9b239a61628c73ebc3f68698 /phpBB/includes/functions_posting.php | |
parent | 692bce377829e7911ea33fae08a6cdb18166433e (diff) | |
download | forums-86e67daaaa9f0e1f88df0f3b269eaeecc83a7f24.tar forums-86e67daaaa9f0e1f88df0f3b269eaeecc83a7f24.tar.gz forums-86e67daaaa9f0e1f88df0f3b269eaeecc83a7f24.tar.bz2 forums-86e67daaaa9f0e1f88df0f3b269eaeecc83a7f24.tar.xz forums-86e67daaaa9f0e1f88df0f3b269eaeecc83a7f24.zip |
Add forum/topic_id info to redirects
git-svn-id: file:///svn/phpbb/trunk@4138 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index d7cedcf438..7e28baf2a2 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1185,10 +1185,10 @@ function submit_post($mode, $message, $subject, $username, $topic_type, $bbcode_ user_notification($mode, stripslashes($post_data['subject']), $post_data['forum_id'], $post_data['topic_id'], $post_data['post_id']); } - meta_refresh(3, "viewtopic.$phpEx$SID&f=" . $post_data['forum_id'] . '&p=' . $post_data['post_id'] . '#' . $post_data['post_id']); + meta_refresh(3, "viewtopic.$phpEx$SID&f=" . $post_data['forum_id'] . '&t=' . $post_data['topic_id'] . '&p=' . $post_data['post_id'] . '#' . $post_data['post_id']); $message = ($auth->acl_get('f_moderate', $post_data['forum_id']) && !$auth->acl_get('f_ignorequeue', $post_data['forum_id'])) ? 'POST_STORED_MOD' : 'POST_STORED'; - $message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="viewtopic.' . $phpEx . $SID .'&p=' . $post_data['post_id'] . '#' . $post_data['post_id'] . '">', '</a>') . '<br /><br />' . sprintf($user->lang['RETURN_FORUM'], '<a href="viewforum.' . $phpEx . $SID .'&f=' . $post_data['forum_id'] . '">', '</a>'); + $message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="viewtopic.' . $phpEx . $SID .'&f=' . $post_data['forum_id'] . '&t=' . $post_data['topic_id'] . '&p=' . $post_data['post_id'] . '#' . $post_data['post_id'] . '">', '</a>') . '<br /><br />' . sprintf($user->lang['RETURN_FORUM'], '<a href="viewforum.' . $phpEx . $SID .'&f=' . $post_data['forum_id'] . '">', '</a>'); trigger_error($message); } |