blob: f4869479152709aee77a9e165884f34db82b7404 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gAlbumHeader">
<h1><?= $item->title_edit ?></h1>
<span class="gUnderState"><?= $item->description_edit ?></span>
<?= $theme->album_top() ?>
</div>
<ul id="gAlbumGrid">
<? foreach ($children as $i => $child): ?>
<? $album_class = ""; ?>
<? if ($child->is_album()): ?>
<? $album_class = "gAlbum "; ?>
<? endif ?>
<li class="gItem <?= $album_class ?>">
<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>
<ul class="gMetadata">
<li>Views: 321</li>
<? if ($child->owner): ?>
<li><?= _("By: ") ?><a href="#"><?= $child->owner->name ?></a></li>
<? endif ?>
</ul>
</li>
<? endforeach ?>
<?= $theme->album_bottom() ?>
</ul>
<?= $theme->pager() ?>
|