summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/views/photo.html.php')
-rw-r--r--themes/default/views/photo.html.php59
1 files changed, 0 insertions, 59 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
deleted file mode 100644
index b0096043..00000000
--- a/themes/default/views/photo.html.php
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php defined("SYSPATH") or die("No direct script access.") ?>
-
-<? if (access::can("view_full", $theme->item())): ?>
-<!-- Use javascript to show the full size as an overlay on the current page -->
-<script>
- $(document).ready(function() {
- $(".gFullSizeLink").click(function() {
- $.gallery_show_full_size(<?= html::js_string($theme->item()->file_url()) ?>, "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>");
- return false;
- });
- });
-</script>
-<? endif ?>
-
-<div id="gItem">
- <?= $theme->photo_top() ?>
-
- <ul class="gPager">
- <li>
- <? if ($previous_item): ?>
- <a href="<?= $previous_item->url() ?>" class="gButtonLink ui-icon-left ui-state-default ui-corner-all">
- <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("previous") ?></a>
- <? else: ?>
- <a class="gButtonLink ui-icon-left ui-state-disabled ui-corner-all">
- <span class="ui-icon ui-icon-triangle-1-w"></span><?= t("previous") ?></a>
- <? endif; ?>
- </li>
- <li class="gInfo"><?= t("%position of %total", array("position" => $position, "total" => $sibling_count)) ?></li>
- <li class="txtright">
- <? if ($next_item): ?>
- <a href="<?= $next_item->url() ?>" class="gButtonLink ui-icon-right ui-state-default ui-corner-all">
- <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a>
- <? else: ?>
- <a class="gButtonLink ui-icon-right ui-state-disabled ui-corner-all">
- <span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a>
- <? endif ?>
- </li>
- </ul>
-
- <div id="gPhoto">
- <?= $theme->resize_top($item) ?>
- <? if (access::can("view_full", $item)): ?>
- <a href="<?= $item->file_url() ?>" class="gFullSizeLink" title="<?= t("View full size")->for_html_attr() ?>">
- <? endif ?>
- <?= $item->resize_img(array("id" => "gPhotoId-{$item->id}", "class" => "gResize")) ?>
- <? if (access::can("view_full", $item)): ?>
- </a>
- <? endif ?>
- <?= $theme->resize_bottom($item) ?>
- <?= $theme->context_menu($item, "#gPhotoId-{$item->id}") ?>
- </div>
-
- <div id="gInfo">
- <h1><?= html::purify($item->title) ?></h1>
- <div><?= nl2br(html::purify($item->description)) ?></div>
- </div>
-
- <?= $theme->photo_bottom() ?>
-</div>