container_guid); } else { $user = get_entity($vars['entity']->guid); } } else { $user = elgg_get_page_owner(); } if (!$user) { // no user so we quit view echo elgg_echo('viewfailure', array(__FILE__)); return TRUE; } $more_info = ''; $location = elgg_view("output/tags",array('value' => $user->location)); $section = $vars['section']; if ($section == 'details') { $icon = elgg_view("profile/icon",array('entity' => $user, 'size' => 'large', 'override' => 'true')); $icon_class = "large"; } else { $icon = elgg_view("profile/icon",array('entity' => $user, 'size' => 'small')); $more_info = "
{$user->briefdescription}
"; $more_info .= "{$location}
"; $more_info .= "