make futaba:view:display_page make ext:view:display_page

This commit is contained in:
Shish 2012-08-18 19:48:51 +01:00
parent 5ddd358d5f
commit 68e2ca798e

View file

@ -1,7 +1,7 @@
<?php
class CustomViewImageTheme extends ViewImageTheme {
public function display_page($image, $editor_parts) {
public function display_page(Image $image, $editor_parts) {
global $page;
$page->set_title("Image {$image->id}: ".html_escape($image->get_tag_list()));
$page->set_heading(html_escape($image->get_tag_list()));