"; // 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; } //the follow are for logged in users only if(isloggedin()){ //is the bookmark plugin installed? if(is_plugin_enabled('bookmarks')){ $label3 = elgg_echo('bookmarks:this'); echo "
wwwroot . "mod/bookmarks/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\">{$label3}
"; } //report this button $label4 = elgg_echo('Report this'); echo "
wwwroot . "mod/reportedcontent/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\">{$label4}
"; } 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 ""; ?>