Commit Graph

36 Commits

Author SHA1 Message Date
Uwe.Tews@googlemail.com
425091a19f - fixed spelling, PHPDoc , minor errors, code cleanup 2014-06-06 02:40:04 +00:00
Uwe.Tews@googlemail.com
8342cf45f3 - bugfix a variable file name at {extends} tag did fail (forum topic 24618) 2013-10-20 15:27:35 +00:00
Uwe.Tews@googlemail.com
51453d196b - bugfix variable file names at {extends} had been disbabled by mistake with the rewrite of
template inheritance of 24.08.2013   (forum topic 24585)
2013-10-04 08:47:46 +00:00
Uwe.Tews@googlemail.com
98c1dd29cd - bugfix and enhancement
Because several recent problems with template inheritance the {block} tag compiler has been rewriten
   - Error messages shown now the correct child template file and line number
   - The compiler could fail on some larger UTF-8 text block (forum topic 24455}
   - The {strip} tag can now be placed outside {block} tags in child templates (forum topic 24289}
- change SmartyException::$escape  is now false by default
- change PHP traceback has been remove for SmartyException and SmartyCompilerException
2013-08-24 18:46:31 +00:00
Uwe.Tews@googlemail.com
00ccae8857 - update for PHP 5.4 compatibility
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +00:00
uwe.tews@googlemail.com
2f83a70627 - bugfix compilation did fail when a prefilter did modify an {extends} tag (Forum Topic 23966) 2013-01-09 00:05:07 +00:00
uwe.tews@googlemail.com
b70b06aa20 - bugfix $auto_literal = false did not work with { block} tags in child templates
(problem was reintroduced after fix in 3.1.7)(Forum Topic 20581)
2012-08-21 21:54:30 +00:00
uwe.tews@googlemail.com
d6abd3155d - bugfix template inheritace did fail if mbstring.func_overload != 0 (issue 70) (Forum Topic 20680) 2011-12-22 19:37:44 +00:00
rodneyrehm
aff7c6a0ab - improvement replaced most in_array() calls by more efficient isset() on array_flip()ed haystacks
- added notes on possible performance optimization/problem with Smarty_Security
2011-10-01 18:10:48 +00:00
uwe.tews@googlemail.com
29a7600b74 - bugfix removed debug echo output while compiling template inheritance 2011-09-19 23:58:52 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
44dc14891d - bugfix allow only fixed string as file attribute at {extends} tag 2011-04-21 23:11:24 +00:00
uwe.tews@googlemail.com
c0130d5d34 - added error message for illegal variable file attributes at {extends...} tags 2010-11-22 22:03:47 +00:00
uwe.tews@googlemail.com
8e4cd21b3d revert change of 19/11/2010 - bugfix on template inheritance. prefilter did not run over child blocks
It was no error
2010-11-20 15:24:32 +00:00
uwe.tews@googlemail.com
1c9f015135 - bugfix on block plugins with modifiers
- bugfix on template inheritance. prefilter did not run over child blocks
2010-11-20 00:00:24 +00:00
uwe.tews@googlemail.com
f044178bad - major update including some API changes 2010-11-11 21:34:36 +00:00
uwe.tews@googlemail.com
cf42bcd242 - bugfix on template inheritance using nested eval or string resource in {extends} tags 2010-10-13 20:26:12 +00:00
uwe.tews@googlemail.com
7ec3cb453c - bugfix removed ambiguity between ternary and stream variable in template syntax
- bugfix use caching properties of template instead of smarty object when compiling child {block}
- bugfix {*block}...{/block*} did throw an exception in template inheritance
2010-10-13 15:44:03 +00:00
Uwe.Tews
550a416209 - allow multiple template inheritance branches starting in subtemplates 2010-09-08 17:40:00 +00:00
Uwe.Tews
96e3d9937a - fixed E_STRICT errors for uninitialized variables 2010-08-23 14:40:10 +00:00
monte.ohrt
21d507a5cb fix formatting 2010-08-17 15:39:51 +00:00
Uwe.Tews
b52cbe9adb - bugfix passing scope attributes in doublequoted strings did not work at {include} {assign} and {append} 2010-07-30 13:09:52 +00:00
Uwe.Tews
c83ef6792c - create exception on recursive {extends} calls
- fixed reported line number at "unexpected closing tag " exception
- bugfix on escape:'mail' modifier
- drop exception if 'item' variable is equal 'from' variable in {foreach} tag
2010-07-06 20:00:41 +00:00
Uwe.Tews
0920b383c6 - bugfix on template inheritance for tag names starting with "block"
- bugfix on {function} tag with name attribute in doublequoted strings
2010-04-30 18:11:34 +00:00
Uwe.Tews
6d2fb922e9 - bugfix for multiple {/block} tags on same line 2010-03-19 15:45:32 +00:00
Uwe.Tews
950c3a7307 2010-02-17 21:30:36 +00:00
Uwe.Tews
78c2e92f19 - bugfix on nested {block} tags
- changed Smarty special variable $smarty.parent to $smarty.block.parent
2010-02-12 15:56:17 +00:00
Uwe.Tews
99ab6e96a5 - added support of nested {bock} tags 2010-02-12 01:14:34 +00:00
Uwe.Tews
1227de42cc - bugfix for custom delimiter at extends resource and {extends} tag 2010-01-06 18:48:50 +00:00
Uwe.Tews
ceb4cb75c7 - bugfix for custom delimiter at extends resource and {extends} tag 2010-01-06 17:31:59 +00:00
Uwe.Tews
d1969d6f56 - use sha1() for filepath encoding
- updates on nocache_hash handling
2009-12-29 20:12:11 +00:00
Uwe.Tews
c5f8ceb5e9 - fix short append/prepend attributes in {block} tags 2009-12-12 10:50:40 +00:00
Uwe.Tews
91da0aa7fe - template inheritance: child templates can now call functions defined by the {function} tag in the parent template 2009-12-03 19:49:17 +00:00
Uwe.Tews
2c23dccf3b - use $template_class property for template class name when compiling {include},{eval} and {extends} tags 2009-12-01 22:24:31 +00:00
Uwe.Tews
89e53f6372 - allow {function} tags within {block} tags 2009-11-30 19:56:17 +00:00
Uwe.Tews
1470251f18 - renamed extend tag and resource to extens: {extends file='foo.tol'} , $smarty->display('extends:foo.tpl|bar.tpl); 2009-11-17 19:03:06 +00:00