From f869eaefcd137a64effd44ef3cde184cd201d7c6 Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Mon, 26 Oct 2020 10:26:55 -0500 Subject: [PATCH] Image to Post - danbooru2 theme --- themes/danbooru2/index.theme.php | 2 +- themes/danbooru2/page.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/danbooru2/index.theme.php b/themes/danbooru2/index.theme.php index 73a2da10..72d7aa57 100644 --- a/themes/danbooru2/index.theme.php +++ b/themes/danbooru2/index.theme.php @@ -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"); } } diff --git a/themes/danbooru2/page.class.php b/themes/danbooru2/page.class.php index 32e96a39..26eec382 100644 --- a/themes/danbooru2/page.class.php +++ b/themes/danbooru2/page.class.php @@ -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);