diff options
author | plegall <plg@piwigo.org> | 2015-12-15 15:24:01 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2015-12-15 15:24:01 +0100 |
commit | 3282ddbe2ea305edbb0b3ae84b6860c0d90ab072 (patch) | |
tree | 6ba00ec1ae9242e4784fd37eae776ad34de183a3 /include/smarty/INHERITANCE_RELEASE_NOTES.txt | |
parent | acbdd756cd2a8772b4d0ebfc3ede86e71c6a495a (diff) |
update Smarty to official version 3.1.28
Diffstat (limited to 'include/smarty/INHERITANCE_RELEASE_NOTES.txt')
-rw-r--r-- | include/smarty/INHERITANCE_RELEASE_NOTES.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/smarty/INHERITANCE_RELEASE_NOTES.txt b/include/smarty/INHERITANCE_RELEASE_NOTES.txt index 8568a35c8..8b2c64a1b 100644 --- a/include/smarty/INHERITANCE_RELEASE_NOTES.txt +++ b/include/smarty/INHERITANCE_RELEASE_NOTES.txt @@ -9,23 +9,23 @@ This does enable some new features: Any code outside root {block} tags in child templates is now executed but any output will be ignored. - {extends 'foo.tpl} + {extends 'foo.tpl'} {$bar = 'on'} // assigns variable $bar seen in parent templates {block 'buh'}{/block} - {extends 'foo.tpl} + {extends 'foo.tpl'} {$bar} // the output of variable bar is ignored {block 'buh'}{/block} {block} tags can be dynamically en/disabled by conditions. - {block 'root} + {block 'root'} {if $foo} - {block 'v1} + {block 'v1'} .... {/block} {else} - {block 'v1} + {block 'v1'} .... {/block} {/if} |