aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/plugin.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 20:26:12 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 20:26:12 +0000
commitc66831fa5138a277a9729174caf14c7eb323fb07 (patch)
tree2444b54badf4914b59c88700cc1ce30a57ae7ff1 /views/default/object/plugin.php
parent8048313e87b9fd5ab6734e29a0e951524fa33e45 (diff)
downloadelgg-c66831fa5138a277a9729174caf14c7eb323fb07.tar.gz
elgg-c66831fa5138a277a9729174caf14c7eb323fb07.tar.bz2
Standardizing views.`
git-svn-id: http://code.elgg.org/elgg/trunk@3555 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/object/plugin.php')
-rw-r--r--views/default/object/plugin.php29
1 files changed, 14 insertions, 15 deletions
diff --git a/views/default/object/plugin.php b/views/default/object/plugin.php
index 5f9c5354c..411a9f8d8 100644
--- a/views/default/object/plugin.php
+++ b/views/default/object/plugin.php
@@ -1,20 +1,19 @@
<?php
- /**
- * Elgg plugin
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
+/**
+ * Elgg plugin
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- $entity = $vars['entity'];
- $plugin = $vars['plugin'];
- $prefix = $vars['prefix']; // Do we want to show admin settings (default) or user settings
-
- $form_body = elgg_view("{$prefix}settings/{$plugin}/edit", $vars);
- $form_body .= "<p>" . elgg_view('input/hidden', array('internalname' => 'plugin', 'value' => $plugin)) . elgg_view('input/submit', array('value' => elgg_echo('save'))) . "</p>";
-
+$entity = $vars['entity'];
+$plugin = $vars['plugin'];
+$prefix = $vars['prefix']; // Do we want to show admin settings (default) or user settings
+
+$form_body = elgg_view("{$prefix}settings/{$plugin}/edit", $vars);
+$form_body .= "<p>" . elgg_view('input/hidden', array('internalname' => 'plugin', 'value' => $plugin)) . elgg_view('input/submit', array('value' => elgg_echo('save'))) . "</p>";
?>
<div>