diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-04-16 00:02:06 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-04-16 00:02:06 +0000 |
| commit | 17edd92527648b6f50048316a63bbaee488b2ad3 (patch) | |
| tree | eff3605181c5e4523742dab2772aeb468202f849 /phpBB/includes | |
| parent | 830535cdca000f475835df19923d5c0c11129bf3 (diff) | |
| download | forums-17edd92527648b6f50048316a63bbaee488b2ad3.tar forums-17edd92527648b6f50048316a63bbaee488b2ad3.tar.gz forums-17edd92527648b6f50048316a63bbaee488b2ad3.tar.bz2 forums-17edd92527648b6f50048316a63bbaee488b2ad3.tar.xz forums-17edd92527648b6f50048316a63bbaee488b2ad3.zip | |
viewonline updates
git-svn-id: file:///svn/phpbb/trunk@155 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/page_header.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index ff7da1e86b..9620b524ba 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -126,6 +126,24 @@ switch($pagetype) "TOPIC_TITLE" => $topic_title)); $template->pparse("header"); break; + + case 'viewonline': + $template->set_filenames(array("header" => "viewonline_header.tpl", + "body" => "viewonline_body.tpl", + "jumpbox" => "jumpbox.tpl", + "footer" => "viewonline_footer.tpl")); + $jumpbox = make_jumpbox($db); + $template->assign_vars(array("TOTAL_POSTS" => $total_posts, + "TOTAL_USERS" => $total_users, + "NEWEST_USER" => $newest_user, + "NEWEST_UID" => $newest_uid, + "JUMPBOX_LIST" => $jumpbox, + "JUMPBOX_ACTION" => "viewforum.".$phpEx, + "SELECT_NAME" => POST_FORUM_URL)); + $template->assign_var_from_handle("JUMPBOX", "jumpbox"); + $template->pparse("header"); + break; + case 'newtopic': $template->set_filenames(array("header" => "newtopic_header.tpl", "body" => "posting_body.tpl")); |
