Skip to content

Commit

Permalink
- bugfix/enhancement {capture} allow variable as capture block name i…
Browse files Browse the repository at this point in the history
…n Smarty special variable

    like $smarty.capture.$foo #478 #481
  • Loading branch information
uwetews committed Aug 25, 2018
1 parent 8e09f97 commit a1f6720
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion NEW_FEATURES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

This file contains a brief description of new features which have been added to Smarty 3.1

Smarty 3.1.32 New tags for inheritance parent and child
Smarty 3.1.33-dev
Variable capture name in Smarty special variable
================================================
{$smarty.capture.$foo} can now be used to access the content of a named
capture block

Smarty 3.1.32
New tags for inheritance parent and child
=========================================
{parent} == {$smarty.block.parent}
{child} == {$smarty.block.child}
Expand Down

0 comments on commit a1f6720

Please sign in to comment.