aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-29 11:42:50 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-29 11:42:50 +0000
commit11c1d8e019d512d2b133f2029ab81ad7222d7cc4 (patch)
treeae21183ae85431be19a4317a81b9278fc8459f5e /mod/profile
parent72559075c3ae983e707003c12b6425ec5938ea3f (diff)
downloadelgg-11c1d8e019d512d2b133f2029ab81ad7222d7cc4.tar.gz
elgg-11c1d8e019d512d2b133f2029ab81ad7222d7cc4.tar.bz2
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
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/views/default/user/user.php10
1 files 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 @@
<p><?php echo nl2br($vars['entity']->description); ?></p>
<?php
- }
if (is_array($vars['config']->profile) && sizeof($vars['config']->profile) > 0)
foreach($vars['config']->profile as $shortname => $valtype) {
if ($shortname != "description") {
@@ -58,6 +62,8 @@
}
}
}
+
+ }
if ($vars['entity']->canEdit()) {