* @copyright Curverider Ltd 2008 * @link http://elgg.com/ * * @uses $vars['entity'] The user entity */ //grab the users status message with metadata 'state' set to current if it exists /* if($get_status = get_entities_from_metadata("state", "current", "object", "status", $vars['entity']->guid)){ foreach($get_status as $s) { $info = elgg_view("status/friends_view", array('entity' => $s)); } } */ $icon = elgg_view( "profile/icon", array( 'entity' => $vars['entity'], 'size' => 'medium', ) ); $info .= "
"; // echo elgg_view_listing($icon, $info); echo elgg_view('search/gallery_listing',array('icon' => $icon, 'info' => $info)); ?>