aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorgpolins <gpolins@users.sourceforge.net>2001-08-13 17:41:15 +0000
committergpolins <gpolins@users.sourceforge.net>2001-08-13 17:41:15 +0000
commit681709bb0b443bda04bcca3786ee75c434a30b38 (patch)
treeb517fac4db81f6de000bf93c63dd9c3d1b8cf00f /phpBB/viewforum.php
parent601d3bcc4753d667bf744e5b622ca5b67d404788 (diff)
downloadforums-681709bb0b443bda04bcca3786ee75c434a30b38.tar
forums-681709bb0b443bda04bcca3786ee75c434a30b38.tar.gz
forums-681709bb0b443bda04bcca3786ee75c434a30b38.tar.bz2
forums-681709bb0b443bda04bcca3786ee75c434a30b38.tar.xz
forums-681709bb0b443bda04bcca3786ee75c434a30b38.zip
Added move topic viewing
git-svn-id: file:///svn/phpbb/trunk@852 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php9
1 files changed, 8 insertions, 1 deletions
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
+?>