Skip to content
Browse files

more themes, more updates

  • Loading branch information...
1 parent 7abb474 commit 49f860683fb6081311f118855b5f45039891c541 @shish shish committed Jul 19, 2010
Showing with 6 additions and 3 deletions.
  1. +2 −1 themes/danbooru/view.theme.php
  2. +2 −1 themes/futaba/view.theme.php
  3. +2 −1 themes/lite/view.theme.php
View
3 themes/danbooru/view.theme.php
@@ -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
3 themes/futaba/view.theme.php
@@ -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
3 themes/lite/view.theme.php
@@ -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));

0 comments on commit 49f8606

Please sign in to comment.
Something went wrong with that request. Please try again.