Image to Post - danbooru2 theme
This commit is contained in:
parent
992d97d278
commit
f869eaefcd
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user