From 3b116ee48300d19f36888c078429d668a7418cd4 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 9 Mar 2010 17:01:44 +0000 Subject: Added large avatar to Profile/details page. git-svn-id: http://code.elgg.org/elgg/trunk@5334 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/profile_contents/sidebar.php | 3 ++- mod/profile/views/default/profile/profile_ownerblock.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'mod/profile/views') diff --git a/mod/profile/views/default/profile/profile_contents/sidebar.php b/mod/profile/views/default/profile/profile_contents/sidebar.php index 49ca06484..43e3d1087 100644 --- a/mod/profile/views/default/profile/profile_contents/sidebar.php +++ b/mod/profile/views/default/profile/profile_contents/sidebar.php @@ -11,6 +11,7 @@ ?>
true)); + $section = $vars['section']; + echo elgg_view('profile/profile_ownerblock', array('section' => $section)); ?>
\ No newline at end of file diff --git a/mod/profile/views/default/profile/profile_ownerblock.php b/mod/profile/views/default/profile/profile_ownerblock.php index c5cb90189..7f89d3782 100755 --- a/mod/profile/views/default/profile/profile_ownerblock.php +++ b/mod/profile/views/default/profile/profile_ownerblock.php @@ -16,7 +16,8 @@ if($vars['entity']){ $more_info = ''; //set some variables $location = elgg_view("output/tags",array('value' => $user->location)); -if($vars['smallicon'] != true){ +$section = $vars['section']; +if($section == 'details'){ $icon = elgg_view("profile/icon",array('entity' => $user, 'size' => 'large', 'override' => 'true')); $icon_class = "large"; }else{ -- cgit v1.2.3