summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.html.php
blob: 9af66c354eb8350505faa6e631fe772f995900a6 (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
<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gItemHeader">
  <?= $theme->photo_top() ?>
  <h1><?= $item->title ?></h1>
</div>

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

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

<? if ($previous_item): ?>
<a href="<?= $previous_item->url() ?>"><?= _("previous") ?></a>
<? endif ?>

<?= sprintf(_("Viewing photo %d of %d"), $position, $sibling_count) ?>

<? if ($next_item): ?>
<a href="<?= $next_item->url() ?>"><?= _("next") ?></a>
<? endif ?>