aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/settings/tools
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 20:36:36 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 20:36:36 +0000
commitdb787a3ab93da0c2141d33f3058f9dc2f34d6f2a (patch)
treedca419a399cb00f45c227aed7a62993b089e0f27 /views/default/core/settings/tools
parentc2add32bbf281d488deb26343cf059e3347fe525 (diff)
downloadelgg-db787a3ab93da0c2141d33f3058f9dc2f34d6f2a.tar.gz
elgg-db787a3ab93da0c2141d33f3058f9dc2f34d6f2a.tar.bz2
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
Diffstat (limited to 'views/default/core/settings/tools')
-rw-r--r--views/default/core/settings/tools/plugin.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/views/default/core/settings/tools/plugin.php b/views/default/core/settings/tools/plugin.php
new file mode 100644
index 000000000..981d8d937
--- /dev/null
+++ b/views/default/core/settings/tools/plugin.php
@@ -0,0 +1,34 @@
+<?php
+/**
+ * Elgg plugin manifest class
+ *
+ * This file renders a plugin for the admin screen, including active/deactive, manifest details & display plugin
+ * settings.
+ *
+ * @package Elgg
+ * @subpackage Core
+ */
+
+
+$plugin = $vars['plugin'];
+$details = $vars['details'];
+
+$active = $details['active'];
+$manifest = $details['manifest'];
+
+$user_guid = $details['user_guid'];
+if ($user_guid) {
+ $user_guid = get_loggedin_userid();
+}
+
+if (elgg_view("usersettings/{$plugin}/edit")) {
+?>
+<div class="user-settings">
+ <h3><?php echo elgg_echo($plugin); ?></h3>
+
+ <div id="<?php echo $plugin; ?>_settings">
+ <?php echo elgg_view("object/plugin", array('plugin' => $plugin, 'entity' => find_plugin_usersettings($plugin, $user_guid), 'prefix' => 'user')) ?>
+ </div>
+</div>
+<?php
+} \ No newline at end of file