summaryrefslogtreecommitdiff
path: root/themes/wind/views/dynamic.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/wind/views/dynamic.html.php')
-rw-r--r--themes/wind/views/dynamic.html.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/themes/wind/views/dynamic.html.php b/themes/wind/views/dynamic.html.php
new file mode 100644
index 00000000..9ed9d69b
--- /dev/null
+++ b/themes/wind/views/dynamic.html.php
@@ -0,0 +1,29 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div id="gAlbumHeader">
+ <div id="gAlbumHeaderButtons">
+ <?= $theme->dynamic_top() ?>
+ </div>
+ <h1><?= html::clean($title) ?></h1>
+</div>
+
+<ul id="gAlbumGrid">
+ <? foreach ($children as $i => $child): ?>
+ <li class="gItem <?= $child->is_album() ? "gAlbum" : "" ?>">
+ <?= $theme->thumb_top($child) ?>
+ <a href="<?= $child->url() ?>">
+ <img id="gPhotoId-<?= $child->id ?>" class="gThumbnail"
+ alt="photo" src="<?= $child->thumb_url() ?>"
+ width="<?= $child->thumb_width ?>"
+ height="<?= $child->thumb_height ?>" />
+ </a>
+ <h2><?= html::purify($child->title) ?></h2>
+ <?= $theme->thumb_bottom($child) ?>
+ <ul class="gMetadata">
+ <?= $theme->thumb_info($child) ?>
+ </ul>
+ </li>
+ <? endforeach ?>
+</ul>
+<?= $theme->dynamic_bottom() ?>
+
+<?= $theme->pager() ?>