more themes, more updates

This commit is contained in:
Shish 2010-07-19 13:53:12 +01:00
parent 7abb4742a5
commit 49f860683f
3 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,8 @@
<?php
class CustomViewImageTheme extends ViewImageTheme {
public function display_page($page, $image, $editor_parts) {
public function display_page($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()));
$page->add_block(new Block("Navigation", $this->build_navigation($image), "left", 0));

View file

@ -1,7 +1,8 @@
<?php
class CustomViewImageTheme extends ViewImageTheme {
public function display_page($page, $image, $editor_parts) {
public function display_page($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()));
$page->add_block(new Block(null, $this->build_info($image, $editor_parts), "main", 10));

View file

@ -1,7 +1,8 @@
<?php
class CustomViewImageTheme extends ViewImageTheme {
public function display_page($page, $image, $editor_parts) {
public function display_page($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()));
$page->add_block(new Block("Navigation", $this->build_navigation($image), "left", 0));