From 87c87227c4171e1c706939f746362bcaa56212df Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 26 Jun 2008 18:11:46 +0000 Subject: Improved profile listings git-svn-id: https://code.elgg.org/elgg/trunk@1155 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/user/user.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mod/profile/views/default/user') diff --git a/mod/profile/views/default/user/user.php b/mod/profile/views/default/user/user.php index 0b808769a..a913ef3f8 100644 --- a/mod/profile/views/default/user/user.php +++ b/mod/profile/views/default/user/user.php @@ -12,6 +12,10 @@ * @uses $vars['entity'] The user entity */ - echo elgg_view("profile/userdetails",$vars); + if ($vars['full']) { + echo elgg_view("profile/userdetails",$vars); + } else { + echo elgg_view("profile/listing",$vars); + } ?> \ No newline at end of file -- cgit v1.2.3