Files
gallery3/themes/default/views/album.html.php
Bharat Mediratta e8f1ff580c Add a new quick-edit mode for editing photos when viewing albums.
Implement image rotation this way.
2009-01-03 05:36:16 +00:00

34 lines
1.0 KiB
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<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() ?>">
<img class="gThumbnail"
src="<?= $child->thumb_url() ?>"
alt="<?= $child->title ?>"
width="<?= $child->thumb_width ?>"
height="<?= $child->thumb_height ?>" />
</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() ?>