From 681709bb0b443bda04bcca3786ee75c434a30b38 Mon Sep 17 00:00:00 2001 From: gpolins Date: Mon, 13 Aug 2001 17:41:15 +0000 Subject: [PATCH] Added move topic viewing git-svn-id: file:///svn/phpbb/trunk@852 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewforum.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 99f6bcbc64..9d919ff0a7 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -380,6 +380,13 @@ if($total_topics || $total_announcements) { $topic_type = $lang['Topic_Sticky'] . " "; } + else if($topic_type == TOPIC_MOVED) + { + $topic_type = $lang['Topic_Moved'] . " "; + //New topic is hidden in topic_status + $topic_rowset[$i]['topic_id'] = $topic_rowset[$i]['topic_status']; + $topic_rowset[$i]['topic_status'] = TOPIC_UNLOCKED; + } else { $topic_type = ""; @@ -555,4 +562,4 @@ $template->pparse("body"); // include($phpbb_root_path . 'includes/page_tail.'.$phpEx); -?> \ No newline at end of file +?>