aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photos_recent.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/photos_recent.tpl')
-rwxr-xr-xview/tpl/photos_recent.tpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl
new file mode 100755
index 000000000..8fe631ca6
--- /dev/null
+++ b/view/tpl/photos_recent.tpl
@@ -0,0 +1,23 @@
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <div class="pull-right">
+ {{if $can_post}}
+ <button class="btn btn-sm btn-success acl-form-trigger" title="{{$usage}}" onclick="openClose('photo-upload-form');" data-form_id="photos-upload-form"><i class="fa fa-arrow-circle-o-up"></i>&nbsp;{{$upload.0}}</button>
+ {{/if}}
+ </div>
+ <h2>{{$title}}</h2>
+ <div class="clear"></div>
+ </div>
+ {{$upload_form}}
+ <div class="section-content-wrapper-np">
+ <div id="photo-album-contents-{{$album_id}}">
+ {{foreach $photos as $photo}}
+ {{include file="photo_top.tpl"}}
+ {{/foreach}}
+ <div id="page-end"></div>
+ </div>
+ </div>
+</div>
+<div class="photos-end"></div>
+<script>$(document).ready(function() { loadingPage = false; justifyPhotos('photo-album-contents-{{$album_id}}'); });</script>
+<div id="page-spinner"></div>