diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-22 10:50:13 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-22 10:50:13 +0000 |
commit | c8e1a99c0388710806012eaad59e700c0667a4d1 (patch) | |
tree | 2ac4595706cc408697cfdf02801d3bb37d1c5077 /mod/profile/index.php | |
parent | 8cba2e15f386297a0f62c94de7fa3eaafe8a852c (diff) | |
download | elgg-c8e1a99c0388710806012eaad59e700c0667a4d1.tar.gz elgg-c8e1a99c0388710806012eaad59e700c0667a4d1.tar.bz2 |
Removed widget view from Profile.
git-svn-id: http://code.elgg.org/elgg/trunk@5465 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/index.php')
-rw-r--r-- | mod/profile/index.php | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/mod/profile/index.php b/mod/profile/index.php index 6d56f2c87..41552602d 100644 --- a/mod/profile/index.php +++ b/mod/profile/index.php @@ -26,10 +26,6 @@ if ($user = get_user_by_username($username)) { $body .= elgg_view('profile/profile_contents/details', array("entity" => $user)); break; - case 'widgets': - $body .= elgg_view_layout('widgets'); - break; - case 'friends': $body .= elgg_view('profile/profile_contents/friends', array("entity" => $user)); break; @@ -45,16 +41,10 @@ if ($user = get_user_by_username($username)) { $body .= elgg_view('profile/profile_contents/details', array("entity" => $user)); break; } - //$body .= elgg_view_entity($user,true); $title = $user->name; - //$body .= elgg_view_layout('widgets'); } else { $body = elgg_echo("profile:notfound"); $title = elgg_echo("profile"); } -if ($option == 'widgets') { - //page_draw_widgets($title, $body, $sidebar=""); -} else { - $body = elgg_view_layout("one_column", $body); - page_draw($title, $body); -}
\ No newline at end of file +$body = elgg_view_layout("one_column", $body); +page_draw($title, $body);
\ No newline at end of file |