summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
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/helpers
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/helpers')
-rw-r--r--modules/gallery/helpers/block_manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/block_manager.php b/modules/gallery/helpers/block_manager.php
index c5320922..87563b32 100644
--- a/modules/gallery/helpers/block_manager.php
+++ b/modules/gallery/helpers/block_manager.php
@@ -60,12 +60,12 @@ class block_manager_Core {
return $blocks;
}
- static function get_html($location) {
+ static function get_html($location, $theme) {
$active = self::get_active($location);
$result = "";
foreach ($active as $id => $desc) {
if (method_exists("$desc[0]_block", "get")) {
- $block = call_user_func(array("$desc[0]_block", "get"), $desc[1]);
+ $block = call_user_func(array("$desc[0]_block", "get"), $desc[1], $theme);
$block->id = $id;
$result .= $block;
}