get_string(SetupConfig::TITLE); $data_href = get_base_href(); $main_page = $config->get_string(SetupConfig::MAIN_PAGE); $left_block_html = ""; $main_block_html = ""; $head_block_html = ""; $sub_block_html = ""; foreach ($this->blocks as $block) { switch ($block->section) { case "left": $left_block_html .= $block->get_html(true); break; case "head": $head_block_html .= "
error: {$block->header} using an unknown section ({$block->section})";
break;
}
}
$flash_html = $this->flash_html();
$footer_html = $this->footer_html();
return <<
$sub_block_html
$head_block_html
{$site_name}