mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-21 08:59:55 -04:00
28 lines
917 B
PHP
28 lines
917 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<div id="gItem">
|
|
<?= $theme->photo_top() ?>
|
|
|
|
<ul id="gPager">
|
|
<li><?= t("{{position}} of {{total}}", array("position" => $position, "total" => $sibling_count)) ?></li>
|
|
<? if ($previous_item): ?>
|
|
<li><span class="ui-icon ui-icon-seek-prev"></span><a href="<?= $previous_item->url() ?>"><?= t("previous") ?></a></li>
|
|
<? endif ?>
|
|
<? if ($next_item): ?>
|
|
<li><a href="<?= $next_item->url() ?>"><?= t("next") ?></a><span class="ui-icon ui-icon-seek-next"></span></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>
|