2009-01-01 00:23:29 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2009-02-13 03:21:19 +00:00
|
|
|
<? // @todo Set hover on AlbumGrid list items for guest users ?>
|
2009-01-01 22:54:35 +00:00
|
|
|
<div id="gInfo">
|
2008-12-13 23:02:16 +00:00
|
|
|
<?= $theme->album_top() ?>
|
2008-12-24 00:20:26 +00:00
|
|
|
<h1><?= $item->title ?></h1>
|
|
|
|
|
<div class="gDescription"><?= $item->description ?></div>
|
2008-11-07 08:53:42 +00:00
|
|
|
</div>
|
2008-11-04 05:02:37 +00:00
|
|
|
|
2008-11-07 08:53:42 +00:00
|
|
|
<ul id="gAlbumGrid">
|
2008-11-26 21:24:46 +00:00
|
|
|
<? foreach ($children as $i => $child): ?>
|
2009-01-01 22:54:35 +00:00
|
|
|
<? $item_class = "gPhoto"; ?>
|
|
|
|
|
<? if ($child->is_album()): ?>
|
|
|
|
|
<? $item_class = "gAlbum"; ?>
|
|
|
|
|
<? endif ?>
|
|
|
|
|
<li id="gItemId-<?= $child->id ?>" class="gItem <?= $item_class ?>">
|
2008-12-17 04:45:35 +00:00
|
|
|
<?= $theme->thumb_top($child) ?>
|
2008-12-31 07:13:34 +00:00
|
|
|
<a href="<?= $child->url() ?>">
|
2009-01-14 07:21:35 +00:00
|
|
|
<?= $child->thumb_tag(array("class" => "gThumbnail")) ?>
|
2008-11-07 08:53:42 +00:00
|
|
|
</a>
|
2008-12-17 04:45:35 +00:00
|
|
|
<?= $theme->thumb_bottom($child) ?>
|
2009-01-01 22:54:35 +00:00
|
|
|
<h2><a href="<?= $child->url() ?>"><?= $child->title ?></a></h2>
|
2008-11-07 08:53:42 +00:00
|
|
|
<ul class="gMetadata">
|
2008-12-17 04:45:35 +00:00
|
|
|
<?= $theme->thumb_info($child) ?>
|
2008-11-07 08:53:42 +00:00
|
|
|
</ul>
|
|
|
|
|
</li>
|
2008-11-06 07:20:06 +00:00
|
|
|
<? endforeach ?>
|
2008-11-07 08:53:42 +00:00
|
|
|
</ul>
|
2008-11-25 02:14:36 +00:00
|
|
|
<?= $theme->album_bottom() ?>
|
2008-11-07 08:53:42 +00:00
|
|
|
|
|
|
|
|
<?= $theme->pager() ?>
|