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/themes/greydragon/views/photo.html.php
2009-12-03 00:00:03 -06:00

31 lines
971 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-item">
<?= $theme->photo_top() ?>
<div id="g-info">
<h1><?= html::purify($item->title) ?></h1>
<div class="g-hideitem"><?= bb2html(html::purify($item->description), 1) ?></div>
</div>
<? if (module::get_var("th_greydragon", "photonav_top")): ?>
<?= $theme->paginator() ?>
<? endif ?>
<div id="g-photo">
<?= $theme->resize_top($item) ?>
<? if (access::can("view_full", $item)): ?>
<a href="<?= $item->file_url() ?>" rel="shadowbox;player=img" title="<?= html::purify($item->title) ?>">
<? endif ?>
<?= $item->resize_img(array("id" => "g-photo-id-{$item->id}", "class" => "g-resize")) ?>
<? if (access::can("view_full", $item)): ?>
</a>
<? endif ?>
<?= $theme->resize_bottom($item) ?>
</div>
<? if (module::get_var("th_greydragon", "photonav_bottom")): ?>
<?= $theme->paginator() ?>
<? endif ?>
<?= $theme->photo_bottom() ?>
</div>