aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/photo_albums.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/smarty3/photo_albums.tpl')
-rw-r--r--view/tpl/smarty3/photo_albums.tpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/view/tpl/smarty3/photo_albums.tpl b/view/tpl/smarty3/photo_albums.tpl
new file mode 100644
index 000000000..8a31e030c
--- /dev/null
+++ b/view/tpl/smarty3/photo_albums.tpl
@@ -0,0 +1,18 @@
+{{*
+ * AUTOMATICALLY GENERATED TEMPLATE
+ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div id="side-bar-photos-albums" class="widget">
+<h3><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$title}}</a></h3>
+{{if $albums}}
+<ul>
+{{foreach $albums as $al}}
+<li><a href="{{$baseurl}}/photos/{{$nick}}/{{$al.bin2hex}}">{{$al.album}}</a></li>
+{{/foreach}}
+</ul>
+{{/if}}
+{{if $upload}}
+<div id="photo-albums-upload-link"><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></div>
+{{/if}}
+</div>