diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-05-28 15:25:23 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-05-28 15:25:23 +0000 |
| commit | cc213bfc499312a6e23d1f4bf40af362946ad53f (patch) | |
| tree | 6f15d9311d6d4ed7392be3f0ddf06e93e48a10b7 /phpBB/viewforum.php | |
| parent | 03dd4c39c3caeb79d8713eee14319a4831730d72 (diff) | |
| download | forums-cc213bfc499312a6e23d1f4bf40af362946ad53f.tar forums-cc213bfc499312a6e23d1f4bf40af362946ad53f.tar.gz forums-cc213bfc499312a6e23d1f4bf40af362946ad53f.tar.bz2 forums-cc213bfc499312a6e23d1f4bf40af362946ad53f.tar.xz forums-cc213bfc499312a6e23d1f4bf40af362946ad53f.zip | |
Additional page info sent to templates
git-svn-id: file:///svn/phpbb/trunk@361 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 6ea5a88242..2b30c6368a 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -285,7 +285,13 @@ if($total_topics) } $template->assign_vars(array( - "PAGINATION" => generate_pagination("viewforum.$phpEx?".POST_FORUM_URL."=$forum_id&postdays=$post_days", $topics_count, $board_config['topics_per_page'], $start)) + "PAGINATION" => generate_pagination("viewforum.$phpEx?".POST_FORUM_URL."=$forum_id&postdays=$post_days", $topics_count, $board_config['topics_per_page'], $start), + "ON_PAGE" => (floor($start/$board_config['topics_per_page'])+1), + "TOTAL_PAGES" => ceil($topics_count/$board_config['topics_per_page']), + + "L_OF" => $lang['of'], + "L_PAGE" => $lang['Page'], + "L_GOTO_PAGE" => $lang['Goto_page']) ); $template->pparse("body"); |
