';
$display .= "
";
if ($owner->briefdescription) {
$display .= "
{$owner->briefdescription}
";
}
$location = elgg_view('output/tags', array('value' => $owner->location));
$display .= "
$location
";
$display .= '
';
// Trigger owner block menu
$params = array('owner' => $owner);
$links = trigger_plugin_hook('profile_menu', 'profile', $params, array());
if (is_array($links) && !empty($links)) {
// sort the links by name
usort($links, create_function(
'$a, $b',
'return strnatcasecmp($a[\'text\'], $b[\'text\']);'
));
$display .= '