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/viewcontact_template.tpl | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) mode change 100644 => 100755 view/tpl/viewcontact_template.tpl (limited to 'view/tpl/viewcontact_template.tpl') diff --git a/view/tpl/viewcontact_template.tpl b/view/tpl/viewcontact_template.tpl old mode 100644 new mode 100755 index d6f01643e..a9837c7f9 --- a/view/tpl/viewcontact_template.tpl +++ b/view/tpl/viewcontact_template.tpl @@ -1,9 +1,14 @@ -

$title

+{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +

{{$title}}

-{{ for $contacts as $contact }} - {{ inc contact_template.tpl }}{{ endinc }} -{{ endfor }} +{{foreach $contacts as $contact}} + {{include file="contact_template.tpl"}} +{{/foreach}}
-$paginate +{{$paginate}} -- cgit v1.2.3