]> git.mxchange.org Git - friendica.git/blobdiff - view/photos_recent.tpl
simplify by making Smarty include directives behave like Friendica native ones
[friendica.git] / view / photos_recent.tpl
index b8cb924b791f9dfe4c5f153a2070f1c4d401cb24..7ae35402454184f5785951bbf02dac1c881b749f 100644 (file)
@@ -4,7 +4,8 @@
 {{ endif }}
 
 <div class="photos">
-{{ for $photos as $photo }}
-       {{ inc photo_top.tpl }}{{ endinc }}
+{{ for $photos as $ph }}
+       {{ inc photo_top.tpl with $photo=$ph }}{{ endinc }}
 {{ endfor }}
 </div>
+<div class="photos-end"></div>