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/event.tpl | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) mode change 100644 => 100755 view/tpl/event.tpl (limited to 'view/tpl/event.tpl') diff --git a/view/tpl/event.tpl b/view/tpl/event.tpl old mode 100644 new mode 100755 index f1150c158..76c9433fd --- a/view/tpl/event.tpl +++ b/view/tpl/event.tpl @@ -1,10 +1,15 @@ -{{ for $events as $event }} +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +{{foreach $events as $event}}
- {{ if $event.item.author.xchan_name }}$event.item.author.xchan_name{{ endif }} - $event.html - {{ if $event.item.plink }}{{ endif }} - {{ if $event.edit }}{{ endif }} + {{if $event.item.author.xchan_name}}{{$event.item.author.xchan_name}}{{/if}} + {{$event.html}} + {{if $event.item.plink}}{{/if}} + {{if $event.edit}}{{/if}}
-{{ endfor }} +{{/foreach}} -- cgit v1.2.3