diff --git a/themes/danbooru/index.theme.php b/themes/danbooru/index.theme.php index 7b72857b..65855620 100644 --- a/themes/danbooru/index.theme.php +++ b/themes/danbooru/index.theme.php @@ -26,14 +26,14 @@ class CustomIndexTheme extends IndexTheme $page->add_block(new Block("Search", $nav, "left", 0)); if (count($images) > 0) { if ($query) { - $page->add_block(new Block("Images", $this->build_table($images, "search=$query"), "main", 10)); + $page->add_block(new Block("Posts", $this->build_table($images, "search=$query"), "main", 10)); $this->display_paginator($page, "post/list/$query", null, $this->page_number, $this->total_pages); } else { - $page->add_block(new Block("Images", $this->build_table($images, null), "main", 10)); + $page->add_block(new Block("Posts", $this->build_table($images, null), "main", 10)); $this->display_paginator($page, "post/list", null, $this->page_number, $this->total_pages); } } else { - $page->add_block(new Block("No Images Found", "No images were found to match the search criteria")); + $page->add_block(new Block("No Posts Found", "No images were found to match the search criteria")); } } diff --git a/themes/danbooru/page.class.php b/themes/danbooru/page.class.php index beb9ca93..5b593d63 100644 --- a/themes/danbooru/page.class.php +++ b/themes/danbooru/page.class.php @@ -74,7 +74,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);