summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorUwe.Tews <uwe.tews@localhost>2009-09-19 13:22:32 +0000
committerUwe.Tews <uwe.tews@localhost>2009-09-19 13:22:32 +0000
commit0e68cdd9d2f4ecc284742b8809f2b9f1a0513eae (patch)
treef6a556035ae0475d28f9cfb8bf3dd11028208a5f /demo
parent1c30387c96979c677d78248e02922570a58d01c9 (diff)
downloadsmarty-0e68cdd9d2f4ecc284742b8809f2b9f1a0513eae.tar.gz
smarty-0e68cdd9d2f4ecc284742b8809f2b9f1a0513eae.tar.bz2
smarty-0e68cdd9d2f4ecc284742b8809f2b9f1a0513eae.zip
- 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
Diffstat (limited to 'demo')
-rw-r--r--demo/templates/index_view.php2
1 files changed, 1 insertions, 1 deletions
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 <?=$foo?>
<?=$foo->trim()->escape('html')?>
<br>Test objects
<?=$person->setName('Paul')->setAge(39)->introduce()->trim()->truncate(10)?>
-<br>Arrays
+<br>Test Arrays
<?=$array['a']['aa']->truncate(5)?><?=$array['b']?>
<br>Function
<?=$_f->trim($array['a']['aa'])->truncate(10)?>