summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/slideshow/helpers')
-rw-r--r--modules/slideshow/helpers/slideshow_block.php (renamed from modules/slideshow/helpers/slideshow.php)13
1 files changed, 11 insertions, 2 deletions
diff --git a/modules/slideshow/helpers/slideshow.php b/modules/slideshow/helpers/slideshow_block.php
index 5fadf36b..b31a5003 100644
--- a/modules/slideshow/helpers/slideshow.php
+++ b/modules/slideshow/helpers/slideshow_block.php
@@ -17,8 +17,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-class slideshow {
- public static function link() {
+class slideshow_block_Core {
+ public static function head($theme) {
+ return "<script src=\"http://lite.piclens.com/current/piclens.js\" type=\"text/javascript\">" .
+ "</script>";
+ }
+
+ public static function album_header() {
+ return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" class=\"gButtonLink\">Slideshow</a>";
+ }
+
+ public static function photo() {
return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" class=\"gButtonLink\">Slideshow</a>";
}
}