From 19cb27c9a4489c357c0e516c69ebcb218f8832c1 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 29 Sep 2009 15:07:53 -0700 Subject: change the block_manager api so that the theme is passed into the get method. convert info to the new sidebar block approach --- modules/gallery/libraries/Theme_View.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/gallery/libraries') diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index 493bca16..5a16236e 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -157,7 +157,7 @@ class Theme_View_Core extends Gallery_View { * Print out the sidebar. */ public function sidebar_blocks() { - return block_manager::get_html("site.sidebar"); + return block_manager::get_html("site.sidebar", $this); } /** @@ -183,7 +183,6 @@ class Theme_View_Core extends Gallery_View { case "photo_top": case "resize_bottom": case "resize_top": - case "sidebar_blocks": case "sidebar_bottom": case "sidebar_top": case "thumb_bottom": -- cgit v1.2.3