aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-10-08 10:59:23 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-10-08 10:59:23 +0000
commit6fe3f0e7d4ae91a9b742b373791de812404217fa (patch)
tree68e2171a495763c3ae1be729881ce5ee82663970 /phpBB/viewtopic.php
parenta50b38c2771c67defe1c69d868c97ebc07c9140f (diff)
downloadforums-6fe3f0e7d4ae91a9b742b373791de812404217fa.tar
forums-6fe3f0e7d4ae91a9b742b373791de812404217fa.tar.gz
forums-6fe3f0e7d4ae91a9b742b373791de812404217fa.tar.bz2
forums-6fe3f0e7d4ae91a9b742b373791de812404217fa.tar.xz
forums-6fe3f0e7d4ae91a9b742b373791de812404217fa.zip
- 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
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
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
);