diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/views/album.html.php | 4 | ||||
-rw-r--r-- | themes/default/views/page.html.php | 7 | ||||
-rw-r--r-- | themes/default/views/photo.html.php | 5 |
3 files changed, 6 insertions, 10 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index 43024840..037ce30b 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -2,9 +2,7 @@ <div id="gAlbumHeader"> <h1><?= $item->title_edit ?></h1> <span class="gUnderState"><?= $item->description_edit ?></span> - <? if ($theme->module("slideshow")): ?> - <?= slideshow::link() ?> - <? endif; ?> + <?= $theme->block(dynamic_block::CONTENT_ALBUM, "slideshow") ?> </div> <ul id="gAlbumGrid"> diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index 1f744eba..345e78e8 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -11,14 +11,13 @@ media="screen,print,projection" /> <link rel="stylesheet" type="text/css" href="<?= $theme->url("css/screen.css") ?>" media="screen,print,projection" /> - <link rel="alternate" type="application/rss+xml" - href="<?= url::site("media_rss/feed/{$theme->item()->id}") ?>" - /> + <?= $theme->block(dynamic_block::HEAD_LINK) ?> <script src="<?= url::file("lib/jquery.js") ?>" type="text/javascript"></script> <script src="<?= url::file("lib/jquery.form.js") ?>" type="text/javascript"></script> + <?= $theme->block(dynamic_block::HEAD_SCRIPT) ?> + <!-- The following scripts would be added via the theme block mechanism --> <script src="<?= $theme->url("js/user.js") ?>" type="text/javascript"></script> <script src="<?= $theme->url("js/comment.js") ?>" type="text/javascript"></script> - <script src="http://lite.piclens.com/current/piclens.js" type="text/javascript"></script> <? if ($user): ?> <script src="<?= url::file("lib/jquery.jeditable.js") ?>" type="text/javascript"></script> <? endif; ?> 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 ?>" |