aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-08-17 12:11:13 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-08-17 12:11:13 +0000
commit185faf132867268f667db6de6f826156d8eaf6f5 (patch)
treefc91b900099b6fac6fae21c1d5ef116a02fd5d86 /phpBB/viewforum.php
parentdcde945443442d36e2118f758a0b0854a5374582 (diff)
downloadforums-185faf132867268f667db6de6f826156d8eaf6f5.tar
forums-185faf132867268f667db6de6f826156d8eaf6f5.tar.gz
forums-185faf132867268f667db6de6f826156d8eaf6f5.tar.bz2
forums-185faf132867268f667db6de6f826156d8eaf6f5.tar.xz
forums-185faf132867268f667db6de6f826156d8eaf6f5.zip
Hot folders working ... only based on hot_threshold for replies
git-svn-id: file:///svn/phpbb/trunk@897 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 9f39dcb59e..bc47f2c9c9 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -477,8 +477,16 @@ if($total_topics || $total_announcements)
}
else
{
- $folder = $images['folder'];
- $folder_new = $images['folder_new'];
+ if($replies >= $board_config['hot_threshold'])
+ {
+ $folder = $images['folder_hot'];
+ $folder_new = $images['folder_new_hot'];
+ }
+ else
+ {
+ $folder = $images['folder'];
+ $folder_new = $images['folder_new'];
+ }
}
if(empty($HTTP_COOKIE_VARS['phpbb2_' . $forum_id . '_' . $topic_id]) && $topic_rowset[$i]['post_time'] > $userdata['session_last_visit'])