Commit Graph

23 Commits

Author SHA1 Message Date
uwe.tews@googlemail.com
208ad6b540 2012-05-03 16:17:39 +00:00
uwe.tews@googlemail.com
53df807220 - improvement replaced some calls of preg_replace with str_replace (Issue 73) 2012-02-06 20:53:57 +00:00
uwe.tews@googlemail.com
d8b26c5ad0 - bugfix output filter must not run before writing cache when template does contain nocache code {Issue 71} 2012-01-20 18:21:32 +00:00
rodneyrehm
3495b683bd (phpdoc indentation) 2011-12-18 16:52:26 +00:00
rodneyrehm
9be91eb04b - added chaining to Smarty_Internal_Templatebase
- changed unloadFilter() to not return a boolean in favor of chaining and API conformity
- bugfix unregisterObject() raised notice when object to unregister did not exist
2011-12-18 16:51:32 +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
85658fcdd4 - fixed PHP4 constructor message 2011-10-19 19:49:27 +00:00
uwe.tews@googlemail.com
806c51fdcf - bugfix disable of caching after isCached() call did not work (Forum Topic 20131) 2011-10-13 11:59:02 +00:00
uwe.tews@googlemail.com
0fabe627ad - add runtime checks for not matching {capture}/{/capture} calls (Forum Topic 20120) 2011-10-11 15:49:19 +00:00
uwe.tews@googlemail.com
d3258767a6 - bugfix <?xml> tag did create wrong output when caching enabled and the tag was in included subtemplate 2011-10-10 11:38:27 +00:00
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