From 2e48f233b56c08ce648e2822d0342101d0c91047 Mon Sep 17 00:00:00 2001 From: shish Date: Thu, 9 Oct 2008 03:23:12 +0000 Subject: [PATCH] changed this too git-svn-id: file:///home/shish/svn/shimmie2/trunk@1059 7f39781d-f577-437e-ae19-be835c7a54ca --- ext/view/theme.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/view/theme.php b/ext/view/theme.php index 394ca9e5..f6e9e7bb 100644 --- a/ext/view/theme.php +++ b/ext/view/theme.php @@ -7,7 +7,7 @@ class ViewImageTheme extends Themelet { 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("Navigation", $this->build_navigation($image->id), "left", 0)); + $page->add_block(new Block("Navigation", $this->build_navigation($image), "left", 0)); $page->add_block(new Block(null, $this->build_info($image, $editor_parts), "main", 10)); $page->add_block(new Block(null, $this->build_pin($image), "main", 11)); } @@ -48,8 +48,8 @@ class ViewImageTheme extends Themelet { return $this->pin; } - protected function build_navigation($image_id) { - $h_pin = $this->build_pin($image_id); + protected function build_navigation($image) { + $h_pin = $this->build_pin($image); $h_search = "