diff options
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r-- | phpBB/viewforum.php | 12 |
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']) |