diff options
author | cash <cash.costello@gmail.com> | 2011-09-24 15:53:51 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-09-24 15:53:51 -0400 |
commit | fc5fd10695883a1385645dbb9a16db9e9e0df36c (patch) | |
tree | 625e0f87a359251a7ab841a2f47843a3e900f1e0 /views/default/forms/plugins | |
parent | e5926823b0876377a04fbe47605f3524d5a67f21 (diff) | |
download | elgg-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.php | 2 | ||||
-rw-r--r-- | views/default/forms/plugins/usersettings/save.php | 9 |
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 |