1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/3.0/obsolete/web_client/application/views/album_detail.html.php

21 lines
660 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<script>
var parent_path = "<?= $parent_path ?>";
var current_path = "<?= $resource->path ?>";
var resource_type = "album";
</script>
<ul id="wc-thumb-grid" class="ui-helper-clearfix">
<? foreach ($resource->children as $child): ?>
<li class="wc-thumb-grid-cell" ref="<?= $child->path ?>">
<a class="wc-child-link wc-image-block" href="#">
<? if ($child->has_thumb): ?>
<img src="<?= $child->thumb_url ?>" title="<?= $child->title ?>" />
<? else: ?>
<span><?= $child->title ?></span>
<? endif ?>
</a>
</li>
<? endforeach ?>
</ul>