aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-10 13:45:28 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-10 13:45:28 +0000
commit4ea633b96d7407a5f51013d60e15eba12ba99ae7 (patch)
treef72c7ed6e03635650a7e6b49e97e78a07d972205 /views/default
parent68df2c81ff1ab57a00cd349aeb225368d8c806c7 (diff)
downloadelgg-4ea633b96d7407a5f51013d60e15eba12ba99ae7.tar.gz
elgg-4ea633b96d7407a5f51013d60e15eba12ba99ae7.tar.bz2
Killed pagination on the plugin admin page
git-svn-id: https://code.elgg.org/elgg/trunk@1391 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/admin/plugins.php10
1 files 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 "<p>" . nl2br(elgg_echo("admin:plugins:description")) . "</p>";
- $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