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/conv.tpl | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) mode change 100644 => 100755 view/tpl/conv.tpl (limited to 'view/tpl/conv.tpl') diff --git a/view/tpl/conv.tpl b/view/tpl/conv.tpl old mode 100644 new mode 100755 index b7222f154..c91ab635a --- a/view/tpl/conv.tpl +++ b/view/tpl/conv.tpl @@ -1,17 +1,22 @@ -{{ for $threads as $thread }} -
- {{ for $thread.items as $item }} +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +{{foreach $threads as $thread}} +
+ {{foreach $thread.items as $item}} {{if $item.comment_firstcollapsed}}
- $thread.num_comments $thread.hide_text + {{$thread.num_comments}} {{$thread.hide_text}}
- {{endif}} + {{/if}} - {{ inc $item.template }}{{ endinc }} + {{include file="{{$item.template}}"}} - {{ endfor }} + {{/foreach}}
-{{ endfor }} +{{/foreach}} -- cgit v1.2.3