mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01: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:
parent
dcde945443
commit
185faf1328
@ -30,6 +30,8 @@ $images['icon_latest_reply'] = "images/icon_latest_reply.gif";
|
||||
|
||||
$images['folder'] = "images/folder.gif";
|
||||
$images['folder_new'] = "images/folder_new.gif";
|
||||
$images['folder_hot'] = "images/folder_hot.gif";
|
||||
$images['folder_new_hot'] = "images/folder_new_hot.gif";
|
||||
$images['folder_locked'] = "images/folder_lock.gif";
|
||||
$images['folder_sticky'] = "images/folder_sticky.gif";
|
||||
$images['folder_sticky_new'] = "images/folder_sticky_new.gif";
|
||||
@ -41,6 +43,13 @@ $images['post_locked'] = "templates/PSO/images/post-locked.gif";
|
||||
$images['reply_new'] = "templates/PSO/images/reply.gif";
|
||||
$images['reply_locked'] = "templates/PSO/images/reply-locked.gif";
|
||||
|
||||
$images['pm_inbox'] = "images/msg_inbox.gif";
|
||||
$images['pm_outbox'] = "images/msg_outbox.gif";
|
||||
$images['pm_savebox'] = "images/msg_savebox.gif";
|
||||
$images['pm_sentbox'] = "images/msg_sentbox.gif";
|
||||
$images['pm_readmsg'] = "images/msg_read.gif";
|
||||
$images['pm_unreadmsg'] = "images/msg_unread.gif";
|
||||
|
||||
$images['topic_watch'] = "";
|
||||
$images['topic_un_watch'] = "";
|
||||
$images['topic_mod_lock'] = "images/topic_lock.gif";
|
||||
|
@ -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'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user