Commit Graph

357 Commits

Author SHA1 Message Date
Uwe.Tews
ff7fce9bca - fixed handling of { strip } tag with whitespaces 2010-07-20 16:19:54 +00:00
Uwe.Tews
c4a824bf2c - bufix {$smarty.template} does include now the relative path, not just filename 2010-07-15 14:08:56 +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
db38a0aaec - bugfix on assigning multidimensional arrays within templates
- corrected bugfix for truncate modifier
2010-07-08 18:30:03 +00:00
Uwe.Tews
396d7aa8a5 - bugfix support of script files relative to trusted_dir 2010-07-07 22:08:10 +00:00
Uwe.Tews
c83ef6792c - create exception on recursive {extends} calls
- fixed reported line number at "unexpected closing tag " exception
- bugfix on escape:'mail' modifier
- drop exception if 'item' variable is equal 'from' variable in {foreach} tag
2010-07-06 20:00:41 +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
6456403706 - bugfix escaping " when block tags are used within doublequoted strings 2010-06-25 18:41:30 +00:00
Uwe.Tews
ccc0e1b6c8 - added $smarty->register->templateClass() and $smarty->unregister->templateClass() methods for supporting static classes with namespace 2010-06-24 20:30:19 +00:00
Uwe.Tews
f99e09f588 - replace internal get_time() calls with standard PHP5 microtime(true) calls in Smarty_Internal_Utility 2010-06-24 14:43:04 +00:00
Uwe.Tews
95869f258e - allow spaces between typecast and value in template syntax
- bugfix get correct count of traversables in {foreach} tag
2010-06-22 18:09:12 +00:00
Uwe.Tews
f7fd63e890 - improved speed of cache->clear() when a compile_id was specified and use_sub_dirs is true 2010-06-21 20:10:22 +00:00
Uwe.Tews
7626cbf093 - removed use of PHP shortags SMARTY_PHP_PASSTHRU mode 2010-06-21 18:01:36 +00:00
Uwe.Tews
5a974e69cf 2010-06-20 21:16:18 +00:00
Uwe.Tews
1380199f43 - closed security hole when php.ini asp_tags = on 2010-06-20 20:37:16 +00:00
Uwe.Tews
b534be00da - replace internal get_time() calls with standard PHP5 microtime(true) calls 2010-06-20 14:37:47 +00:00
Uwe.Tews
7cd84ed640 - added __toString method to the Smarty_Variable class 2010-06-18 15:10:35 +00:00
Uwe.Tews
6ba7d10ccd - make handling of Smarty comments followed by newline BC to Smarty2 2010-06-14 18:40:31 +00:00
Uwe.Tews
7075a1186d - bugfix Smarty3 did not handle hexadecimals like 0x0F as numerical value
- bugifx Smarty3 did not accept numerical constants like .1 or 2. (without a leading or trailing digit)
2010-06-13 12:52:36 +00:00
Uwe.Tews
538708d344 11/06/2010
- bugfix the lexer did fail on larger {literal} ... {/literal} sections
2010-06-11 13:01:36 +00:00
monte.ohrt
968deec9a4 remove newline on include tag 2010-06-10 18:58:26 +00:00
monte.ohrt
c963a8342e fix assign_by_ref and append_by_ref BC compatability 2010-06-08 20:45:18 +00:00
Uwe.Tews
cf2f6a33e1 - bugfix on calling template functions like Smarty tags 2010-06-03 14:33:51 +00:00
Uwe.Tews
62490ae8c0 - removed /* vim: set expandtab: */ comments
- bugfix of auto literal problem introduce with fix of 31/05/2010
2010-06-01 19:11:48 +00:00
Uwe.Tews
c82455c145 - bugfix on template functions used with template inheritance 2010-06-01 17:10:39 +00:00
Uwe.Tews
6ac2489ea5 - bugfix the parser did not allow some smarty variables with special name like $for, $if, $else and others. 2010-05-31 17:58:23 +00:00
Uwe.Tews
b889d66dd9 - bugfix on object chaining using variable properties 2010-05-27 15:59:40 +00:00
Uwe.Tews
8bf398e22c - bugfix removed decrepated register_resource call in smarty_internal_template.php 2010-05-26 20:35:15 +00:00
Uwe.Tews
063b8bf150 - rewrite of template function handling to improve speed
- bugfix on file dependency when merge_compiled_includes = true
2010-05-25 19:33:55 +00:00
Uwe.Tews
eb12b18929 - bugfix when passing parameter with numeric name like {foo 1='bar' 2='blar'} 2010-05-16 20:12:14 +00:00
Uwe.Tews
a15c0f85d1 14/05/2010
- bugfix compile new config files if compile_check and force_compile = false
- added variable static classes names to template syntax
2010-05-14 13:45:04 +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
6e97a8a393 - bugfix make sure that the cache resource is loaded in all conditions when template methods getCached... are called externally 2010-05-11 16:24:24 +00:00
Uwe.Tews
2d1ce2f940 - bugfix on {foreach} and {for} optimizations of 27/04/2010 2010-05-10 20:08:24 +00:00
Uwe.Tews
cf11940bf7 - update of template and config file parser because of minor parser generator bugs 2010-05-09 16:48:03 +00:00
Uwe.Tews
25ea3dd1de - bugfix on {insert} 2010-05-07 18:28:17 +00:00
Uwe.Tews
d1986c6cff - bugfix on {insert} 2010-05-07 13:08:46 +00:00
Uwe.Tews
98753671e3 - bugfix when merging compiled templates and objects are passed as parameter of the {include} tag 2010-05-06 17:59:31 +00:00
Uwe.Tews
bf591a307b - bugfix on getTemplateVars method 2010-05-06 00:32:10 +00:00
Uwe.Tews
2e8b7c864d - implementation of $smarty->default_modifiers as in Smarty2 2010-05-06 00:11:30 +00:00
Uwe.Tews
df1ddc31fc - bugfix on {insert} to cache parameter 2010-05-05 19:48:42 +00:00
Uwe.Tews
e71c82ff1d - bugfix on handling of variable method names at object chaning 2010-05-01 16:10:20 +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
0920b383c6 - bugfix on template inheritance for tag names starting with "block"
- bugfix on {function} tag with name attribute in doublequoted strings
2010-04-30 18:11:34 +00:00
Uwe.Tews
ace9d4fe5e - work around of a substr_compare bug in older PHP5 versions 2010-04-30 14:04:03 +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
6bb0cb7c0c - bugfix when comparing timestamps in sysplugins/smarty_internal_config.php 2010-04-30 13:12:12 +00:00
Uwe.Tews
d7a629df0c - change default of $debugging_ctrl to 'NONE'
- optimization of compiled code of {foreach} and {for} loops
- change of compiler for config variables
2010-04-28 20:30:27 +00:00
Uwe.Tews
4e27b70ba5 - bugfix in $smarty->cache->clear() method. (do not cache template object) 2010-04-27 17:47:24 +00:00
Uwe.Tews
c8be3ed029 - removed parser restrictions in using true,false and null as ID 2010-04-12 18:22:53 +00:00