Image to Post - lite theme

This commit is contained in:
Matthew Barbour 2020-10-26 10:26:43 -05:00
parent de084d2c55
commit 992d97d278

View file

@ -5,7 +5,7 @@ class CustomViewImageTheme extends ViewImageTheme
public function display_page(Image $image, $editor_parts)
{
global $page;
$page->set_title("Image {$image->id}: ".$image->get_tag_list());
$page->set_title("Post {$image->id}: ".$image->get_tag_list());
$page->set_heading(html_escape($image->get_tag_list()));
$page->add_block(new Block("Navigation", $this->build_navigation($image), "left", 0));
$page->add_block(new Block("Statistics", $this->build_stats($image), "left", 15));