aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-05-28 15:25:23 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-05-28 15:25:23 +0000
commitcc213bfc499312a6e23d1f4bf40af362946ad53f (patch)
tree6f15d9311d6d4ed7392be3f0ddf06e93e48a10b7 /phpBB/memberlist.php
parent03dd4c39c3caeb79d8713eee14319a4831730d72 (diff)
downloadforums-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/memberlist.php')
-rw-r--r--phpBB/memberlist.php18
1 files changed, 16 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index d233edcda2..e77dae7cd1 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -94,7 +94,14 @@ if(!$result = $db->sql_query($sql))
if(($selected_members = $db->sql_numrows($result)) > 0)
{
$template->set_filenames(array(
- "body" => "memberlist_body.tpl"));
+ "body" => "memberlist_body.tpl",
+ "jumpbox" => "jumpbox.tpl"));
+ $jumpbox = make_jumpbox();
+ $template->assign_vars(array(
+ "JUMPBOX_LIST" => $jumpbox,
+ "SELECT_NAME" => POST_FORUM_URL)
+ );
+ $template->assign_var_from_handle("JUMPBOX", "jumpbox");
$template->assign_vars(array(
"U_VIEW_TOP10" => append_sid("memberlist.$phpEx?mode=topten"),
"U_SORTALPHA" => append_sid("memberlist.$phpEx?mode=alpha"),
@@ -184,7 +191,14 @@ if(($selected_members = $db->sql_numrows($result)) > 0)
$pagination = "&nbsp;";
}
$template->assign_vars(array(
- "PAGINATION" => $pagination));
+ "PAGINATION" => $pagination,
+ "ON_PAGE" => (floor($start/$board_config['topics_per_page'])+1),
+ "TOTAL_PAGES" => ceil($total_members/$board_config['topics_per_page']),
+
+ "L_OF" => $lang['of'],
+ "L_PAGE" => $lang['Page'],
+ "L_GOTO_PAGE" => $lang['Goto_page'])
+ );
$template->pparse("body");
}