]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/photos_recent.tpl
fix scroll position in stream while ajax update
[friendica.git] / view / theme / frio / templates / photos_recent.tpl
index c8769c9ef50660b3739f380795cce8efb786a48f..894121fab0d7d98fc5785ebc5f6eea0746936ce6 100644 (file)
@@ -1,14 +1,20 @@
 
-<h3>{{$title}}</h3>
-{{if $can_post}}
-<a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
-{{/if}}
-
-<div id="photo-album-contents" class="photos">
-{{foreach $photos as $photo}}
-       {{include file="photo_top.tpl"}}
-{{/foreach}}
+<div class="generic-page-wrapper">
+
+       <h3>{{$title}}</h3>
+
+       {{if $can_post}}
+       <a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
+       {{/if}}
+
+       <div id="photo-album-contents" class="photos">
+       {{foreach $photos as $photo}}
+               {{include file="photo_top.tpl"}}
+       {{/foreach}}
+       </div>
+       <div class="photos-end"></div>
+
+       {{$paginate}}
 </div>
-<div class="photos-end"></div>
 
-<script>$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>
+<script type="text/javascript">$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>