From de812e1e8225f49deec27063d96a81ce4431ebcc Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 11 May 2009 20:15:24 +0000 Subject: Refactor to support pagination and simplify the code. - Simplify the public controller methods - Fix a bug where missing thumbnails would cause a divide by zero error - actually pay attention to the page # for pagination and limit the query accordingly. --- modules/comment/views/admin_comments.html.php | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'modules/comment/views') diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index 63b1a394..16816636 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -44,11 +44,20 @@

- + + + + + + + + +

- +
+ 0): ?>

- count()): ?> + spam): ?> count()) ?> + $counts->spam) ?>

"> @@ -73,7 +82,7 @@

- +

@@ -111,10 +120,14 @@ item(); ?>

-- cgit v1.2.3