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 /themes | |
| 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 'themes')
| -rw-r--r-- | themes/default/images/carousel.png | bin | 15631 -> 0 bytes | |||
| -rw-r--r-- | themes/default/views/sidebar.html.php | 13 |
2 files changed, 3 insertions, 10 deletions
diff --git a/themes/default/images/carousel.png b/themes/default/images/carousel.png Binary files differdeleted file mode 100644 index e516b1d3..00000000 --- a/themes/default/images/carousel.png +++ /dev/null diff --git a/themes/default/views/sidebar.html.php b/themes/default/views/sidebar.html.php index bee5b1a7..ab49a7bb 100644 --- a/themes/default/views/sidebar.html.php +++ b/themes/default/views/sidebar.html.php @@ -1,15 +1,8 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <div id="gSidebar" class="yui-b"> - - <div id="gCarousel" class="gBlock"> - <div class="gBlockHeader"> - <h2>Album: <a href="browse.html">Christmas 2007</a></h2> - <a href="#" class="minimize" title="<?= _("Minimize Carousel Block") ?>">[-]</a> - </div> - - <img src="<?= $theme->url("images/carousel.png") ?>" width="214" class="gBlockContent" /> - </div> - + <? foreach ($theme->blocks() as $block): ?> + <?= $block ?> + <? endforeach ?> <div id="gTags" class="gBlock"> <div class="gBlockHeader"> |
