]> git.mxchange.org Git - friendica.git/blob - view/templates/photo_album.tpl
Merge branch '2021.03-rc' into copyright-2021
[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 {{if $drop}}
7 <div id="album-drop-link"><a href="{{$drop.1}}" title="{{$drop.0}}">{{$drop.0}}</a></div>
8 {{/if}}
9 <div class="photos-upload-link" ><a href="{{$order.1}}" title="{{$order.0}}">{{$order.0}}</a></div>
10 {{if $can_post}}
11 <div class="photos-upload-link" ><a href="{{$upload.1}}">{{$upload.0}}</a></div>
12 {{/if}}
13
14 {{foreach $photos as $photo}}
15 <div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$photo.id}}">
16         <a href="{{$photo.link}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$photo.id}}" title="{{$photo.title}}">
17                 <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{{$photo.twist}}" id="photo-album-photo-{{$photo.id}}" />
18                 <p class='caption'>{{$photo.desc}}</p>          
19         </a>
20 </div>
21 <div class="photo-album-image-wrapper-end"></div>
22 {{/foreach}}
23
24 {{$paginate nofilter}}