diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-04-08 14:16:31 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-04-08 14:16:31 +0000 |
commit | fc167b2e42e4bd0f13b4057978180917ec30960d (patch) | |
tree | bae7eb4ede24dc003af134068719ae9bd4184be2 /phpBB/viewforum.php | |
parent | fecdf1435848ee1694179cba7251c929f9bd9a39 (diff) | |
download | forums-fc167b2e42e4bd0f13b4057978180917ec30960d.tar forums-fc167b2e42e4bd0f13b4057978180917ec30960d.tar.gz forums-fc167b2e42e4bd0f13b4057978180917ec30960d.tar.bz2 forums-fc167b2e42e4bd0f13b4057978180917ec30960d.tar.xz forums-fc167b2e42e4bd0f13b4057978180917ec30960d.zip |
- fix moving up/down for smilies and icons
- display number of total topics in viewforum for forums having active topics set to to true
git-svn-id: file:///svn/phpbb/trunk@5770 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r-- | phpBB/viewforum.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 5df376d804..d0ef22428f 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -219,7 +219,7 @@ if ($forum_data['forum_type'] == FORUM_POST || (($forum_data['forum_flags'] & 16 $template->assign_vars(array( 'PAGINATION' => generate_pagination("{$phpbb_root_path}viewforum.$phpEx$SID&f=$forum_id&$u_sort_param", $topics_count, $config['topics_per_page'], $start), 'PAGE_NUMBER' => on_page($topics_count, $config['topics_per_page'], $start), - 'TOTAL_TOPICS' => ($forum_data['forum_flags'] & 16) ? false : (($topics_count == 1) ? $user->lang['VIEW_FORUM_TOPIC'] : sprintf($user->lang['VIEW_FORUM_TOPICS'], $topics_count)), + 'TOTAL_TOPICS' => ($forum_data['forum_flags'] & 16 && $forum_data['forum_type'] == FORUM_CAT) ? false : (($topics_count == 1) ? $user->lang['VIEW_FORUM_TOPIC'] : sprintf($user->lang['VIEW_FORUM_TOPICS'], $topics_count)), 'MODERATORS' => (!empty($moderators[$forum_id])) ? implode(', ', $moderators[$forum_id]) : '', 'POST_IMG' => ($forum_data['forum_status'] == ITEM_LOCKED) ? $user->img('btn_locked', $post_alt) : $user->img('btn_post', $post_alt), |