aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/settings/tools.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/core/settings/tools.php')
-rw-r--r--views/default/core/settings/tools.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/views/default/core/settings/tools.php b/views/default/core/settings/tools.php
index ff02c9183..195db1d61 100644
--- a/views/default/core/settings/tools.php
+++ b/views/default/core/settings/tools.php
@@ -11,12 +11,9 @@
// Description of what's going on
echo elgg_view('output/longtext', array(
'value' => elgg_echo("usersettings:plugins:description"),
- 'class' => 'user-settings mtm',
+ 'class' => 'user-settings mtn mbm',
));
-$limit = get_input('limit', 10);
-$offset = get_input('offset', 0);
-
// Get the installed plugins
$installed_plugins = $vars['installed_plugins'];
$count = count($installed_plugins);
@@ -29,7 +26,7 @@ foreach ($installed_plugins as $plugin) {
if (elgg_view_exists("usersettings/$plugin_id/edit")
|| elgg_view_exists("plugins/$plugin_id/usersettings")) {
- $title = $plugin->manifest->getName();
+ $title = $plugin->getManifest()->getName();
$body = elgg_view_form('plugins/usersettings/save', array(), array('entity' => $plugin));
echo elgg_view_module('info', $title, $body);
}