container_guid); else $user = get_entity($vars['entity']->guid); }else{ $user = page_owner_entity(); } $more_info = ''; //set some variables $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 .= "