diff options
Diffstat (limited to 'view/tpl/photo_albums.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/photo_albums.tpl | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl index a2e305df5..b74c73fd3 100644..100755 --- a/view/tpl/photo_albums.tpl +++ b/view/tpl/photo_albums.tpl @@ -1,13 +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 }} +<h3><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$title}}</a></h3> +{{if $albums}} <ul> -{{ for $albums as $al }} -<li><a href="$baseurl/photos/$nick/album/$al.bin2hex">$al.album</a></li> -{{ endfor }} +{{foreach $albums as $al}} +<li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}">{{$al.album}}</a></li> +{{/foreach}} </ul> -{{ endif }} -{{ if $upload }} -<div id="photo-albums-upload-link"><a href="$baseurl/photos/$nick/upload" title="$upload">$upload</a></div> -{{ endif }} +{{/if}} +{{if $upload}} +<div id="photo-albums-upload-link"><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></div> +{{/if}} </div> |