diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-28 19:17:36 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-28 19:17:36 +0000 |
commit | 7ddd9521b3f3a397da3b0a6b56238d31414eb4be (patch) | |
tree | 6eb6a9a51db5fa0f5d3cc2ec6de29b9e258b12a1 /actions/widgets | |
parent | bd3484417d170e62bc94e9db81d4ad37e8ddee6a (diff) | |
download | elgg-7ddd9521b3f3a397da3b0a6b56238d31414eb4be.tar.gz elgg-7ddd9521b3f3a397da3b0a6b56238d31414eb4be.tar.bz2 |
Standardized code in all of core, not including language files, tests, or core mods.
git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/widgets')
-rw-r--r-- | actions/widgets/add.php | 6 | ||||
-rw-r--r-- | actions/widgets/reorder.php | 4 | ||||
-rw-r--r-- | actions/widgets/save.php | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/actions/widgets/add.php b/actions/widgets/add.php index 42d884a02..b38e53f0d 100644 --- a/actions/widgets/add.php +++ b/actions/widgets/add.php @@ -2,8 +2,8 @@ /** * Elgg widget add action * - * @package Elgg - * @subpackage Core + * @package Elgg.Core + * @subpackage Widgets.Management */ $guid = get_input('user'); @@ -16,7 +16,7 @@ $result = false; if (!empty($guid)) { if ($user = get_entity($guid)) { if ($user->canEdit()) { - $result = add_widget($user->getGUID(),$handler,$context,0,$column); + $result = add_widget($user->getGUID(), $handler, $context, 0, $column); } } } diff --git a/actions/widgets/reorder.php b/actions/widgets/reorder.php index fbc8c5379..c7c525a81 100644 --- a/actions/widgets/reorder.php +++ b/actions/widgets/reorder.php @@ -2,8 +2,8 @@ /** * Elgg widget reorder action * - * @package Elgg - * @subpackage Core + * @package Elgg.Core + * @subpackage Widgets.Management */ $owner = get_input('owner'); diff --git a/actions/widgets/save.php b/actions/widgets/save.php index ca8a4dd9f..673767939 100644 --- a/actions/widgets/save.php +++ b/actions/widgets/save.php @@ -2,19 +2,19 @@ /** * Elgg widget save action * - * @package Elgg - * @subpackage Core + * @package Elgg.Core + * @subpackage Widgets.Management */ $guid = get_input('guid'); $params = $_REQUEST['params']; $pageurl = get_input('pageurl'); -$noforward = get_input('noforward',false); +$noforward = get_input('noforward', false); $result = false; if (!empty($guid)) { - $result = save_widget_info($guid,$params); + $result = save_widget_info($guid, $params); } if ($noforward) { |