summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.html.php
blob: 887b451c3ef21a2a48f4fd00cbb589d4899b85a2 (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
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gItem">
  <?= $theme->photo_top() ?>
  
  <ul id="gPager">
    <li><?= sprintf(_("%d of %d"), $position, $sibling_count) ?></li>
    <? if ($previous_item): ?>
    <li class="previous"><a href="<?= $previous_item->url() ?>"><?= _("previous") ?></a></li>
    <? endif ?>
    <? if ($next_item): ?>
    <li class="next"><a href="<?= $next_item->url() ?>"><?= _("next") ?></a></li>
    <? endif ?>
  </ul>

  <img id="gPhotoId-<?= $item->id ?>" 
      src="<?= $item->resize_url() ?>"
      alt="<?= $item->title ?>" 
      width="<?= $item->resize_width ?>"
      height="<?= $item->resize_height ?>" />

  <div id="gInfo">
    <h1><?= $item->title ?></h1>
    <div><?= $item->description ?></div>
  </div>

  <?= $theme->photo_bottom() ?>
</div>