diff options
author | friendica <info@friendica.com> | 2013-01-26 02:24:07 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-26 02:24:07 -0800 |
commit | 91126d8dd33bdfa86ab1013561833b0c3c224a14 (patch) | |
tree | 6f8b1a86dccd7f753015270156ddf2b89614f1ea /view/tpl | |
parent | 70aa8421b37a6ad7318172ef515bbb56e2d33917 (diff) | |
download | volse-hubzilla-91126d8dd33bdfa86ab1013561833b0c3c224a14.tar.gz volse-hubzilla-91126d8dd33bdfa86ab1013561833b0c3c224a14.tar.bz2 volse-hubzilla-91126d8dd33bdfa86ab1013561833b0c3c224a14.zip |
more photo backend stuff
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/photo_albums.tpl | 13 | ||||
-rw-r--r-- | view/tpl/smarty3/photo_albums.tpl | 18 |
2 files changed, 31 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> 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> |