diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-20 17:32:58 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-20 17:32:58 +0000 |
| commit | b78cee63950479abfa78df37a03388007f332543 (patch) | |
| tree | cfd7c24d31d76ef94702fe11ab6164adf88612d9 /themes/default/views/photo.html.php | |
| parent | e2b040c6ae3797a5d6ec6c0f05f6bf3194e07c52 (diff) | |
A look at away to allow modules to define html head contents (links and js) and also allow modules to contribute blocks to the layout.
Diffstat (limited to 'themes/default/views/photo.html.php')
| -rw-r--r-- | themes/default/views/photo.html.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 47b7bf4f..26a28b18 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -1,9 +1,8 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <div id="gItem"> <a href="" class="gButtonLink">Full size (1024x768)</a> - <? if ($theme->module("slideshow")): ?> - <?= slideshow::link() ?> - <? endif; ?> + <?= $theme->block(dynamic_block::CONTENT_PHOTO, "slideshow") ?> + <img id="gPhotoID-<?= $item->id ?>" alt="photo" src="<?= $item->resize_url() ?>" width="<?= $item->resize_width ?>" |
