aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/plugins/usersettings
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/forms/plugins/usersettings')
-rw-r--r--views/default/forms/plugins/usersettings/save.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/forms/plugins/usersettings/save.php b/views/default/forms/plugins/usersettings/save.php
new file mode 100644
index 000000000..ced88f818
--- /dev/null
+++ b/views/default/forms/plugins/usersettings/save.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Plugin user settings
+ *
+ * Calls the plugin admin settings form body with type set to 'user'
+ *
+ * @package Elgg.Core
+ * @subpackage Plugins
+ */
+
+$vars['type'] = 'user';
+
+// Can't use elgg_view_form() because it overrides the $vars['action'] parameter
+echo elgg_view('forms/plugins/settings/save', $vars); \ No newline at end of file