get_string('theme', 'default'); $data_href = get_base_href(); $header_html = $this->get_all_html_headers(); $left_block_html = ""; $right_block_html = ""; $main_block_html = ""; $head_block_html = ""; $sub_block_html = ""; $main_headings = 0; foreach ($this->blocks as $block) { if ($block->section == "main" && !empty($block->header) && $block->header != "Comments") { $main_headings++; } } foreach ($this->blocks as $block) { switch ($block->section) { case "left": $left_block_html .= $block->get_html(true); break; case "right": $right_block_html .= $block->get_html(true); break; case "head": $head_block_html .= "
error: {$block->header} using an unknown section ({$block->section})";
break;
}
}
$query = !empty($this->_search_query) ? html_escape(Tag::implode($this->_search_query)) : "";
assert(!is_null($query)); # used in header.inc, do not remove :P
$flash_html = $this->flash ? "".nl2br(html_escape(implode("\n", $this->flash)))."" : "";
$generated = autodate(date('c'));
$footer_html = $this->footer_html();
print <<
$sub_block_html
EOD;
include "themes/rule34v2/header.inc";
print <<