1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-01 20:33:16 +02:00

Hot folders working ... only based on hot_threshold for replies

git-svn-id: file:///svn/phpbb/trunk@897 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-08-17 12:11:13 +00:00
parent dcde945443
commit 185faf1328
2 changed files with 19 additions and 2 deletions

View File

@@ -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'])