From 11c1d8e019d512d2b133f2029ab81ad7222d7cc4 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 29 May 2008 11:42:50 +0000 Subject: Slight change to the user view in profiles, to facilitate the friends page git-svn-id: https://code.elgg.org/elgg/trunk@752 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/user/user.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mod/profile/views/default/user/user.php b/mod/profile/views/default/user/user.php index efa19f0d4..102932233 100644 --- a/mod/profile/views/default/user/user.php +++ b/mod/profile/views/default/user/user.php @@ -12,11 +12,16 @@ * @uses $vars['entity'] The user entity */ + if ($vars['full'] == true) { + $iconsize = "large"; + } else { + $iconsize = "medium"; + } echo elgg_view( "profile/icon", array( 'entity' => $vars['entity'], 'align' => "right", - 'size' => "large", + 'size' => $iconsize, ) ); @@ -31,7 +36,6 @@

description); ?>

profile) && sizeof($vars['config']->profile) > 0) foreach($vars['config']->profile as $shortname => $valtype) { if ($shortname != "description") { @@ -58,6 +62,8 @@ } } } + + } if ($vars['entity']->canEdit()) { -- cgit v1.2.3