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) {
$this->display_page_images($page, $images);
} 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);
break;
case "main":
if ($block->header == "Images") {
if ($block->header == "Posts") {
$block->header = " ";
}
$main_block_html .= $block->get_html(false);