$owner->location)); if ($owner instanceof ElggEntity) { $icon = elgg_view("profile/icon",array('entity' => $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 . "

"; } $display .= "

{$location}

"; $display .= "
"; // close owner_block_contents $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"; } $label = elgg_echo('feed:rss'); $contents .= <<{$label} END; } $contents .= elgg_view('owner_block/extend'); // Have we been asked to inject any content? If so, display it if (isset($vars['content'])) $contents .= $vars['content']; // Initialise the current tool/page submenu (plugins can add to the submenu) $submenu = get_submenu(); if (!empty($submenu)) $contents .= ""; if (!empty($contents)) { echo $contents; }