]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/photo_album.tpl
Remove uses of HTML escaping in Smarty templates
[friendica.git] / view / theme / frio / templates / photo_album.tpl
1 <div class="generic-page-wrapper">
2         <div class="pull-left">
3                 <h3 id="photo-album-title">{{$album}}</h3>
4         </div>
5
6         <div class="photo-album-actions pull-right">
7                 {{if $can_post}}
8                 <a class="photos-upload-link page-action faded-icon" href="{{$upload.1}}" title="{{$upload.0}}" data-toggle="tooltip">
9                         <i class="fa fa-plus"></i>
10                 </a>
11                 {{/if}}
12
13                 {{if $edit}}
14                 <span class="icon-padding"> </span>
15                 <button id="album-edit-link" class="btn-link page-action faded-icon" type="button" data-modal-url="{{$edit.1}}" title="{{$edit.0}}" data-toggle="tooltip">
16                         <i class="fa fa-pencil"></i>
17                 </button>
18                 {{/if}}
19
20                 {{if ! $noorder}}
21                 <span class="icon-padding"> </span>
22                 <a class="photos-order-link page-action faded-icon" href="{{$order.1}}" title="{{$order.0}}" data-toggle="tooltip">
23                         {{if $order.2 == "newest"}}
24                         <i class="fa fa-sort-numeric-desc"></i>
25                         {{else}}
26                         <i class="fa fa-sort-numeric-asc"></i>
27                         {{/if}}
28                 </a>
29                 {{/if}}
30         </div>
31         <div class="clear"></div>
32
33         <div class="photo-album-wrapper" id="photo-album-contents">
34                 {{foreach $photos as $photo}}
35                         {{include file="photo_top.tpl"}}
36                 {{/foreach}}
37         </div>
38         <div class="photo-album-end"></div>
39
40         {{$paginate}}
41 </div>
42
43 <script type="text/javascript">$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>