Fixed lite theme not showing image titles
This commit is contained in:
parent
06bd4589da
commit
830915adf2
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +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_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));
|
||||
|
|
Reference in a new issue