aboutsummaryrefslogtreecommitdiff
path: root/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object')
-rw-r--r--views/default/object/plugin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/default/object/plugin.php b/views/default/object/plugin.php
index edaf1f0db..12e22bd15 100644
--- a/views/default/object/plugin.php
+++ b/views/default/object/plugin.php
@@ -12,13 +12,14 @@
$entity = $vars['entity'];
$plugin = $vars['plugin'];
-
+ $prefix = $vars['prefix']; // Do we want to show admin settings (default) or user settings
+
?>
<div>
<form action="<?php echo $vars['url']; ?>action/plugins/settings/save" method="post">
<?php
- echo elgg_view("settings/{$plugin}/edit",$vars);
+ echo elgg_view("{$prefix}settings/{$plugin}/edit",$vars);
?>
<p>