update non-layout.class.php uses of html_headers too

This commit is contained in:
Shish
2016-06-18 12:49:46 +01:00
parent b76ee95c76
commit cfc1268354
3 changed files with 4 additions and 6 deletions

View File

@ -3,9 +3,8 @@
class HomeTheme extends Themelet {
public function display_page(Page $page, $sitename, $base_href, $theme_name, $body) {
$page->set_mode("data");
$hh = "";
$page->add_auto_html_headers();
foreach($page->html_headers as $h) {$hh .= $h;}
$hh = $page->get_all_html_headers();
$page->set_data(<<<EOD
<html>
<head>