aboutsummaryrefslogtreecommitdiff
path: root/templates/albumviewer.tmpl
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2012-04-06 23:26:54 +0100
committerSimon McVittie <smcv@debian.org>2014-07-11 22:09:47 +0100
commit7cc54e7f347c95733452ebfc22f33031f96854ca (patch)
tree1c1a54b0241b4557cf0e8f4fee180458b1def15c /templates/albumviewer.tmpl
parent3f4a93574071c004fc332a68b2cac1f70de7f940 (diff)
downloadikiwiki-7cc54e7f347c95733452ebfc22f33031f96854ca.tar
ikiwiki-7cc54e7f347c95733452ebfc22f33031f96854ca.tar.gz
Album plugin v4
Diffstat (limited to 'templates/albumviewer.tmpl')
-rw-r--r--templates/albumviewer.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/albumviewer.tmpl b/templates/albumviewer.tmpl
new file mode 100644
index 000000000..aeb0abe4f
--- /dev/null
+++ b/templates/albumviewer.tmpl
@@ -0,0 +1,16 @@
+<div class="album-viewer">
+ <div id="album-img">
+ <TMPL_VAR NAME="PREV">
+
+ <TMPL_IF NEXT>
+ <TMPL_VAR NAME="NEXT">
+ <TMPL_ELSE>
+ <div class="album-finish">
+ <a href="<TMPL_VAR NAME=ALBUMURL>"><span class="album-arrow">↑</span></a>
+ </div>
+
+ </TMPL_IF>
+
+ <TMPL_VAR NAME="IMG">
+ </div>
+</div>