diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-04 17:53:57 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-04 17:53:57 +0000 |
commit | 1852b00a819721c9d7399e7fa42321d582bb32af (patch) | |
tree | fe81c6f4fa440359091c0a737201c522f923a9db /mod/profile/profile_lib.php | |
parent | 88c3d54f0a6ceb0b539af4e922157b101b945542 (diff) | |
download | elgg-1852b00a819721c9d7399e7fa42321d582bb32af.tar.gz elgg-1852b00a819721c9d7399e7fa42321d582bb32af.tar.bz2 |
Pulled profile sidebar out into separate view.
Using one_column_with_sidebar layout for editing profile.
git-svn-id: http://code.elgg.org/elgg/trunk@5285 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/profile_lib.php')
-rw-r--r-- | mod/profile/profile_lib.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/profile/profile_lib.php b/mod/profile/profile_lib.php index 176c6e4de..d92ad29b3 100644 --- a/mod/profile/profile_lib.php +++ b/mod/profile/profile_lib.php @@ -44,6 +44,7 @@ function profile_get_user_profile_html($user, $section = 'activity') { break; } + $body .= elgg_view('profile/profile_contents/sidebar'); return $body; } @@ -56,10 +57,11 @@ function profile_get_user_profile_html($user, $section = 'activity') { */ function profile_get_user_edit_content($user, $page) { $section = (isset($page[2])) ? $page[2] : 'details'; + $content = elgg_view('profile/profile_navigation', array('section' => $section, 'entity' => $user)); switch ($section) { case 'icon': - $content = elgg_view_title(elgg_echo('profile:edit')); + $content .= elgg_view_title(elgg_echo('profile:edit')); $content .= elgg_view("profile/editicon", array('entity' => $user)); break; default: |