summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2008-12-06 17:18:55 +0000
committerChad Kieffer <chad@2tbsp.com>2008-12-06 17:18:55 +0000
commitdca3cd2e8d0a376103bcec8fe4d7e0feba268b8b (patch)
treec2488b9a1b76449c728d582b438f71080226533d /modules
parent611b8f44ed949140a6b69190c25954b840e2e783 (diff)
Switch the slideshow link from text to icon.
Diffstat (limited to 'modules')
-rw-r--r--modules/slideshow/helpers/slideshow_block.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/modules/slideshow/helpers/slideshow_block.php b/modules/slideshow/helpers/slideshow_block.php
index 66417eb1..f38f98a5 100644
--- a/modules/slideshow/helpers/slideshow_block.php
+++ b/modules/slideshow/helpers/slideshow_block.php
@@ -23,19 +23,18 @@ class slideshow_block_Core {
"</script>";
}
- private static function _piclens_link() {
- return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" " .
- "class=\"gButtonLink\">" .
- _("Slideshow") .
- "</a>";
+ private static function _piclens_link($theme) {
+ return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\">" .
+ "<img src=\"" . $theme->url("images/ico-view-slideshow.png") . "\" alt=\"" .
+ _("View slideshow") . "\" /></a>";
}
public static function album_top($theme) {
- return self::_piclens_link();
+ return self::_piclens_link($theme);
}
public static function photo_top($theme) {
- return self::_piclens_link();
+ return self::_piclens_link($theme);
}
public static function tag_top($theme) {