diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-16 00:20:43 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-16 00:20:43 +0000 |
commit | 19ad65699079602599657ced2c0674effe54b037 (patch) | |
tree | 713bf0a646143d74409c89e2ca5ff24146558c7c /phpBB/search.php | |
parent | e25d8550f8d9fdc5a71f68167626be313f0e1917 (diff) | |
download | forums-19ad65699079602599657ced2c0674effe54b037.tar forums-19ad65699079602599657ced2c0674effe54b037.tar.gz forums-19ad65699079602599657ced2c0674effe54b037.tar.bz2 forums-19ad65699079602599657ced2c0674effe54b037.tar.xz forums-19ad65699079602599657ced2c0674effe54b037.zip |
Pagination update
git-svn-id: file:///svn/phpbb/trunk@1330 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r-- | phpBB/search.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index d32ed4b959..9ca2e19124 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -1056,11 +1056,8 @@ else if( $query_keywords != "" || $query_author != "" || $search_id ) $template->assign_vars(array( "PAGINATION" => generate_pagination($base_url, $total_match_count, $per_page, $start), - "ON_PAGE" => floor( $start / $per_page ) + 1, - "TOTAL_PAGES" => ceil( $total_match_count / $per_page ), + "PAGE_NUMBER" => sprintf($lang['Page_of'], ( floor( $start / $per_page ) + 1 ), ceil( $total_match_count / $per_page )), - "L_OF" => $lang['of'], - "L_PAGE" => $lang['Page'], "L_GOTO_PAGE" => $lang['Goto_page']) ); |