aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-03-27 12:48:29 +0000
committerNils Adermann <naderman@naderman.de>2006-03-27 12:48:29 +0000
commite7140d658d6bd37023eca51d6d01207a34fe2d0e (patch)
tree8955a72e55c25fc4e230ad1f3391ee411a8ec101 /phpBB/includes/mcp/mcp_queue.php
parent19b5f17ff8335dc86a25bf97e689723937dc685f (diff)
downloadforums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.tar
forums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.tar.gz
forums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.tar.bz2
forums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.tar.xz
forums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.zip
- 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
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php6
1 files changed, 5 insertions, 1 deletions
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&amp;i=$id&amp;mode=$mode&amp;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';