From 223449fcbddf5beaa88e428554bbe7655b8e41c3 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 19 Nov 2008 23:46:40 +0000 Subject: slideshow::link() returns the entire anchor element --- modules/slideshow/helpers/slideshow.php | 6 +----- themes/default/views/album.html.php | 2 +- themes/default/views/photo.html.php | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/modules/slideshow/helpers/slideshow.php b/modules/slideshow/helpers/slideshow.php index fdd696d2..5fadf36b 100644 --- a/modules/slideshow/helpers/slideshow.php +++ b/modules/slideshow/helpers/slideshow.php @@ -19,10 +19,6 @@ */ class slideshow { public static function link() { - return "javascript:PicLensLite.start()"; - } - - public static function button_text() { - return _("Slideshow"); + return "Slideshow"; } } diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index f55f2056..43024840 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -3,7 +3,7 @@

title_edit ?>

description_edit ?> module("slideshow")): ?> - + diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index ed97be88..47b7bf4f 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -2,7 +2,7 @@
Full size (1024x768) module("slideshow")): ?> - +