Image to Post - danbooru2 theme

This commit is contained in:
Matthew Barbour 2020-10-26 10:26:55 -05:00
parent 992d97d278
commit f869eaefcd
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class CustomIndexTheme extends IndexTheme
if (count($images) > 0) { if (count($images) > 0) {
$this->display_page_images($page, $images); $this->display_page_images($page, $images);
} else { } else {
$this->display_error(404, "No Images Found", "No images were found to match the search criteria"); $this->display_error(404, "No Posts Found", "No images were found to match the search criteria");
} }
} }

View File

@ -73,7 +73,7 @@ class Page extends BasePage
$sub_block_html .= $block->body; // $this->block_to_html($block, true); $sub_block_html .= $block->body; // $this->block_to_html($block, true);
break; break;
case "main": case "main":
if ($block->header == "Images") { if ($block->header == "Posts") {
$block->header = " "; $block->header = " ";
} }
$main_block_html .= $block->get_html(false); $main_block_html .= $block->get_html(false);