aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/plugins
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-09-24 15:53:51 -0400
committercash <cash.costello@gmail.com>2011-09-24 15:53:51 -0400
commitfc5fd10695883a1385645dbb9a16db9e9e0df36c (patch)
tree625e0f87a359251a7ab841a2f47843a3e900f1e0 /views/default/forms/plugins
parente5926823b0876377a04fbe47605f3524d5a67f21 (diff)
downloadelgg-fc5fd10695883a1385645dbb9a16db9e9e0df36c.tar.gz
elgg-fc5fd10695883a1385645dbb9a16db9e9e0df36c.tar.bz2
Fixes #3856 adds elgg-foot to forms missing it in /views/default/forms and updated documentation
Diffstat (limited to 'views/default/forms/plugins')
-rw-r--r--views/default/forms/plugins/settings/save.php2
-rw-r--r--views/default/forms/plugins/usersettings/save.php9
2 files changed, 10 insertions, 1 deletions
diff --git a/views/default/forms/plugins/settings/save.php b/views/default/forms/plugins/settings/save.php
index c3d8f231f..dc7b2fef7 100644
--- a/views/default/forms/plugins/settings/save.php
+++ b/views/default/forms/plugins/settings/save.php
@@ -1,6 +1,6 @@
<?php
/**
- * Used to show plugin user settings.
+ * Used to show plugin settings for both users and admins.
*
* @package Elgg.Core
* @subpackage Plugins
diff --git a/views/default/forms/plugins/usersettings/save.php b/views/default/forms/plugins/usersettings/save.php
index bf243ae6b..ced88f818 100644
--- a/views/default/forms/plugins/usersettings/save.php
+++ b/views/default/forms/plugins/usersettings/save.php
@@ -1,4 +1,13 @@
<?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