Commit Graph

422 Commits

Author SHA1 Message Date
Uwe.Tews
85450515d9 2010-08-06 15:34:18 +00:00
Uwe.Tews
a8cb6c737f 2010-08-06 14:38:33 +00:00
Uwe.Tews
cf231447d2 - bugfix when cascading some modifier like |strip|strip_tags modifier 2010-08-06 13:43:52 +00:00
Uwe.Tews
09dfffd2a0 - bugfix in nocache sections {include} must not cache the subtemplate 2010-08-05 21:13:29 +00:00
Uwe.Tews
08874b0965 - added plugin type modifiercompiler to produce compiled modifier code
- changed standard modifier plugins to the compiling versions whenever possible
2010-08-05 17:50:16 +00:00
Uwe.Tews
254c9e6c53 - bugfix strip did not work correctly in conjunction with comment lines 2010-08-02 16:29:23 +00:00
Uwe.Tews
e8fbee624d - bugfix on nocache attribute at {assign} and {append} 2010-07-31 13:29:59 +00:00
Uwe.Tews
b52cbe9adb - bugfix passing scope attributes in doublequoted strings did not work at {include} {assign} and {append} 2010-07-30 13:09:52 +00:00
Uwe.Tews
7c7d65eb32 2010-07-25 11:42:46 +00:00
Uwe.Tews
b7b2e7c4be - another bugfix of change from 23/07/2010 when compiling modifer 2010-07-25 10:58:54 +00:00
Uwe.Tews
a09ed74a10 2010-07-24 23:44:21 +00:00
Uwe.Tews
8598eca6bc 2010-07-24 23:34:19 +00:00
Uwe.Tews
8e8feb3945 - bugfix of change from 23/07/2010 when compiling modifer 2010-07-24 21:58:16 +00:00
Uwe.Tews
6ae00435af - changed execution order. A variable filter does now run before modifiers on output of variables
- bugfix use always { and } as delimiter for debug.tpl
2010-07-23 12:53:04 +00:00
Uwe.Tews
f319a15cfc - bugfix in templateExists() method 2010-07-22 19:11:38 +00:00
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
monte.ohrt
50637fccdd add DateTime support, clean up some logic 2010-07-13 22:57:47 +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
c8f22fe247 - bugfix the truncate modifier needs to check if the string is utf-8 encoded or not 2010-07-07 16:34:06 +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
2ad1d7e102 - make scope of {counter} and {cycle} tags again global as in Smarty2 2010-05-27 19:56:39 +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