aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.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/viewforum.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/viewforum.php')
-rw-r--r--phpBB/viewforum.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 1b03061a2e..ddc41db941 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -155,7 +155,7 @@ if ($forum_data['left_id'] != $forum_data['right_id'] - 1)
}
else
{
- $template->assign_var('S_HAS_SUBFORUM', FALSE);
+ $template->assign_var('S_HAS_SUBFORUM', false);
}
get_moderators($moderators, $forum_id);
@@ -501,7 +501,6 @@ if ($forum_data['forum_type'] == FORUM_POST || ($forum_data['forum_flags'] & 16)
}
// Goto message generation
- // Note: Template this a little bit more to allow style authors seperating goto_page, next, prev and pagination block?
if (($replies + 1) > $config['posts_per_page'])
{
$total_pages = ceil(($replies + 1) / $config['posts_per_page']);
@@ -565,6 +564,7 @@ if ($forum_data['forum_type'] == FORUM_POST || ($forum_data['forum_flags'] & 16)
'S_TOPIC_TYPE_SWITCH' => ($s_type_switch == $s_type_switch_test) ? -1 : $s_type_switch_test,
'S_TOPIC_TYPE' => $row['topic_type'],
'S_USER_POSTED' => (!empty($row['mark_type'])) ? true : false,
+ 'S_UNREAD_TOPIC' => $unread_topic,
'S_TOPIC_REPORTED' => (!empty($row['topic_reported']) && $auth->acl_gets('m_', $forum_id)) ? TRUE : FALSE,
'S_TOPIC_UNAPPROVED' => (!$row['topic_approved'] && $auth->acl_gets('m_approve', $forum_id)) ? TRUE : FALSE,