diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
commit | 5e1980becf69a4c65489bed6f94fa730ec8ef4bf (patch) | |
tree | 2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/photos_recent.tpl | |
parent | c753fa19d289e936131aad706cf31bcfe111b4c1 (diff) | |
download | volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.gz volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.bz2 volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.zip |
remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
Diffstat (limited to 'view/tpl/photos_recent.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/photos_recent.tpl | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index 1df78cb7b..cb2411df3 100644..100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -1,11 +1,16 @@ -<h3>$title</h3> -{{ if $can_post }} -<a id="photo-top-upload-link" href="$upload.1">$upload.0</a> -{{ endif }} +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +<h3>{{$title}}</h3> +{{if $can_post}} +<a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a> +{{/if}} <div class="photos"> -{{ for $photos as $photo }} - {{ inc photo_top.tpl }}{{ endinc }} -{{ endfor }} +{{foreach $photos as $photo}} + {{include file="photo_top.tpl"}} +{{/foreach}} </div> <div class="photos-end"></div> |