mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7220 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0b0fb92b12
commit
41a532e608
1 changed files with 4 additions and 2 deletions
|
@ -141,6 +141,10 @@ $template->set_filenames(array(
|
|||
|
||||
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"), $forum_id);
|
||||
|
||||
$template->assign_vars(array(
|
||||
'U_VIEW_FORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id&start=$start"),
|
||||
));
|
||||
|
||||
// Not postable forum or showing active topics?
|
||||
if (!($forum_data['forum_type'] == FORUM_POST || (($forum_data['forum_flags'] & FORUM_FLAG_ACTIVE_TOPICS) && $forum_data['forum_type'] == FORUM_CAT)))
|
||||
{
|
||||
|
@ -152,8 +156,6 @@ if (!($forum_data['forum_type'] == FORUM_POST || (($forum_data['forum_flags'] &
|
|||
if (!$auth->acl_get('f_read', $forum_id))
|
||||
{
|
||||
$template->assign_vars(array(
|
||||
'U_VIEW_FORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id&start=$start"),
|
||||
|
||||
'S_NO_READ_ACCESS' => true,
|
||||
'S_AUTOLOGIN_ENABLED' => ($config['allow_autologin']) ? true : false,
|
||||
'S_LOGIN_ACTION' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login') . '&redirect=' . urlencode(str_replace('&', '&', build_url(array('_f_')))),
|
||||
|
|
Loading…
Add table
Reference in a new issue