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.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/views/default/core/settings/tools.php b/views/default/core/settings/tools.php
new file mode 100644
index 000000000..8f5ee4af6
--- /dev/null
+++ b/views/default/core/settings/tools.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Elgg plugin specific user settings.
+ *
+ * @package Elgg
+ * @subpackage Core
+ */
+
+// 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>";
+
+$limit = get_input('limit', 10);
+$offset = get_input('offset', 0);
+
+// Get the installed plugins
+$installed_plugins = $vars['installed_plugins'];
+$count = count($installed_plugins);
+
+// Display list of plugins
+$n = 0;
+foreach ($installed_plugins as $plugin => $data) {
+ if (is_plugin_enabled($plugin)) {
+ echo elgg_view("core/settings/tools/plugin", array('plugin' => $plugin, 'details' => $data));
+ }
+} \ No newline at end of file