From 6fe3f0e7d4ae91a9b742b373791de812404217fa Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 8 Oct 2004 10:59:23 +0000 Subject: - load_moderators taken into account at index.php - added S_UNREAD_TOPIC to viewforum - changed S_UNREAD to S_UNREAD_POST in viewtopic git-svn-id: file:///svn/phpbb/trunk@4995 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 1f927b99e8..bf2fcb83dd 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1272,7 +1272,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'S_POST_REPORTED' => ($row['post_reported'] && $auth->acl_get('m_', $forum_id)) ? TRUE : FALSE, 'S_DISPLAY_NOTICE' => $display_notice && $row['post_attachment'], 'S_FRIEND' => ($row['friend']) ? true : false, - 'S_UNREAD' => ($user->data['user_id'] != ANONYMOUS && $row['post_time'] > $user->data['user_lastvisit'] && $row['post_time'] > $topic_last_read) ? true : false, + 'S_UNREAD_POST' => ($user->data['user_id'] != ANONYMOUS && $row['post_time'] > $user->data['user_lastvisit'] && $row['post_time'] > $topic_last_read) ? true : false, 'S_FIRST_UNREAD' => ($unread_post_id == $row['post_id']) ? true : false, 'S_CUSTOM_FIELDS' => (sizeof($cp_row)) ? true : false ); -- cgit v1.2.1