aboutsummaryrefslogtreecommitdiffstats
path: root/include/smarty/INHERITANCE_RELEASE_NOTES.txt
diff options
context:
space:
mode:
Diffstat (limited to 'include/smarty/INHERITANCE_RELEASE_NOTES.txt')
-rw-r--r--include/smarty/INHERITANCE_RELEASE_NOTES.txt10
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}