This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/themes/futaba/view.theme.php
shish c1545526ad fix for the futaba theme
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1100 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-20 18:53:54 +00:00

10 lines
359 B
PHP

<?php
class CustomViewImageTheme extends ViewImageTheme {
public function display_page($page, $image, $editor_parts) {
$page->set_title("Image {$image->id}: ".html_escape($image->get_tag_list()));
$page->set_heading(html_escape($image->get_tag_list()));
$page->add_block(new Block(null, $this->build_info($image, $editor_parts), "main", 10));
}
}
?>