aboutsummaryrefslogtreecommitdiff
path: root/views/default/usersettings/plugins_opt/plugin.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 20:54:48 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 20:54:48 +0000
commita1abec1d617c9330d9c06bda2f462d213f013f53 (patch)
tree7e2d2d3007f4b2155a056fb43d3c428b65a96f34 /views/default/usersettings/plugins_opt/plugin.php
parent70b08afa64465f4d3457ba6e1c4cc2df1dd2069b (diff)
downloadelgg-a1abec1d617c9330d9c06bda2f462d213f013f53.tar.gz
elgg-a1abec1d617c9330d9c06bda2f462d213f013f53.tar.bz2
Finish up standardizing views/default/*
git-svn-id: http://code.elgg.org/elgg/trunk@3557 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/usersettings/plugins_opt/plugin.php')
-rw-r--r--views/default/usersettings/plugins_opt/plugin.php49
1 files changed, 26 insertions, 23 deletions
diff --git a/views/default/usersettings/plugins_opt/plugin.php b/views/default/usersettings/plugins_opt/plugin.php
index a7935f2ee..c27212887 100644
--- a/views/default/usersettings/plugins_opt/plugin.php
+++ b/views/default/usersettings/plugins_opt/plugin.php
@@ -1,33 +1,36 @@
<?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
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
+/**
+ * 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
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- $plugin = $vars['plugin'];
- $details = $vars['details'];
-
- $active = $details['active'];
- $manifest = $details['manifest'];
-
- $user_guid = $details['user_guid'];
- if ($user_guid) $user_guid = $_SESSION['user']->guid;
-
- if (elgg_view("usersettings/{$plugin}/edit")) {
+$plugin = $vars['plugin'];
+$details = $vars['details'];
+
+$active = $details['active'];
+$manifest = $details['manifest'];
+
+$user_guid = $details['user_guid'];
+if ($user_guid) {
+ $user_guid = $_SESSION['user']->guid;
+}
+
+if (elgg_view("usersettings/{$plugin}/edit")) {
?>
<div class="contentWrapper">
<h3 class="settings"><?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
+<?php
+} \ No newline at end of file