Uwe Tews
825ccc9f47
rename parse tree class names to Smarty_Internal_ParseTree....
2014-12-30 16:16:54 +01:00
Uwe Tews
bc13ebbc9b
-bugfix and enhancement on subtemplate {include} and template {function} tags.
...
* Calling a template which has a nocache section could fail if it was
called from a cached and a not cached subtemplate.
* Calling the same subtemplate cached and not cached with the
$smarty->merge_compiled_includes enabled could cause problems
* Many smaller related changes
2014-11-01 22:42:34 +01:00
Uwe.Tews@googlemail.com
2a311c5473
- bugfix existing child {block} tag must override parent {block} tag append / prepend setting (topic 25259)
2014-10-01 21:03:40 +00:00
Uwe.Tews@googlemail.com
68b83f591d
- bugfix template resource of inheritance blocks could get invalid if the default resource type is not 'file'(Issue 202)
2014-09-30 23:20:56 +00:00
Uwe.Tews@googlemail.com
425091a19f
- fixed spelling, PHPDoc , minor errors, code cleanup
2014-06-06 02:40:04 +00:00
Uwe.Tews@googlemail.com
668bc16717
- bugfix template inheritance fail when using custom resource after patch of 8.3.2014 (Issue 187)
2014-04-06 18:50:39 +00:00
Uwe.Tews@googlemail.com
af13907219
08.03.2014
...
- bugfix relative file path {include} within {block} of child templates did throw exception on first call (Issue 177)
2014-03-08 23:03:08 +00:00
Uwe.Tews@googlemail.com
7f88dcd31f
- bugfix {include} with {block} tag handling (forum topic 24599, 24594, 24682) (Issue 161)
...
Read 3.1.16_RELEASE_NOTES for more details
2013-12-15 15:19:01 +00:00
Uwe.Tews@googlemail.com
c8996a4085
- bugfix multiple {block}s with same name in parent did not work (forum topic 24631)
2013-10-29 00:40:14 +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
697696fef9
Source code reformatted
2013-07-27 07:05:26 +00:00
Uwe.Tews@googlemail.com
f83eba920d
- bugfix template inheritance nesting problem (forum topic 24387)
2013-07-26 13:50:44 +00:00
Uwe.Tews@googlemail.com
584886cb1c
- update code generated by PSR-2 standards fixer which introduced PHP 5.4 incompatibilities of 14.7.2013
2013-07-15 18:18:28 +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
f074a20ed5
- bugfix after the fix for Issue #130 compiler exceptions got double escaped (Forum Topic 24199)
2013-04-05 22:19:13 +00:00
Uwe.Tews@googlemail.com
58f2227cce
- bugfix post filter must not run when compiling inheritance child blocks (Forum Topic 24094)
2013-04-05 21:19:28 +00:00
uwe.tews@googlemail.com
6612fa6d8b
- bugfix Compile ID gets nulled when compiling child blocks (Issue #134 )
2013-02-28 19:23:04 +00:00
uwe.tews@googlemail.com
285a535346
- bugfix template inheritance could fail if nested {block} tags in childs did contain {$smarty.block.child} (Issue #127 )
...
- bugfix template inheritance could fail if {block} tags in childs did have similar name as used plugins (Issue #128 )
2013-01-09 23:05:09 +00:00
uwe.tews@googlemail.com
191a13b623
- bugfix template inheritance failed to compile with delimiters {/ and /} (Forum Topic 23008)
2012-09-14 14:42:15 +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
ab1cdc8d84
- bugfix {block.. hide} did not work as nested child (Forum Topic 22216)
2012-06-30 15:53:22 +00:00
uwe.tews@googlemail.com
9e5eed4733
- bugfix {nocache}{block}{plugin}... did produce wrong compiled code when caching is disabled (Forum Topic 21572, issue 95)
2012-05-02 17:19:33 +00:00
uwe.tews@googlemail.com
62f01f29e5
- bugfix template inheritance did set $merge_compiled_includes globally true
2012-03-12 19:29:10 +00:00
uwe.tews@googlemail.com
d0ad3df670
- bugfix {include} could result in a fatal error if used in appended or prepended nested {block} tags
...
(reported by mh and Issue 83)
2012-02-19 15:48:05 +00:00
uwe.tews@googlemail.com
b38be6edaa
- bugfix {block foo nocache} did not load plugins within child {block} in nocache mode (Forum Topic 20753)
2012-01-02 20:49:26 +00:00
uwe.tews@googlemail.com
04c1b32a81
adjust formatting
2011-12-20 17:50:15 +00:00
uwe.tews@googlemail.com
ea567850b0
- bugfix template inheritance: {$smarty.block.child} in nested child {block} tags did not return
...
content after {$smarty.block.child} (Forum Topic 20564)
2011-12-20 15:52:59 +00:00
uwe.tews@googlemail.com
36ec5acb0d
- bugfix {capture} tags around recursive {include} calls did throw exception (Forum Topic 20549)
...
- bugfix $auto_literal = false did not work with { block} tags in child templates (Forum Topic 20581)
- bugfix template inheritance: do not include code of {include} in overloaded {block} into compiled
parent template (Issue 66}
- bugfix template inheritance: {$smarty.block.child} in nested child {block} tags did not return expected
result (Forum Topic 20564)
2011-12-09 22:05:16 +00:00
uwe.tews@googlemail.com
50a8f805dd
- remove unused properties
...
- optimization use real function instead anonymous function for preg_replace_callback
- bugfix a relative {include} in child template blocks failed
- bugfix direct setting of $template_dir, $config_dir, $plugins_dir in __construct() of an
extended Smarty class created problems
2011-09-23 20:21:16 +00:00
uwe.tews@googlemail.com
bff28f38a4
- bugfix {include} did not work inside nested {block} tags
2011-09-20 17:27:45 +00:00
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
1757b274d6
- bugfix on error message in smarty_internal_compile_block.php
...
- bugfix mb handling in strip modifier
- bugfix for Smarty2 style registered compiler function on unnamed attribute passing like {tag $foo $bar}
2011-03-28 22:18:39 +00:00
uwe.tews@googlemail.com
65e823610d
- bugfix when using {$smarty.block.child} and name of {block} was in double quoted string
...
- bugfix updateParentVariables() was called twice when leaving {include} processing
2011-01-10 17:10:35 +00:00
uwe.tews@googlemail.com
cf50ede71a
- bugfix nested block tags in template inheritance child templates did not work correctly
...
- bugfix {$smarty.current_dir} in child template did not point to dir of child template
2010-12-11 13:27:14 +00:00
uwe.tews@googlemail.com
6b9921baae
2010-11-18 00:18:57 +00:00
uwe.tews@googlemail.com
f49ac309b9
- bugfix on {block} if name did contain '-'
2010-11-17 19:07:59 +00:00
uwe.tews@googlemail.com
7135787127
- bugfix isset() did not allow multiple parameter
...
- improvment of some error messages
- bugfix html_image did use removed property $request_use_auto_globals
2010-11-14 15:08:44 +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
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@googlemail.com
415d2f43e2
- added {break} and {continue} tags for flow control of {foreach},{section},{for} and {while} loops
...
- change of 'string' resource. It's no longer evaluated and compiled files are now stored
- new 'eval' resource which evaluates a template without saving the compiled file
- change in isCached() method to allow multiple calls for the same template
2010-10-01 13:19:53 +00:00
uwe.tews@googlemail.com
802d40f3d3
- bugfix merge_compiled_includes flag was not restored correctly in {block} tag
2010-09-24 12:13:19 +00:00
uwe.tews@googlemail.com
18bcfa2ba7
- bugfix {$smarty.template} and {$smarty.current_dir} did not compile correctly within {block} tags
...
- bugfix corrected error message on missing template files in extends resource
- bugfix untility compileAllTemplates() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS
2010-09-17 18:10:10 +00:00
uwe.tews@googlemail.com
255c271246
- bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results)
2010-09-10 11:15:15 +00:00
Uwe.Tews
550a416209
- allow multiple template inheritance branches starting in subtemplates
2010-09-08 17:40:00 +00:00
monte.ohrt
21d507a5cb
fix formatting
2010-08-17 15:39:51 +00:00
Uwe.Tews
c1e1c03892
- make the date_format modifier work also on objects of the DateTime class
...
- implementation of parsetrees in the parser to close security holes and remove unwanted empty line in HTML output
2010-07-14 22:47:37 +00:00
Uwe.Tews
5d9f7ab65b
- bugfix on nocache code in {block} tags if child template was included by {include}
2010-03-01 16:46:30 +00:00
Uwe.Tews
3ad446bb21
- bugfix on modifier and block plugins with same name
2010-02-05 17:03:22 +00:00
Uwe.Tews
aabc4352c2
- added optional nocache attribute to {block} tags in parent template
...
- updated <?php...?> handling supporting now heredocs and newdocs. (thanks to Thue Jnaus Kristensen)
2010-01-11 20:44:01 +00:00
Uwe.Tews
a3459b2e3a
- bugfix on nocache {block} tags in parent templates
2010-01-09 19:23:35 +00:00