summaryrefslogtreecommitdiff
path: root/themes/default/views/dynamic.html.php
blob: 2d122e69b9951b0768e5dccb59ba51dfe3a1c7fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gAlbumHeader">
  <div id="gAlbumHeaderButtons">
    <?= $theme->dynamic_top() ?>
  </div>
  <h1><?= p::clean($title) ?></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><?= p::purify($child->title) ?></h2>
    <?= $theme->thumb_bottom($child) ?>
    <ul class="gMetadata">
      <?= $theme->thumb_info($child) ?>
    </ul>
  </li>
  <? endforeach ?>
</ul>
<?= $theme->dynamic_bottom() ?>

<?= $theme->pager() ?>