From db787a3ab93da0c2141d33f3058f9dc2f34d6f2a Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 17 Dec 2010 20:36:36 +0000 Subject: reorganized the settings views and updated the pages to use new layout git-svn-id: http://code.elgg.org/elgg/trunk@7663 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/core/settings/tools.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 views/default/core/settings/tools.php (limited to 'views/default/core/settings/tools.php') 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 @@ +".elgg_view('output/longtext', array('value' => elgg_echo("usersettings:plugins:description"))).""; + +$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 -- cgit v1.2.3