diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-12 17:57:25 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-12 17:57:25 +0000 |
commit | 683f50786a7aec4a936b7b5d59a8e6338b1c7071 (patch) | |
tree | c674bb5a47b3ac98837743d09991013a33232fb1 /mod/profile | |
parent | d423fd2379171706c75c60600442a2dbdc12d87a (diff) | |
download | elgg-683f50786a7aec4a936b7b5d59a8e6338b1c7071.tar.gz elgg-683f50786a7aec4a936b7b5d59a8e6338b1c7071.tar.bz2 |
Widgets, including a test widget plugin
git-svn-id: https://code.elgg.org/elgg/trunk@900 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-rw-r--r-- | mod/profile/index.php | 2 | ||||
-rw-r--r-- | mod/profile/start.php | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/mod/profile/index.php b/mod/profile/index.php index 35c1e41a6..e1f4f1651 100644 --- a/mod/profile/index.php +++ b/mod/profile/index.php @@ -29,7 +29,7 @@ }
- $body.= elgg_view("river/shell", array('river' => get_river_entries())); + $body = elgg_view_layout('widgets',$body);
page_draw($title, $body);
diff --git a/mod/profile/start.php b/mod/profile/start.php index ddf136425..d76be446c 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -117,8 +117,6 @@ register_action("profile/iconupload",false,$CONFIG->pluginspath . "profile/actions/iconupload.php");
// Define widgets for use in this context
- if (is_callable('use_widgets')) {
- use_widgets('profile');
- }
+ use_widgets('profile');
?>
\ No newline at end of file |