Switch the slideshow link from text to icon.

This commit is contained in:
Chad Kieffer
2008-12-06 17:18:55 +00:00
parent 611b8f44ed
commit dca3cd2e8d
3 changed files with 8 additions and 12 deletions

View File

@@ -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) {