mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-13 16:09:19 -04:00
creating Dynamic Albums. This name change reflects the usage better and allows multiple dynamic albums (including tags) to use the same page template.
30 lines
865 B
PHP
30 lines
865 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<div id="gAlbumHeader">
|
|
<div id="gAlbumHeaderButtons">
|
|
<?= $theme->dynamic_top() ?>
|
|
</div>
|
|
<h1><?= $tag->name ?></h1>
|
|
</div>
|
|
|
|
<ul id="gAlbumGrid">
|
|
<? foreach ($children as $i => $child): ?>
|
|
<li class="gItem <?= $child->is_album() ? "gAlbum" : "" ?>">
|
|
<?= $theme->thumb_top($child) ?>
|
|
<a href="<?= $child->url() ?>">
|
|
<img id="gPhotoId-<?= $child->id ?>" class="gThumbnail"
|
|
alt="photo" src="<?= $child->thumb_url() ?>"
|
|
width="<?= $child->thumb_width ?>"
|
|
height="<?= $child->thumb_height ?>" />
|
|
</a>
|
|
<h2><?= $child->title ?></h2>
|
|
<?= $theme->thumb_bottom($child) ?>
|
|
<ul class="gMetadata">
|
|
<?= $theme->thumb_info($child) ?>
|
|
</ul>
|
|
</li>
|
|
<? endforeach ?>
|
|
</ul>
|
|
<?= $theme->dynamic_bottom() ?>
|
|
|
|
<?= $theme->pager() ?>
|