diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 17:01:44 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 17:01:44 +0000 |
commit | 3b116ee48300d19f36888c078429d668a7418cd4 (patch) | |
tree | 79cbab064454b408507fd29507e0655c9bc7d3f7 /mod/profile/views/default | |
parent | 0ed684cbb7984feff60bb357bdf208dc423b6785 (diff) | |
download | elgg-3b116ee48300d19f36888c078429d668a7418cd4.tar.gz elgg-3b116ee48300d19f36888c078429d668a7418cd4.tar.bz2 |
Added large avatar to Profile/details page.
git-svn-id: http://code.elgg.org/elgg/trunk@5334 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r-- | mod/profile/views/default/profile/profile_contents/sidebar.php | 3 | ||||
-rwxr-xr-x | mod/profile/views/default/profile/profile_ownerblock.php | 3 |
2 files changed, 4 insertions, 2 deletions
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 @@ ?> <div id="profile_sidebar"> <?php - echo elgg_view('profile/profile_ownerblock', array('smallicon' => true)); + $section = $vars['section']; + echo elgg_view('profile/profile_ownerblock', array('section' => $section)); ?> </div>
\ 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{ |