diff options
author | marijus <mario@mariovavti.com> | 2014-09-11 10:41:11 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-09-11 10:41:11 +0200 |
commit | 3caee72aee3d5008f954e3ccf1dc2b61fedf23d8 (patch) | |
tree | 311afb757625dcdb813bda529fb4eb86791e1701 /view/tpl | |
parent | 8835f646aeb6276987f11cc4799c3810802c3f1f (diff) | |
download | volse-hubzilla-3caee72aee3d5008f954e3ccf1dc2b61fedf23d8.tar.gz volse-hubzilla-3caee72aee3d5008f954e3ccf1dc2b61fedf23d8.tar.bz2 volse-hubzilla-3caee72aee3d5008f954e3ccf1dc2b61fedf23d8.zip |
another day another concept - hope this works better
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/photos_recent.tpl | 6 | ||||
-rwxr-xr-x | view/tpl/photosajax.tpl | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index 8eaa208b1..0f86a635d 100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -3,12 +3,14 @@ <a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a> {{/if}} -<div id="photo-album-contents"> +<div id="photo-album-contents-{{$page}}"> {{foreach $photos as $photo}} {{include file="photo_top.tpl"}} {{/foreach}} -<div id="page-end"></div> + </div> +<script>justifyPhotos({{$page}});</script> +<div id="page-end"></div> <div class="photos-end"></div> <script>$(document).ready(function() { loadingPage = false;});</script> <div id="page-spinner"></div> diff --git a/view/tpl/photosajax.tpl b/view/tpl/photosajax.tpl index a88682e8b..a9a9605d0 100755 --- a/view/tpl/photosajax.tpl +++ b/view/tpl/photosajax.tpl @@ -1,4 +1,7 @@ <!-- --> +<div id="photo-album-contents-{{$page}}"> {{foreach $photos as $photo}} {{include file="photo_top.tpl"}} {{/foreach}} +</div> +<script>justifyPhotos({{$page}});</script> |