diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-08-17 12:11:13 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-08-17 12:11:13 +0000 |
commit | 185faf132867268f667db6de6f826156d8eaf6f5 (patch) | |
tree | fc91b900099b6fac6fae21c1d5ef116a02fd5d86 /phpBB | |
parent | dcde945443442d36e2118f758a0b0854a5374582 (diff) | |
download | forums-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')
-rw-r--r-- | phpBB/templates/PSO/PSO.cfg | 9 | ||||
-rw-r--r-- | phpBB/viewforum.php | 12 |
2 files changed, 19 insertions, 2 deletions
diff --git a/phpBB/templates/PSO/PSO.cfg b/phpBB/templates/PSO/PSO.cfg index 58161297d8..388a8d0172 100644 --- a/phpBB/templates/PSO/PSO.cfg +++ b/phpBB/templates/PSO/PSO.cfg @@ -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"; 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']) |