diff --git a/themes/danbooru/layout.class.php b/themes/danbooru/layout.class.php
index 066ff34a..d8624cb6 100644
--- a/themes/danbooru/layout.class.php
+++ b/themes/danbooru/layout.class.php
@@ -60,6 +60,7 @@ class Layout {
$left_block_html = "";
$user_block_html = "";
$main_block_html = "";
+ $sub_block_html = "";
foreach($page->blocks as $block) {
switch($block->section) {
@@ -69,6 +70,9 @@ class Layout {
case "user":
$user_block_html .= $block->body; // $this->block_to_html($block, true);
break;
+ case "subheading":
+ $sub_block_html .= $block->body; // $this->block_to_html($block, true);
+ break;
case "main":
if($block->header == "Images") {
$block->header = " ";
@@ -195,6 +199,7 @@ $header_html
$subheading
+ $sub_block_html
$left
$main_block_html
diff --git a/themes/futaba/layout.class.php b/themes/futaba/layout.class.php
index e5c03eb3..89d57486 100644
--- a/themes/futaba/layout.class.php
+++ b/themes/futaba/layout.class.php
@@ -15,6 +15,7 @@ class Layout {
$left_block_html = "";
$main_block_html = "";
+ $sub_block_html = "";
foreach($page->blocks as $block) {
switch($block->section) {
@@ -24,6 +25,9 @@ class Layout {
case "main":
$main_block_html .= $this->block_to_html($block, false, "main");
break;
+ case "subheading":
+ $sub_block_html .= $block->body; // $this->block_to_html($block, true);
+ break;
default:
print "error: {$block->header} using an unknown section ({$block->section})";
break;
@@ -65,6 +69,7 @@ $header_html
{$page->heading}
$subheading
+ $sub_block_html
$left
$main_block_html
diff --git a/themes/old_default/layout.class.php b/themes/old_default/layout.class.php
index e4145270..dc1b398a 100644
--- a/themes/old_default/layout.class.php
+++ b/themes/old_default/layout.class.php
@@ -15,6 +15,7 @@ class Layout {
$left_block_html = "";
$main_block_html = "";
+ $sub_block_html = "";
foreach($page->blocks as $block) {
switch($block->section) {
@@ -24,6 +25,9 @@ class Layout {
case "main":
$main_block_html .= $this->block_to_html($block, false, "main");
break;
+ case "subheading":
+ $sub_block_html .= $block->body; // $this->block_to_html($block, true);
+ break;
default:
print "error: {$block->header} using an unknown section ({$block->section})";
break;
@@ -55,6 +59,7 @@ $header_html
{$page->heading}
$subheading
+ $sub_block_html
$left_block_html
$main_block_html
diff --git a/themes/warm/layout.class.php b/themes/warm/layout.class.php
index 9bdd7a39..a2824d7c 100644
--- a/themes/warm/layout.class.php
+++ b/themes/warm/layout.class.php
@@ -21,6 +21,7 @@ class Layout {
$left_block_html = "";
$main_block_html = "";
$head_block_html = "";
+ $sub_block_html = "";
foreach($page->blocks as $block) {
switch($block->section) {
@@ -33,6 +34,9 @@ class Layout {
case "main":
$main_block_html .= $this->block_to_html($block, false, "main");
break;
+ case "subheading":
+ $sub_block_html .= $block->body; // $this->block_to_html($block, true);
+ break;
default:
print "error: {$block->header} using an unknown section ({$block->section})";
break;
@@ -70,6 +74,8 @@ $header_html
+ $sub_block_html
+
$left_block_html
$main_block_html