diff --git a/themes/futaba/comment.theme.php b/themes/futaba/comment.theme.php index b25afa58..30f07fde 100644 --- a/themes/futaba/comment.theme.php +++ b/themes/futaba/comment.theme.php @@ -15,6 +15,7 @@ class CustomCommentListTheme extends CommentListTheme { $page_title = $config->get_string('title'); $page->set_title($page_title); $page->set_heading($page_title); + $page->disable_left(); $page->add_block(new Block(null, $this->build_upload_box(), "main", 0)); $page->add_block(new Block(null, "
", "main", 2)); $this->display_paginator($page, "comment/list", null, $page_number, $total_pages, 5); diff --git a/themes/futaba/layout.class.php b/themes/futaba/layout.class.php index bd4d61ae..523bdb22 100644 --- a/themes/futaba/layout.class.php +++ b/themes/futaba/layout.class.php @@ -41,6 +41,15 @@ class Layout { $subheading = "
{$page->subheading}
"; } + if($page->left_enabled) { + $left = ""; + $withleft = "withleft"; + } + else { + $left = ""; + $withleft = ""; + } + print << @@ -57,7 +66,8 @@ $header_html

{$page->heading}

$subheading -
$main_block_html
+ $left +
$main_block_html