aboutsummaryrefslogtreecommitdiff
path: root/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object')
-rw-r--r--views/default/object/plugin.php22
1 files changed, 21 insertions, 1 deletions
diff --git a/views/default/object/plugin.php b/views/default/object/plugin.php
index 552d42192..edaf1f0db 100644
--- a/views/default/object/plugin.php
+++ b/views/default/object/plugin.php
@@ -9,5 +9,25 @@
* @copyright Curverider Ltd 2008
* @link http://elgg.org/
*/
+
+ $entity = $vars['entity'];
+ $plugin = $vars['plugin'];
+
?>
-// render a plugin & settings \ No newline at end of file
+<div>
+ <form action="<?php echo $vars['url']; ?>action/plugins/settings/save" method="post">
+
+ <?php
+ echo elgg_view("settings/{$plugin}/edit",$vars);
+ ?>
+
+ <p>
+ <input type="hidden" name="plugin" value="<?php echo $plugin ?>" />
+ <input type="submit" value="<?php
+
+ echo elgg_echo('save');
+
+ ?>" />
+ </p>
+ </form>
+</div> \ No newline at end of file