name); $area2 = elgg_view_title($title); set_context('search'); $content = list_user_friends_objects($owner->guid, 'file', 10, false); set_context('file'); $area1 = get_filetype_cloud($owner->guid, true); // handle case where friends don't have any files if (empty($content)) { $area2 .= elgg_view('page_elements/contentwrapper',array('body' => elgg_echo("file:none"))); } else { $area2 .= $content; } $body = elgg_view_layout('two_column_left_sidebar',$area1, $area2); page_draw($title, $body); ?>