From 4ea633b96d7407a5f51013d60e15eba12ba99ae7 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 10 Jul 2008 13:45:28 +0000 Subject: Killed pagination on the plugin admin page git-svn-id: https://code.elgg.org/elgg/trunk@1391 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/plugins.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/views/default/admin/plugins.php b/views/default/admin/plugins.php index 8850a04af..b4339f83a 100644 --- a/views/default/admin/plugins.php +++ b/views/default/admin/plugins.php @@ -14,7 +14,7 @@ // Description of what's going on echo "

" . nl2br(elgg_echo("admin:plugins:description")) . "

"; - $limit = get_input('limit', 50); + $limit = get_input('limit', 10); $offset = get_input('offset', 0); @@ -26,13 +26,14 @@ $n = 0; foreach ($installed_plugins as $plugin => $data) { - if (($n>=$offset) && ($n < $offset+$limit)) + //if (($n>=$offset) && ($n < $offset+$limit)) echo elgg_view("admin/plugins_opt/plugin", array('plugin' => $plugin, 'details' => $data)); $n++; } - // Diplay nav + // Diplay nav + /* if ($count) { echo elgg_view('navigation/pagination',array( @@ -40,5 +41,6 @@ 'offset' => $offset, 'count' => $count, )); - } + } + */ ?> \ No newline at end of file -- cgit v1.2.3