From 13a495664c79037557e6c5ea7c3e442be0523139 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 29 Nov 2010 02:30:15 +0000 Subject: Cleaned up the log browser plugin git-svn-id: http://code.elgg.org/elgg/trunk@7467 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/admin/overview/logbrowser.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'mod/logbrowser/views/default/admin/overview') diff --git a/mod/logbrowser/views/default/admin/overview/logbrowser.php b/mod/logbrowser/views/default/admin/overview/logbrowser.php index 5ff3df096..373e48a49 100644 --- a/mod/logbrowser/views/default/admin/overview/logbrowser.php +++ b/mod/logbrowser/views/default/admin/overview/logbrowser.php @@ -1,6 +1,8 @@ subtype = 'logwrapper'; - $tmp->entry = $l; - $log_entries[] = $tmp; -} +$table = elgg_view('logbrowser/table', array('log_entries' => $log)); -$list = elgg_view_entity_list($log_entries, $count, $offset, $limit, false, false); +$nav = elgg_view('navigation/pagination',array( + 'offset' => $offset, + 'count' => $count, + 'limit' => $limit, +)); // display admin body $body = <<<__HTML $title $form
- $list + $nav $table $nav
__HTML; -- cgit v1.2.3