summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/views/photo.html.php')
-rw-r--r--themes/default/views/photo.html.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index 5843b3ac..ed97be88 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -1,7 +1,9 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gItem">
<a href="" class="gButtonLink">Full size (1024x768)</a>
- <a href="javascript:PicLensLite.start()" id="gSlideshowLink" class="gButtonLink">Slideshow</a>
+ <? if ($theme->module("slideshow")): ?>
+ <a href="<?= slideshow::link() ?>" id="gSlideshowLink" class="gButtonLink"><?= slideshow::button_text()?></a>
+ <? endif; ?>
<img id="gPhotoID-<?= $item->id ?>" alt="photo" src="<?= $item->resize_url() ?>"
width="<?= $item->resize_width ?>"