uwe.tews@googlemail.com
fe63ad36b8
- reverted location of loadPlugin() to Smarty class
...
- fixed comments in plugins
2010-11-13 04:10:52 +00:00
uwe.tews@googlemail.com
f044178bad
- major update including some API changes
2010-11-11 21:34:36 +00:00
monte.ohrt
21d507a5cb
fix formatting
2010-08-17 15:39:51 +00:00
Uwe.Tews
ad921936b0
- remove exception_handler property from Smarty class
...
- added Smarty's own exceptions SmartyException and SmartyCompilerException
2010-08-13 10:39:51 +00:00
Uwe.Tews
cbe2f3356f
- removed call_user_func_array calls for optimization of compiled code when using registered modifiers and plugins
...
- updated comments
2010-07-01 19:57:56 +00:00
Uwe.Tews
3197470ca5
- reverted the change 0f 30/04/2010. With the exception of forward references template functions can be again called by a standard tag.
2010-05-11 17:01:08 +00:00
Uwe.Tews
d1986c6cff
- bugfix on {insert}
2010-05-07 13:08:46 +00:00
Uwe.Tews
ecf66837b5
- fix to make calling of template functions unambiguously by madatory usage of the {call} tag
2010-04-30 21:06:07 +00:00
Uwe.Tews
ea84147f45
- work around of a substr_compare bug in older PHP5 versions
2010-04-30 14:00:26 +00:00
Uwe.Tews
5d644eb203
- bugfix in smarty_internal_templatecompilerbase (overloaded property)
2010-04-12 15:06:24 +00:00
Uwe.Tews
1eb8a44b0f
- bugfix typo in smarty_internal_templatecompilerbase and smarty_internal_template
2010-04-07 15:19:02 +00:00
Uwe.Tews
b14725e21a
- bugfix typo in smarty_internal_templatecompilerbase
2010-04-07 15:10:34 +00:00
Uwe.Tews
b52e9f1ac8
- compile locking by touching old compiled files to avoid concurrent compilations
2010-03-31 16:23:01 +00:00
Uwe.Tews
24d5ad78f3
- bugfix allow array definitions as modifier parameter
...
- bugfix observe compile_check property when loading config files
- added the template object as third filter parameter
2010-03-29 15:41:01 +00:00
Uwe.Tews
ed2458e9ae
- code optimization
2010-02-27 23:28:14 +00:00
Uwe.Tews
cb0ba1908a
- allow Smarty tags inside <? ... ?> tags in SMARTY_PHP_QUOTE and SMARTY_PHP_PASSTHRU mode
...
- bugfix at new "for" syntax like {for $x=1 to 10 step 2}
2010-02-10 20:51:36 +00:00
Uwe.Tews
43ae585e5e
- added $smarty->_tag_stack for tracing block tag hierarchy
2010-02-09 21:20:17 +00:00
Uwe.Tews
3ad446bb21
- bugfix on modifier and block plugins with same name
2010-02-05 17:03:22 +00:00
Uwe.Tews
cfea085629
- bugfix on plugins if same plugin was called from a nocache section first and later from a cached section
2010-01-19 17:01:10 +00:00
Uwe.Tews
383e4bb4ae
- revert handling of newline on no output tags like {if...}
2010-01-14 20:57:27 +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
8c93e0765a
- bugfix for obtaining plugins which must be included (related to change of 12/30/2009)
2010-01-01 12:07:36 +00:00
Uwe.Tews
72219be200
- optimization of generated code for doublequoted strings containing variables
...
- rewrite of {function} tag handling
- can now be declared in an external subtemplate
- can contain nocache sections (nocache_hash handling)
- can be called in noccache sections (nocache_hash handling)
- new {call..} tag to call template functions with a variable name {call name=$foo}
- fixed nocache_hash handling in merged compiled templates
2009-12-31 16:38:12 +00:00
Uwe.Tews
a6c4c0b192
- bugfix for plugins defined in the script as smarty_function_foo
2009-12-30 14:26:42 +00:00
Uwe.Tews
8327f57f36
2009-12-29 20:12:51 +00:00
Uwe.Tews
d1969d6f56
- use sha1() for filepath encoding
...
- updates on nocache_hash handling
2009-12-29 20:12:11 +00:00
monte.ohrt
5d6b87d9a1
replace md5 with str_replace
2009-12-28 17:41:27 +00:00
Uwe.Tews
8ad3fade36
- adding md5 to nocache_hash
2009-12-28 17:02:48 +00:00
Uwe.Tews
de4957a151
- update for security fixes
...
- make modifier plugins always trusted
2009-12-28 15:27:13 +00:00
monte.ohrt
f908aa0a27
update cache logic to use secure dynamic cache id
2009-12-28 05:08:45 +00:00
Uwe.Tews
997b8cd73f
- fixed bug on modifier plugins at nocache output
2009-12-27 22:26:06 +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
25270df6bd
- correct line number on unknown tag error message
...
- changed {include} compiled code
2009-11-26 22:49:56 +00:00
Uwe.Tews
4925a98949
- suppress warnings on unlink caused by race conditions
...
- correct line number on unknown tag error message
2009-11-23 22:31:22 +00:00
Uwe.Tews
4e98b48c7c
- make $smarty->_current_file available during compilation for Smarty2 BC
2009-11-18 17:43:39 +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