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