summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Theme_View.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-29 15:07:53 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-29 15:07:53 -0700
commit19cb27c9a4489c357c0e516c69ebcb218f8832c1 (patch)
tree41017d2e999e4d94adaa405334d29caebd8afa49 /modules/gallery/libraries/Theme_View.php
parent39a40e49a19f00baeeeefe375d67e915ccc7e09a (diff)
change the block_manager api so that the theme is passed into the get method. convert info to the new sidebar block approach
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r--modules/gallery/libraries/Theme_View.php3
1 files changed, 1 insertions, 2 deletions
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":