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/install_db.tpl | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) mode change 100644 => 100755 view/tpl/install_db.tpl (limited to 'view/tpl/install_db.tpl') diff --git a/view/tpl/install_db.tpl b/view/tpl/install_db.tpl old mode 100644 new mode 100755 index dd8ba1302..fe8aee85b --- a/view/tpl/install_db.tpl +++ b/view/tpl/install_db.tpl @@ -1,30 +1,35 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} -

$title

-

$pass

+

{{$title}}

+

{{$pass}}

-$info_01
-$info_02
-$info_03 +{{$info_01}}
+{{$info_02}}
+{{$info_03}}

-{{ if $status }} -

$status

-{{ endif }} +{{if $status}} +

{{$status}}

+{{/if}} -
+ - + -{{ inc field_input.tpl with $field=$dbhost }}{{endinc}} -{{ inc field_input.tpl with $field=$dbuser }}{{endinc}} -{{ inc field_password.tpl with $field=$dbpass }}{{endinc}} -{{ inc field_input.tpl with $field=$dbdata }}{{endinc}} +{{include file="field_input.tpl" field=$dbhost}} +{{include file="field_input.tpl" field=$dbuser}} +{{include file="field_password.tpl" field=$dbpass}} +{{include file="field_input.tpl" field=$dbdata}} - +
-- cgit v1.2.3