diff options
Diffstat (limited to 'view/tpl/photo_album.tpl')
-rwxr-xr-x | view/tpl/photo_album.tpl | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index a63bff78c..5506b01f2 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -1,7 +1,28 @@ -<div class="photo-album-image-wrapper{{$twist}}" id="photo-album-image-wrapper-{{$id}}"> - <a href="{{$photolink}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$phototitle}}" rel="{{$rel}}"> - <img src="{{$imgsrc}}" alt="{{$imgalt}}" title="{{$phototitle}}" class="photo-album-photo lframe resize" id="photo-album-photo-{{$id}}" /> - <p class='caption'>{{$desc}}</p> - </a> +<div class="section-title-wrapper"> + <div class="pull-right"> + <a class="btn btn-default btn-xs" href="{{$order.1}}" title="{{$order.0}}"><i class="icon-sort"></i></a> + <div class="btn-group btn-group"> + {{if $album_edit.1}} + <i class="icon-pencil btn btn-default btn-xs" title="{{$album_edit.0}}" onclick="openClose('photo-album-edit-wrapper'); closeMenu('photo-upload-form');"></i> + {{/if}} + {{if $can_post}} + <button class="btn btn-xs btn-success btn-xs" title="{{$usage}}" onclick="openClose('photo-upload-form'); closeMenu('photo-album-edit-wrapper');"><i class="icon-upload"></i> {{$upload.0}}</button> + {{/if}} + </div> + </div> + + <h2>{{$album}}</h2> + + <div class="clear"></div> </div> -<div class="photo-album-image-wrapper-end"></div> +{{$upload_form}} +{{$album_edit.1}} +<div id="photo-album-contents" class="generic-content-wrapper"> + {{foreach $photos as $photo}} + {{include file="photo_top.tpl"}} + {{/foreach}} + <div id="page-end"></div> +</div> +<div class="photos-end"></div> +<script>$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script> +<div id="page-spinner"></div> |