Commit Graph

40 Commits

Author SHA1 Message Date
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
Uwe.Tews
17a8c7f0a2 - bugfix on file dependendcy at template inheritance
- bugfix on nocache code at template inheritance
2010-01-07 19:33:18 +00:00
Uwe.Tews
7a8e24cfc1 - internal change on merging some data 2009-12-29 22:27:04 +00:00
Uwe.Tews
589f736efa - fixed bug loading modifiers in child template at template inheritance 2009-12-28 20:46:31 +00:00
Uwe.Tews
de4957a151 - update for security fixes
- make modifier plugins always trusted
2009-12-28 15:27:13 +00:00
Uwe.Tews
048fd5e274 - bugfix on {function} tags and template inheritance 2009-12-10 17:23:32 +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
89e53f6372 - allow {function} tags within {block} tags 2009-11-30 19:56:17 +00:00
monte.ohrt
3386b94e15 change linefeed style to native on all files 2009-11-06 14:35:00 +00:00
Uwe.Tews
05c64b7748 - fixed file dependency for {incude} inside {block} tag
- fixed not compiling on non existing compiled templates when compile_check = false
2009-11-03 18:02:13 +00:00
Uwe.Tews
cf379474fd - change of filenames in sysplugins folder for internal spl_autoload function
- lexer/parser changed for increased compilation speed
2009-10-31 00:44:58 +00:00