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 --- util/precompile_smarty3.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 util/precompile_smarty3.php (limited to 'util') diff --git a/util/precompile_smarty3.php b/util/precompile_smarty3.php new file mode 100755 index 000000000..65cb760ef --- /dev/null +++ b/util/precompile_smarty3.php @@ -0,0 +1,27 @@ +setTemplateDir($folders); + +$s->setCompileDir('view/tpl/smarty3/compiled/'); +$s->setConfigDir('view/tpl/smarty3/config/'); +$s->setCacheDir('view/tpl/smarty3/cache/'); + +$s->left_delimiter = "{{"; +$s->right_delimiter = "}}"; + +$s->compileAllTemplates('.tpl',true); \ No newline at end of file -- cgit v1.2.3