diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-22 21:59:41 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-22 21:59:41 +0000 |
commit | 1b76def26fbfc4ef3f0fcb2df210d916b972628b (patch) | |
tree | 78d12d06e6cc8f5cd3897349b1a4408a4aba0a6a /themes | |
parent | 35cfbfdef457d7d330c5a3839baea250a563af67 (diff) |
Create thumbnail insertion points (top/bottom/info) and move
the generic item info into the info module.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/views/album.html.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index f4869479..c56aed22 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -12,6 +12,7 @@ <? $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() ?>" @@ -19,11 +20,9 @@ height="<?= $child->thumbnail_height ?>" /> </a> <h2><?= $child->title_edit ?></h2> + <?= $theme->thumbnail_bottom($child) ?> <ul class="gMetadata"> - <li>Views: 321</li> - <? if ($child->owner): ?> - <li><?= _("By: ") ?><a href="#"><?= $child->owner->name ?></a></li> - <? endif ?> + <?= $theme->thumbnail_info($child) ?> </ul> </li> <? endforeach ?> |