diff options
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rwxr-xr-x | view/tpl/photo_albums.tpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl new file mode 100755 index 000000000..7ff4a8cc0 --- /dev/null +++ b/view/tpl/photo_albums.tpl @@ -0,0 +1,15 @@ +<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}} +{{if $al.text}} +<li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}">{{$al.text}}</a> ({{$al.total}})</li> +{{/if}} +{{/foreach}} +</ul> +{{/if}} +{{if $upload}} +<div id="photo-albums-upload-link"><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></div> +{{/if}} +</div> |