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! --- modules/carousel/helpers/carousel.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 modules/carousel/helpers/carousel.php (limited to 'modules/carousel/helpers') diff --git a/modules/carousel/helpers/carousel.php b/modules/carousel/helpers/carousel.php new file mode 100644 index 00000000..de34e1ae --- /dev/null +++ b/modules/carousel/helpers/carousel.php @@ -0,0 +1,31 @@ +id = "gCarousel"; + $block->title = "Album: {$theme->item()->title}"; + $block->content = '