From dca3cd2e8d0a376103bcec8fe4d7e0feba268b8b Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sat, 6 Dec 2008 17:18:55 +0000 Subject: Switch the slideshow link from text to icon. --- modules/slideshow/helpers/slideshow_block.php | 13 ++++++------- themes/default/views/album.html.php | 3 +-- themes/default/views/photo.html.php | 4 +--- 3 files changed, 8 insertions(+), 12 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 { ""; } - private static function _piclens_link() { - return "" . - _("Slideshow") . - ""; + private static function _piclens_link($theme) { + return "" . + "url("images/ico-view-slideshow.png") . "\" alt=\"" . + _("View slideshow") . "\" />"; } 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) { diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index 8cc11b3e..4f8bf23e 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -1,10 +1,9 @@

title_edit ?>

diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 54188e7f..f58c51d1 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -1,11 +1,9 @@

title_edit ?>

-- cgit v1.2.3