From: Andrey Kutejko Date: Sun, 6 Oct 2013 15:58:13 +0000 (+0300) Subject: Shortcuts: {openbrace} == {literal}{{/literal}, {closebrace} == {literal}}{/literal}. X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=ecb0223b97848beb7aa5841934de45b9c97bfd9f;p=ipf-template.git Shortcuts: {openbrace} == {literal}{{/literal}, {closebrace} == {literal}}{/literal}. --- diff --git a/lib/compiler.php b/lib/compiler.php index 654e7e7..47dac3c 100644 --- a/lib/compiler.php +++ b/lib/compiler.php @@ -294,6 +294,12 @@ class IPF_Template_Compiler case '/literal': trigger_error('Start tag of a block missing: literal', E_USER_ERROR); break; + case 'openbrace': + $res = '?>{}_extendBlocks[$args])) $res = '?>'.$this->_extendBlocks[$args].'