$vars['sysmessages'])); $content = elgg_view('page/elements/body', $vars); $title_link = elgg_view('output/url', array( 'text' => 'Theme Sandbox', 'href' => 'theme_preview/intro', 'is_trusted' => true, )); $header = "

$title_link

"; if (get_input("site_menu", false)) { $header .= elgg_view_menu('site'); } $body = <<<__BODY
$messages
__BODY; $body .= <<<__BODY
$header
$content
__BODY; $body .= elgg_view('page/elements/foot'); $head = elgg_view('page/elements/head', $vars); echo elgg_view("page/elements/html", array("head" => $head, "body" => $body));