"; // Is there a page owner? if ($owner = page_owner_entity()) { $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 . "
"; } } echo $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'); echo <<{$label}
{$label2}
END; } echo elgg_view('owner_block/extend'); // Have we been asked to inject any content? If so, display it if (isset($vars['content'])) echo $vars['content']; // Initialise the submenu $submenu = get_submenu(); // elgg_view('canvas_header/submenu'); if (!empty($submenu)) $submenu = ""; if (!empty($submenu)) echo "
" . $submenu . "
"; // plugins can extend this to add menu options echo ""; ?>