diff --git a/themes/default/layout.class.php b/themes/default/layout.class.php index 84bae676..16dcf6ef 100644 --- a/themes/default/layout.class.php +++ b/themes/default/layout.class.php @@ -21,6 +21,7 @@ class Layout { $left_block_html = ""; $main_block_html = ""; + $sub_block_html = ""; foreach($page->blocks as $block) { switch($block->section) { @@ -30,6 +31,9 @@ class Layout { case "main": $main_block_html .= $this->block_to_html($block, false, "main"); break; + case "subheading": + $sub_block_html .= $this->block_to_html($block, false, "main"); + break; default: print "
error: {$block->header} using an unknown section ({$block->section})"; break; @@ -59,7 +63,8 @@ $header_html