summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-21 07:06:11 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-21 07:06:11 +0000
commit992cf22c795100a4f42c17c38cf1aaa2029af279 (patch)
treeb599693080c029b26d77e1ea7b92cd9be9e62987 /themes/default/views/photo.html.php
parente60ddd0bd8e3337cf569eb66d36f2bd1021e948e (diff)
Revert module block approach
Diffstat (limited to 'themes/default/views/photo.html.php')
-rw-r--r--themes/default/views/photo.html.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index 26a28b18..47b7bf4f 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -1,8 +1,9 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gItem">
<a href="" class="gButtonLink">Full size (1024x768)</a>
- <?= $theme->block(dynamic_block::CONTENT_PHOTO, "slideshow") ?>
-
+ <? if ($theme->module("slideshow")): ?>
+ <?= slideshow::link() ?>
+ <? endif; ?>
<img id="gPhotoID-<?= $item->id ?>" alt="photo" src="<?= $item->resize_url() ?>"
width="<?= $item->resize_width ?>"