diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-12-15 01:52:04 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-15 01:52:04 +0000 |
| commit | 2842a1a8be748f6ec1024ea3a8ecc97471f70a3f (patch) | |
| tree | 6ce04d0118907f4299d2d39e23aaf305b2d7f80f /themes/default/views/album.html.php | |
| parent | 1127257f638ce641f23751928c449c3121622a8d (diff) | |
Argh, fix a bad rename.
Diffstat (limited to 'themes/default/views/album.html.php')
| -rw-r--r-- | themes/default/views/album.html.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php new file mode 100644 index 00000000..addd6c3a --- /dev/null +++ b/themes/default/views/album.html.php @@ -0,0 +1,32 @@ +<? defined("SYSPATH") or die("No direct script access."); ?> +<div id="gAlbumHeader"> + <?= $theme->album_top() ?> + <h1><?= $item->title_edit ?></h1> + <div class="gDescription"><?= $item->description_edit ?></div> +</div> + +<ul id="gAlbumGrid"> + <? foreach ($children as $i => $child): ?> + <? $album_class = ""; ?> + <? if ($child->is_album()): ?> + <? $album_class = "gAlbum "; ?> + <? endif ?> + <li class="gItem <?= $album_class ?>"> + <?= $theme->thumbnail_top($child) ?> + <a href="<?= url::site("{$child->type}s/{$child->id}") ?>"> + <img id="gPhotoID-<?= $child->id ?>" class="gThumbnail" + alt="photo" src="<?= $child->thumbnail_url() ?>" + width="<?= $child->thumbnail_width ?>" + height="<?= $child->thumbnail_height ?>" /> + </a> + <h2><?= $child->title_edit ?></h2> + <?= $theme->thumbnail_bottom($child) ?> + <ul class="gMetadata"> + <?= $theme->thumbnail_info($child) ?> + </ul> + </li> + <? endforeach ?> +</ul> +<?= $theme->album_bottom() ?> + +<?= $theme->pager() ?> |
