diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-28 01:42:01 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-28 01:42:01 +0000 |
commit | 62e5f73b7bb1615d5a579aa049f9ab1588c12bdb (patch) | |
tree | 5f087f378eddbeaeea4fcf011a0fbf0e6a35cb42 /modules/slideshow/helpers | |
parent | b69104b695623da94ca9a4a9dff92770ea19bd58 (diff) |
Re-enable the slideshow for tag views, since now we have a MediaRSS feed for them
Diffstat (limited to 'modules/slideshow/helpers')
-rw-r--r-- | modules/slideshow/helpers/slideshow_block.php | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/modules/slideshow/helpers/slideshow_block.php b/modules/slideshow/helpers/slideshow_block.php index 4dca2470..66417eb1 100644 --- a/modules/slideshow/helpers/slideshow_block.php +++ b/modules/slideshow/helpers/slideshow_block.php @@ -23,19 +23,22 @@ class slideshow_block_Core { "</script>"; } + private static function _piclens_link() { + return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" " . + "class=\"gButtonLink\">" . + _("Slideshow") . + "</a>"; + } + public static function album_top($theme) { - return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" class=\"gButtonLink\">Slideshow</a>"; + return self::_piclens_link(); } public static function photo_top($theme) { - return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" class=\"gButtonLink\">Slideshow</a>"; + return self::_piclens_link(); } public static function tag_top($theme) { - /* - * Bharat: @todo - * You can revert if you want, problem is there is no item, so we don't create the media_rrs feed - */ - return ""; + return self::_piclens_link(); } } |