Image to Post - lite theme
This commit is contained in:
parent
de084d2c55
commit
992d97d278
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class CustomViewImageTheme extends ViewImageTheme
|
||||||
public function display_page(Image $image, $editor_parts)
|
public function display_page(Image $image, $editor_parts)
|
||||||
{
|
{
|
||||||
global $page;
|
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->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("Navigation", $this->build_navigation($image), "left", 0));
|
||||||
$page->add_block(new Block("Statistics", $this->build_stats($image), "left", 15));
|
$page->add_block(new Block("Statistics", $this->build_stats($image), "left", 15));
|
||||||
|
|
Reference in a new issue