From 5e1980becf69a4c65489bed6f94fa730ec8ef4bf Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Wed, 8 May 2013 04:23:17 -0400 Subject: remove "internal" templates, use "tpl/" folder for smarty3 templates, move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates --- view/tpl/photos_recent.tpl | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) mode change 100644 => 100755 view/tpl/photos_recent.tpl (limited to 'view/tpl/photos_recent.tpl') diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl old mode 100644 new mode 100755 index 1df78cb7b..cb2411df3 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -1,11 +1,16 @@ -

$title

-{{ if $can_post }} -$upload.0 -{{ endif }} +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +

{{$title}}

+{{if $can_post}} +{{$upload.0}} +{{/if}}
-{{ for $photos as $photo }} - {{ inc photo_top.tpl }}{{ endinc }} -{{ endfor }} +{{foreach $photos as $photo}} + {{include file="photo_top.tpl"}} +{{/foreach}}
-- cgit v1.2.3