aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_albums.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rw-r--r--view/tpl/photo_albums.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl
new file mode 100644
index 000000000..eccc3660a
--- /dev/null
+++ b/view/tpl/photo_albums.tpl
@@ -0,0 +1,13 @@
+<div id="side-bar-photos-albums" class="widget">
+<h3><a href="$baseurl/photos/$nick" title="$title" >$title</a></h3>
+{{ if $albums }}
+<ul>
+{{ for $albums as $al }}
+<li><a href="$baseurl/photos/$nick/$al.bin2hex">$al.album</a></li>
+{{ endfor }}
+</ul>
+{{ endif }}
+{{ if $upload }}
+<div id="photo-albums-upload-link"><a href="$baseurl/photos/$nick/upload" title="$upload">$upload</a></div>
+{{ endif }}
+</div>