]> git.mxchange.org Git - friendica.git/blob - view/templates/photo_album.tpl
5416066cf084040de2c83e2e8d84f9d310449d67
[friendica.git] / view / templates / photo_album.tpl
1 <h3 id="photo-album-title">{{$album}}</h3>
2
3 {{if $edit}}
4 <div id="album-edit-link"><a href="{{$edit.1}}" title="{{$edit.0}}">{{$edit.0}}</a></div>
5 {{/if}}
6 <div class="photos-upload-link" ><a href="{{$order.1}}" title="{{$order.0}}">{{$order.0}}</a></div>
7 {{if $can_post}}
8 <div class="photos-upload-link" ><a href="{{$upload.1}}">{{$upload.0}}</a></div>
9 {{/if}}
10
11 {{foreach $photos as $photo}}
12 <div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$id}}">
13         <a href="{{$photo.link}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$photo.title}}">
14                 <img src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.title}}" class="photo-album-photo lframe resize{{$twist}}" id="photo-album-photo-{{$id}}" />
15                 <p class='caption'>{{$photo.desc}}</p>          
16         </a>
17 </div>
18 <div class="photo-album-image-wrapper-end"></div>
19 {{/foreach}}
20
21 {{$paginate}}