aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/plugin.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 16:27:05 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 16:27:05 +0000
commit737394eb15a2ef0c1f5a085d7f5958d2f3e66b89 (patch)
treed3d3d9f880e9ffd63b73d9f3ab83c1ce0fda825f /views/default/object/plugin.php
parentdc28ff0bed2216d97e24b1286c68190c843cb684 (diff)
downloadelgg-737394eb15a2ef0c1f5a085d7f5958d2f3e66b89.tar.gz
elgg-737394eb15a2ef0c1f5a085d7f5958d2f3e66b89.tar.bz2
Refs #76: User settings page (to Elgg Classic standard). Committing some work before shutting down for the day.
git-svn-id: https://code.elgg.org/elgg/trunk@1068 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/object/plugin.php')
-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>