diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-03 23:58:45 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-03 23:58:45 +0000 |
| commit | dac0adead30ed70400a2a22f9439a8184ad479d8 (patch) | |
| tree | 6a04b15e16669a1b6900c550ae06c856c06d09d8 /phpBB/viewforum.php | |
| parent | 5b927b016203cf0eb73bc33a787b778b9f614578 (diff) | |
| download | forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar.gz forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar.bz2 forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar.xz forums-dac0adead30ed70400a2a22f9439a8184ad479d8.zip | |
page header/footer become functions, forum passwords (I know, I know but it appears a popular feature for some reason ... inclusion not yet set in concrete nor complete), various bug fixes (and no doubt new bugs).
git-svn-id: file:///svn/phpbb/trunk@3969 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 64dd9948df..88e95ba6b9 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -116,11 +116,11 @@ if ($forum_data['forum_link']) $user->setup(false, $forum_data['forum_style']); -// Does a password exist for this forum? If so do the necessary +// Forum is passworded ... check whether access has been granted to this +// user this session, if not show login box if ($forum_data['forum_password']) { - - + login_forum_box($forum_data); } @@ -555,17 +555,15 @@ $nav_links['up'] = array( ); */ -// Dump out the page header and load viewforum template -$page_title = $user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name']; -include($phpbb_root_path . 'includes/page_header.'.$phpEx); +// Dump out the page header and load viewforum template +page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name']); $template->set_filenames(array( 'body' => 'viewforum_body.html') ); make_jumpbox("viewforum.$phpEx$SID", $forum_id); - -include($phpbb_root_path . 'includes/page_tail.'.$phpEx); +page_footer(); ?>
\ No newline at end of file |
