ff2e3cf035
git-svn-id: file:///home/shish/svn/shimmie2/trunk@848 7f39781d-f577-437e-ae19-be835c7a54ca
10 lines
349 B
PHP
10 lines
349 B
PHP
<?php
|
|
|
|
class CustomViewTheme extends ViewTheme {
|
|
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));
|
|
}
|
|
}
|
|
?>
|