$owner, 'size' => 'tiny'));
if ($owner instanceof ElggUser || $owner instanceof ElggGroup) {
$info = $owner->name;
}
$display = "
" . $icon . "
";
$display .= "" . $info . "
";
if ($owner->briefdescription) {
$desc = $owner->briefdescription;
$display .= "" . $desc . "
";
}
$contents .= $display;
}
// Are there feeds to display?
global $autofeed;
if (isset($autofeed) && $autofeed == true) {
$url = $url2 = full_url();
if (substr_count($url,'?')) {
$url .= "&view=rss";
} else {
$url .= "?view=rss";
}
if (substr_count($url2,'?')) {
$url2 .= "&view=odd";
} else {
$url2 .= "?view=opendd";
}
$label = elgg_echo('feed:rss');
$label2 = elgg_echo('feed:odd');
$contents .= <<