aboutsummaryrefslogtreecommitdiffstats
path: root/view/photo_view.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-05-05 10:53:03 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-05-05 10:53:03 +0200
commitb3a5fccc9d4af4dc66ae8f0404817690a333c433 (patch)
treea3aed799306e1aa5d7830eeb7ca9c050e04a4268 /view/photo_view.tpl
parent2f83e134f9e6fba6f0491d33d3c56bc3d7b8c467 (diff)
downloadvolse-hubzilla-b3a5fccc9d4af4dc66ae8f0404817690a333c433.tar.gz
volse-hubzilla-b3a5fccc9d4af4dc66ae8f0404817690a333c433.tar.bz2
volse-hubzilla-b3a5fccc9d4af4dc66ae8f0404817690a333c433.zip
template for photo display
Diffstat (limited to 'view/photo_view.tpl')
-rw-r--r--view/photo_view.tpl37
1 files changed, 37 insertions, 0 deletions
diff --git a/view/photo_view.tpl b/view/photo_view.tpl
new file mode 100644
index 000000000..6287b0898
--- /dev/null
+++ b/view/photo_view.tpl
@@ -0,0 +1,37 @@
+<div id="live-display"></div>
+<h3><a href="$album.0">$album.1</a></h3>
+
+<div id="photo-edit-link-wrap">
+{{ if $tools }}
+<a id="photo-edit-link" href="$tools.edit.0">$tools.edit.1</a>
+-
+<a id="photo-toprofile-link" href="$tools.profile.0">$tools.profile.1</a>
+{{ endif }}
+{{ if $lock }} - <img src="images/lock_icon.gif" class="lockview" alt="$lock" onclick="lockview(event,'photo$id');" /> {{ endif }}
+</div>
+
+{{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0">$prevlink.1</a></div>{{ endif }}
+<div id="photo-photo"><a href="$photo.href" title="$photo.title"><img src="$photo.src" /></a></div>
+{{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }}
+<div id="photo-photo-end"></div>
+<div id="photo-caption" >$desc</div>
+{{ if $tags }}
+<div id="in-this-photo-text">$tags.0</div>
+<div id="in-this-photo">$tags.1</div>
+{{ endif }}
+{{ if $tags.2 }}<div id="tag-remove"><a href="$tags.2">$tags.3</a></div>{{ endif }}
+
+{{ if $edit }}$edit{{ endif }}
+
+{{ if $likebuttons }}
+<div id="photo-like-div">
+ $likebuttons
+ $like
+ $dislike
+</div>
+{{ endif }}
+
+$comments
+
+$paginate
+