diff options
Diffstat (limited to 'views/default/core/settings/tools.php')
-rw-r--r-- | views/default/core/settings/tools.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/views/default/core/settings/tools.php b/views/default/core/settings/tools.php index 42b2227ff..e280e0d8e 100644 --- a/views/default/core/settings/tools.php +++ b/views/default/core/settings/tools.php @@ -7,7 +7,9 @@ */ // Description of what's going on -echo "<div class='user-settings margin-top'>".elgg_view('output/longtext', array('value' => elgg_echo("usersettings:plugins:description")))."</div>"; +echo "<div class='user-settings margin-top'>" + . elgg_view('output/longtext', array('value' => elgg_echo("usersettings:plugins:description"))) + . "</div>"; $limit = get_input('limit', 10); $offset = get_input('offset', 0); @@ -18,8 +20,8 @@ $count = count($installed_plugins); // Display list of plugins $n = 0; -foreach ($installed_plugins as $plugin => $data) { - if (elgg_is_active_plugin($plugin)) { - echo elgg_view("core/settings/tools/plugin", array('plugin' => $plugin, 'details' => $data)); +foreach ($installed_plugins as $plugin) { + if ($plugin->isActive()) { + echo elgg_view("core/settings/tools/plugin", array('plugin' => $plugin)); } }
\ No newline at end of file |