" . $submenu . "";
}
if (($_SESSION['guid']) && ($page_owner && $page_owner_user->guid != $_SESSION['user']->getGUID())) {
$info = "
" . $vars['title'] . "
";
if($page_owner_user instanceOf ElggGroup) {
$display = $info;
} else {
$display = $info;
}
if (!empty($submenu) && $vars['submenu'] == true) {
// plugins can extend this to add menu options
$display .= $submenu;
}
} else {
$info = "" . $vars['title'] . "
";
if($page_owner_user instanceOf ElggGroup) {
$display = $info;
} else {
$display = $info;
}
if (!empty($submenu) && $vars['submenu'] == true) {
// plugins can extend this to add menu options
$display .= $submenu;
}
}
//print to screen
echo $display;