summaryrefslogtreecommitdiff
path: root/themes/night_wind/views/dynamic.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-08 10:11:57 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-08 10:11:57 -0700
commit23ba9a2a4eaef62408d52286d573f2be6820afca (patch)
treecd7fd5a72db205dba8e6985261bced886946664a /themes/night_wind/views/dynamic.html.php
parent03561649ea3d04d96c8911d39b05b71845912b1d (diff)
A clone of the Gallery Wind theme that is based on darker colors. We can move it to -contrib if that's the desire, but i'd thought i'd put it here for now.
Diffstat (limited to 'themes/night_wind/views/dynamic.html.php')
-rw-r--r--themes/night_wind/views/dynamic.html.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/themes/night_wind/views/dynamic.html.php b/themes/night_wind/views/dynamic.html.php
new file mode 100644
index 00000000..aa347402
--- /dev/null
+++ b/themes/night_wind/views/dynamic.html.php
@@ -0,0 +1,29 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div id="g-album-header">
+ <div id="g-album-header-buttons">
+ <?= $theme->dynamic_top() ?>
+ </div>
+ <h1><?= html::clean($title) ?></h1>
+</div>
+
+<ul id="g-album-grid">
+ <? foreach ($children as $i => $child): ?>
+ <li class="g-item <?= $child->is_album() ? "g-album" : "" ?>">
+ <?= $theme->thumb_top($child) ?>
+ <a href="<?= $child->url() ?>">
+ <img id="g-photo-id-<?= $child->id ?>" class="g-thumbnail"
+ 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="g-metadata">
+ <?= $theme->thumb_info($child) ?>
+ </ul>
+ </li>
+ <? endforeach ?>
+</ul>
+<?= $theme->dynamic_bottom() ?>
+
+<?= $theme->pager() ?>