diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-05 05:20:20 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-05 05:20:20 +0000 |
| commit | b82332192a7420cce045612014ad6f54b02974c3 (patch) | |
| tree | 7fae26a41040c0f7af6caddbfacb8c8db6250502 /core/controllers/album.php | |
| parent | f7560a7e8b15abdd549e4c59bbb39c6416844d9e (diff) | |
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!
Diffstat (limited to 'core/controllers/album.php')
| -rw-r--r-- | core/controllers/album.php | 2 |
1 files changed, 2 insertions, 0 deletions
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)); } } |
