diff options
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: |