Commit Graph

13 Commits

Author SHA1 Message Date
uwe.tews@googlemail.com
4c070d0bda - bugfix parent pointer was not set when fetch() for other template was called on template object 2011-10-07 15:30:04 +00:00
uwe.tews@googlemail.com
eb9714cf0e - bugfix output filter should not run on individually cached subtemplates
- add unloadFilter() method
2011-10-04 17:50:39 +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
a98d83bbf3 - improvment better error message for undefined templates at {include} 2011-09-24 18:20:13 +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
c8eb5d078a - bugfix output filter shall not run on included subtemplates 2011-09-19 21:13:44 +00:00
uwe.tews@googlemail.com
a44d9a6ac9 - bugfix template caching did not care about file.tpl in different template_dir
- bugfix {include $file} was broken when merge_compiled_incluges = true
- bugfix {include} was broken when merge_compiled_incluges = true and same indluded template
  was used in different main templates in one compilation run
2011-09-18 02:31:58 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
Uwe.Tews
44dd7830dd --- this is a major update with a couple of internal changes ---
- new config file lexer/parser (thanks to Thue Jnaus Kristensen)
- template lexer/parser fixes for PHP and {literal} handing (thanks to Thue Jnaus Kristensen)
- fix on registered plugins with different type but same name
- rewrite of plugin handling (optimized execution speed)
- closed a security hole regarding PHP code injection into cache files
- fixed bug in clear cache handling
- Renamed a couple of internal classes
- code cleanup for merging compiled templates
- couple of runtime optimizations (still not all done)
2009-12-27 15:06:49 +00:00
Uwe.Tews
a63bc0f83b - sanitize compile_id and cache_id (replace illegal chars with _)
- use _dir_perms and _file_perms properties at file creation
- new constant SMARTY_RESOURCE_DATE_FORMAT (default '%b %e, %Y') which is used as default format in modifier date_format
2009-11-17 17:46:03 +00:00
Uwe.Tews
ad70b964cb - removed checking for reserved variables 2009-11-11 16:54:04 +00:00
Uwe.Tews
5c2b897534 - config_load method can now be called on data and template objects 2009-11-05 18:22:40 +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