diff options
Diffstat (limited to 'tests/test_closure/test.tpl')
-rw-r--r-- | tests/test_closure/test.tpl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/test_closure/test.tpl b/tests/test_closure/test.tpl index c13bd5a..c84ed0a 100644 --- a/tests/test_closure/test.tpl +++ b/tests/test_closure/test.tpl @@ -1,8 +1,10 @@ -<ste:mktag name="initfoo"> +<ste:mktag name="inittag" mandatory="innername"> <ste:set var="x"><ste:tagcontent /></ste:set> - <ste:mktag name="foo"> + <ste:mktag name="$_tag_parameters[innername]"> <ste:calc>$x + <ste:tagcontent /></ste:calc> </ste:mktag> </ste:mktag> -<ste:initfoo>10</ste:initfoo> -<ste:foo>20</ste:foo>
\ No newline at end of file +<ste:inittag innername="foo">10</ste:inittag> +<ste:inittag innername="bar">20</ste:inittag> +<ste:foo>30</ste:foo> +<ste:bar>40</ste:bar>
\ No newline at end of file |