summaryrefslogtreecommitdiff
path: root/themes/wind/views/movie.html.php
diff options
context:
space:
mode:
authorjhilden <jakobhilden@gmail.com>2009-09-26 11:27:45 -0400
committerjhilden <jakobhilden@gmail.com>2009-09-26 11:27:45 -0400
commit21341d552f7e56341b29c020e1149d9c41182c84 (patch)
tree70502de8e6784d749b47b445838d8719f21af6bf /themes/wind/views/movie.html.php
parent4345e96d1db63c8488eb7a35cdc8e42987ba53f5 (diff)
parent0abd6f63bc8a1976a62bc4b57bbabe10d62b5c8d (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'themes/wind/views/movie.html.php')
-rw-r--r--themes/wind/views/movie.html.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/themes/wind/views/movie.html.php b/themes/wind/views/movie.html.php
new file mode 100644
index 00000000..910814dd
--- /dev/null
+++ b/themes/wind/views/movie.html.php
@@ -0,0 +1,37 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<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>
+
+
+ <?= $item->movie_img(array("class" => "gMovie", "id" => "gMovieId-{$item->id}")) ?>
+
+ <div id="gInfo">
+ <h1><?= html::purify($item->title) ?></h1>
+ <div><?= nl2br(html::purify($item->description)) ?></div>
+ </div>
+
+ <?= $theme->photo_bottom() ?>
+ <?= $theme->context_menu($item, "#gMovieId-{$item->id}") ?>
+</div>