diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-19 13:34:31 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-19 13:34:31 +0000 |
commit | 1a1a925e8f1c3e1504a9cca0a62b39a4742777af (patch) | |
tree | f22b9ac28054fb3bbb8a4e573226ef77e8ac85eb /phpBB/viewforum.php | |
parent | bc0898f55e2c0bda196fa44cc7d1bb15b6fda649 (diff) | |
download | forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.tar forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.tar.gz forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.tar.bz2 forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.tar.xz forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.zip |
erm, switches could be more useful if not within a loop. ;) and :P
git-svn-id: file:///svn/phpbb/trunk@8205 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 c7888505cd..cb4e44f569 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -292,6 +292,7 @@ $template->assign_vars(array( 'S_SEARCHBOX_ACTION' => append_sid("{$phpbb_root_path}search.$phpEx", 'fid[]=' . $forum_id), 'S_SINGLE_MODERATOR' => (!empty($moderators[$forum_id]) && sizeof($moderators[$forum_id]) > 1) ? false : true, 'S_IS_LOCKED' => ($forum_data['forum_status'] == ITEM_LOCKED) ? true : false, + 'S_VIEWFORUM' => true, 'U_MCP' => ($auth->acl_get('m_', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "f=$forum_id&i=main&mode=forum_view", true, $user->session_id) : '', 'U_POST_NEW_TOPIC' => ($auth->acl_get('f_post', $forum_id) || $user->data['user_id'] == ANONYMOUS) ? append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=post&f=' . $forum_id) : '', @@ -627,7 +628,6 @@ if (sizeof($topic_list)) 'S_POST_STICKY' => ($row['topic_type'] == POST_STICKY) ? true : false, 'S_TOPIC_LOCKED' => ($row['topic_status'] == ITEM_LOCKED) ? true : false, 'S_TOPIC_MOVED' => ($row['topic_status'] == ITEM_MOVED) ? true : false, - 'S_VIEWFORUM' => true, 'U_NEWEST_POST' => $view_topic_url . '&view=unread#unread', 'U_LAST_POST' => $view_topic_url . '&p=' . $row['topic_last_post_id'] . '#p' . $row['topic_last_post_id'], |