Commit Graph

1273 Commits

Author SHA1 Message Date
uwetews
9a8bcb93b1 - bugfix text content consisting of just a single '0' like in {if true}0{/if} was suppressed (forum topic 25834) 2015-12-17 21:51:19 +01:00
uwetews
919861014a - bugfix using {block append/prepend} on same block in multiple levels of inheritance templates could fail (forum topic 25827) 2015-12-17 21:32:36 +01:00
uwetews
fb80bd53a5 - bugfix {$smarty.capture.nameFail} did lowercase capture name https://github.com/smarty-php/smarty/issues/135 2015-12-17 20:31:30 +01:00
uwetews
fa3aed33ee - bugfix {foreach} did fail if from atrribute is a Generator class https://github.com/smarty-php/smarty/issues/128 2015-12-16 03:25:33 +01:00
uwetews
e1eefdca75 Merge pull request #127 from logbon72/master
Restored Smarty_Internal_Data::getVariable()
2015-12-16 00:58:13 +01:00
Di Wu
1f7a82e2be Compatible with PHP7
Explicitly defining the evaluation order with the curly braces.

In PHP5
``
$person->$property['first'] is evaluated as $person->{$property['first']}
``

But in PHP7
``
$person->$property['first'] is evaluated as {$person->$property}['first']
``
2015-12-15 17:37:53 +08:00
Joseph Orilogbon
048b648bff - Restored Smarty_Internal_Data::getVariable(), but added deprecation message. 2015-12-15 08:54:21 +01:00
uwetews
017120c1ef - bugfix a call to clearAllCache() and other should clear all internal template object caches (forum topic 25828) 2015-12-15 03:37:13 +01:00
uwetews
862ce9db08 - bugfix {$smarty.cookies.foo} did return the $_COOKIE array not the 'foo' value https://github.com/smarty-php/smarty/issues/122 2015-12-15 01:34:18 +01:00
uwetews
c4e6ad6c35 - bugfix multiple calls of {section} with same name droped E_NOTICE error https://github.com/smarty-php/smarty/issues/118 2015-12-14 00:18:27 +01:00
uwetews
f8ec3ecaef - bugfix {$smarty.config.foo} broken in 3.1.28 https://github.com/smarty-php/smarty/issues/120 2015-12-14 00:04:31 +01:00
yonex
fc999d81be fix typo in template error message 2015-12-13 22:35:22 +09:00
uwetews
e8078f55ae - bugfix Debug Console could display incorrect data when using subtemplates 2015-12-13 14:15:54 +01:00
uwetews
7e521a92d9 - bugfix $smarty->debugging_ctrl = 'URL' did not work (forum topic 25811) 2015-12-13 10:16:10 +01:00
uwetews
6dc9196c35 - bugfix {foreach} and {section} with uppercase characters in name attribute did not work (forum topic 25819) 2015-12-13 06:30:08 +01:00
uwetews
71e364e4b2 - bugix Smarty did fail under PHP 7.0.0 with use_include_path = true; 2015-12-09 02:16:48 +01:00
uwetews
e783f61132 - bugix Smarty did fail under PHP 7.0.0 with use_include_path = true; 2015-12-09 02:03:56 +01:00
uwetews
260d3e3e46 -bugfix {strip} should exclude some html tags from stripping, related to fix for https://github.com/smarty-php/smarty/issues/111 2015-12-09 01:35:17 +01:00
uwetews
29e2eb0bca - bugfix internal template function data got stored in wrong compiled file https://github.com/smarty-php/smarty/issues/114 2015-12-08 23:41:42 +01:00
uwetews
be8340bef2 - remove no longer needed file and updated testinstall 2015-12-08 23:41:01 +01:00
uwetews
4839d0e0cc -bugfix {strip} should insert a single space https://github.com/smarty-php/smarty/issues/111 2015-12-05 17:28:05 +01:00
uwetews
e0fc310b6e -bugfix a left delimter like '[%' did fail on [%$var_[%$variable%]%] (forum topic 25798) 2015-11-25 21:19:23 +01:00
uwetews
5ca1cd485f - bugfix {include} with variable file name like {include file="foo_$bar.tpl"} did fail in 3.1.28-dev https://github.com/smarty-php/smarty/issues/102 2015-11-02 23:04:52 +01:00
uwetews
aa730800bd - bugfix {include} with variable file name like {include file="foo_$bar.tpl"} did fail in 3.1.28-dev https://github.com/smarty-php/smarty/issues/102 2015-11-02 18:06:42 +01:00
uwetews
cc3f69a2a3 - update config file processing 2015-11-01 02:58:27 +01:00
uwetews
8a78038181 update PHPdoc 2015-11-01 02:57:50 +01:00
uwetews
72258bc28d add test for valid scope name 2015-11-01 02:02:27 +01:00
uwetews
eedfdff62f - improve template scope handling 2015-10-29 22:33:00 +01:00
uwetews
55f38125a4 - improve template scope handling 2015-10-29 22:17:35 +01:00
uwetews
a0f583078d - minor optimizations 2015-10-29 21:41:21 +01:00
uwetews
862b23fe52 - update testinstall() 2015-10-26 01:27:06 +01:00
uwetews
6e3d94c13e - more optimizations of template processing 2015-10-25 05:59:45 +01:00
uwetews
2b9dcb22b5 - more optimizations of template processing 2015-10-25 05:03:23 +01:00
uwetews
42e722926a - bugfix Error when using {include} within {capture} https://github.com/smarty-php/smarty/issues/100 2015-10-25 04:53:58 +01:00
uwetews
1a51c1c17b - more optimizations of template processing 2015-10-25 04:53:19 +01:00
uwetews
50760c794c - more optimizations of template processing 2015-10-24 22:43:19 +02:00
uwetews
abdb335b26 - fix comment 2015-10-24 05:17:17 +02:00
uwetews
b7fb490cb1 - improve compiled code 2015-10-24 05:16:54 +02:00
uwetews
891495f849 - improve recovery from ivalid compiled template code 2015-10-24 05:14:47 +02:00
uwetews
0ea1360d65 - new extension handler to load functions when called 2015-10-24 05:12:10 +02:00
uwetews
888014b908 - new extension handler to load functions when called 2015-10-24 05:02:24 +02:00
uwetews
eec7639c9c - fix template scope processing 2015-10-24 04:45:09 +02:00
uwetews
ad65c850f7 - move some code into runtime extensions 2015-10-21 02:02:42 +02:00
uwetews
4e1d6707fe - update code generated by template function call handler 2015-10-18 22:12:16 +02:00
uwetews
0e28150b4a - fix compiled code for new {block} assign attribute 2015-10-18 11:35:08 +02:00
uwetews
bf6910ee21 - bugfix under HHVM temporary cache file must only be created when caches template was updated 2015-10-18 05:08:03 +02:00
uwetews
4776491a7f - bugfix under HHVM temporary cache file must only be created when caches template was updated 2015-10-18 04:58:53 +02:00
uwetews
c99fe144f6 - speed and size optimizations 2015-10-18 04:54:09 +02:00
uwetews
8dc2a0af7c - rework of template inheritance 2015-10-18 04:46:05 +02:00
uwetews
ca9ccfc919 - optimize filepath normalization 2015-10-18 04:40:45 +02:00