From e7140d658d6bd37023eca51d6d01207a34fe2d0e Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Mon, 27 Mar 2006 12:48:29 +0000 Subject: - add missing pagination to queue/reports - hide the close button on closed reports page - fix a JS bug in mcp/acp ban view git-svn-id: file:///svn/phpbb/trunk@5733 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/mcp/mcp_queue.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/mcp/mcp_queue.php') diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 11378d1f9f..e63ffbbdc2 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -288,7 +288,11 @@ class mcp_queue // Now display the page $template->assign_vars(array( 'L_DISPLAY_ITEMS' => ($mode == 'unapproved_posts') ? $user->lang['DISPLAY_POSTS'] : $user->lang['DISPLAY_TOPICS'], - 'S_FORUM_OPTIONS' => $forum_options) + 'S_FORUM_OPTIONS' => $forum_options, + + 'PAGINATION' => generate_pagination("{$phpbb_root_path}mcp.$phpEx$SID&i=$id&mode=$mode&f=$forum_id", $total, $config['topics_per_page'], $start), + 'PAGE_NUMBER' => on_page($total, $config['topics_per_page'], $start), + 'TOTAL' => $total) ); $this->tpl_name = 'mcp_queue'; -- cgit v1.2.1