From 0e68cdd9d2f4ecc284742b8809f2b9f1a0513eae Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Sat, 19 Sep 2009 13:22:32 +0000 Subject: - replace internal "eval()" calls by "include" during rendering process - speed improvment for templates which have included subtemplates the compiled code of included templates is merged into the compiled code of the parent template - added logical operator "xor" for {if} tag - changed parameter ordering for Smarty2 BC fetch($template, $cache_id = null, $compile_id = null, $parent = null) display($template, $cache_id = null, $compile_id = null, $parent = null) createTemplate($template, $cache_id = null, $compile_id = null, $parent = null) - property resource_char_set is now replaced by constant SMARTY_RESOURCE_CHAR_SET - fixed handling of classes in registered blocks - speed improvement of lexer on text sections --- demo/templates/index_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demo') diff --git a/demo/templates/index_view.php b/demo/templates/index_view.php index 56f27386..ad760aa1 100644 --- a/demo/templates/index_view.php +++ b/demo/templates/index_view.php @@ -4,7 +4,7 @@ $foo is trim()->escape('html')?>
Test objects setName('Paul')->setAge(39)->introduce()->trim()->truncate(10)?> -
Arrays +
Test Arrays truncate(5)?>
Function trim($array['a']['aa'])->truncate(10)?> -- cgit v1.3