aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-02-06 00:24:04 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-02-06 00:24:04 +0000
commita870f28609284da994788e67cead14ba666e27c0 (patch)
treeff6799d381ceef0302c81cb37aa35a7ff64f2da8
parent0cbcd2467c4e260d1ff156b8fa01d8b931cdf2bd (diff)
downloadforums-a870f28609284da994788e67cead14ba666e27c0.tar
forums-a870f28609284da994788e67cead14ba666e27c0.tar.gz
forums-a870f28609284da994788e67cead14ba666e27c0.tar.bz2
forums-a870f28609284da994788e67cead14ba666e27c0.tar.xz
forums-a870f28609284da994788e67cead14ba666e27c0.zip
Small modification I wanted to commit before I get too much desynch'ed
git-svn-id: file:///svn/phpbb/trunk@3457 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/viewtopic.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 2a8b73f191..bcbaed0768 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -65,7 +65,7 @@ if (isset($_GET['view']) && empty($post_id))
$post_id = $row['post_id'];
$newest_post_id = $post_id;
- redirect("viewtopic.$phpEx$SID&p=$post_id#$post_id");
+ //redirect("viewtopic.$phpEx$SID&p=$post_id#$post_id");
}
redirect("index.$phpEx");
@@ -373,7 +373,7 @@ $template->assign_vars(array(
'S_TOPIC_ACTION' => "viewtopic.$phpEx$SID&amp;t=" . $topic_id . "&amp;start=$start",
'S_AUTH_LIST' => $s_forum_rules,
'S_TOPIC_MOD' => ( $topic_mod != '' ) ? '<select name="mode">' . $topic_mod . '</select>' : '',
- 'S_MOD_ACTION' => "mcp.$phpEx?sid=" . $user->session_id . "&amp;t=$topic_id",
+ 'S_MOD_ACTION' => "mcp.$phpEx?sid=" . $user->session_id . "&amp;t=$topic_id&amp;quickmod=1",
'S_WATCH_TOPIC' => $s_watching_topic,
'U_TOPIC' => $server_path . 'viewtopic.' . $phpEx . '?t=' . $topic_id,
@@ -833,7 +833,6 @@ if ($row = $db->sql_fetchrow($result))
$u_post_id = (!empty($newest_post_id) && $newest_post_id == $row['post_id']) ? 'newest' : $row['post_id'];
-
// Dump vars into template
$template->assign_block_vars('postrow', array(
'POSTER_NAME' => $poster,