diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-26 18:11:46 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-26 18:11:46 +0000 |
commit | 87c87227c4171e1c706939f746362bcaa56212df (patch) | |
tree | 71abd6a3d9063bab8ba309d7dbb80823dd26e638 /mod/profile/views/default/user | |
parent | 963ab53fc2ad247ebbdcec2e4ad8c9064e2d2352 (diff) | |
download | elgg-87c87227c4171e1c706939f746362bcaa56212df.tar.gz elgg-87c87227c4171e1c706939f746362bcaa56212df.tar.bz2 |
Improved profile listings
git-svn-id: https://code.elgg.org/elgg/trunk@1155 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default/user')
-rw-r--r-- | mod/profile/views/default/user/user.php | 6 |
1 files changed, 5 insertions, 1 deletions
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 |