mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-13 07:59:24 -04:00
31 lines
949 B
PHP
31 lines
949 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<? // @todo Set hover on AlbumGrid list items for guest users ?>
|
|
<div id="gInfo">
|
|
<?= $theme->album_top() ?>
|
|
<h1><?= $item->title ?></h1>
|
|
<div class="gDescription"><?= $item->description ?></div>
|
|
</div>
|
|
|
|
<ul id="gAlbumGrid">
|
|
<? foreach ($children as $i => $child): ?>
|
|
<? $item_class = "gPhoto"; ?>
|
|
<? if ($child->is_album()): ?>
|
|
<? $item_class = "gAlbum"; ?>
|
|
<? endif ?>
|
|
<li id="gItemId-<?= $child->id ?>" class="gItem <?= $item_class ?>">
|
|
<?= $theme->thumb_top($child) ?>
|
|
<a href="<?= $child->url() ?>">
|
|
<?= $child->thumb_tag(array("class" => "gThumbnail")) ?>
|
|
</a>
|
|
<?= $theme->thumb_bottom($child) ?>
|
|
<h2><a href="<?= $child->url() ?>"><?= $child->title ?></a></h2>
|
|
<ul class="gMetadata">
|
|
<?= $theme->thumb_info($child) ?>
|
|
</ul>
|
|
</li>
|
|
<? endforeach ?>
|
|
</ul>
|
|
<?= $theme->album_bottom() ?>
|
|
|
|
<?= $theme->pager() ?>
|