From b82332192a7420cce045612014ad6f54b02974c3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 5 Nov 2008 05:20:20 +0000 Subject: The carousel block is now off into its own module. The sidebar.html.php file loops over $theme->blocks() which in turn calls carousel::block() which uses the Block object to create a standard block UI. Hooray! --- core/controllers/album.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/controllers') diff --git a/core/controllers/album.php b/core/controllers/album.php index a00a5138..9c78dfca 100644 --- a/core/controllers/album.php +++ b/core/controllers/album.php @@ -28,6 +28,8 @@ class Album_Controller extends Template_Controller { $this->template->set_global('item', $item); $this->template->set_global('children', $item->children()); + + /** @todo: this needs to be data-driven */ $this->template->set_global('theme', new Theme("default", $this->template)); } } -- cgit v1.2.3