Commit Graph

392 Commits

Author SHA1 Message Date
uwe.tews@googlemail.com
5176f39583 - bugfix for E_NOTICE change, array elements did not work as modifier parameter 2010-10-25 18:53:43 +00:00
uwe.tews@googlemail.com
ce7a278f44 - bugfix for the E_NOTICE change 2010-10-20 18:28:04 +00:00
uwe.tews@googlemail.com
be02af7246 - change Smarty does no longer mask out E_NOTICE by default during template processing 2010-10-19 16:06:52 +00:00
uwe.tews@googlemail.com
147c5d0631 - bugfix on output buffer handling in isCached() method 2010-10-13 23:22:57 +00:00
uwe.tews@googlemail.com
cf42bcd242 - bugfix on template inheritance using nested eval or string resource in {extends} tags 2010-10-13 20:26:12 +00:00
uwe.tews@googlemail.com
7ec3cb453c - bugfix removed ambiguity between ternary and stream variable in template syntax
- bugfix use caching properties of template instead of smarty object when compiling child {block}
- bugfix {*block}...{/block*} did throw an exception in template inheritance
2010-10-13 15:44:03 +00:00
uwe.tews@googlemail.com
415d2f43e2 - added {break} and {continue} tags for flow control of {foreach},{section},{for} and {while} loops
- change of 'string' resource. It's no longer evaluated and compiled files are now stored
- new 'eval' resource which evaluates a template without saving the compiled file
- change in isCached() method to allow multiple calls for the same template
2010-10-01 13:19:53 +00:00
uwe.tews@googlemail.com
802d40f3d3 - bugfix merge_compiled_includes flag was not restored correctly in {block} tag 2010-09-24 12:13:19 +00:00
uwe.tews@googlemail.com
b38e46db46 - bugfix untility compileAllConfig() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS
- bugfix on templateExists() for extends resource
2010-09-18 14:57:02 +00:00
uwe.tews@googlemail.com
18bcfa2ba7 - bugfix {$smarty.template} and {$smarty.current_dir} did not compile correctly within {block} tags
- bugfix corrected error message on missing template files in extends resource
- bugfix untility compileAllTemplates() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS
2010-09-17 18:10:10 +00:00
uwe.tews@googlemail.com
66752cd790 - bugfix when a doublequoted modifier parameter did contain Smarty tags and ':' 2010-09-16 16:29:44 +00:00
uwe.tews@googlemail.com
44c6732970 15/09/2010
- bugfix resolving conflict between '<%'/'%>' as custom Smarty delimiter and ASP tags
- use ucfirst for resource name on internal resource class names
2010-09-15 15:17:28 +00:00
uwe.tews@googlemail.com
4556f7d370 - bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results) 2010-09-12 17:46:04 +00:00
uwe.tews@googlemail.com
255c271246 - bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results) 2010-09-10 11:15:15 +00:00
Uwe.Tews
550a416209 - allow multiple template inheritance branches starting in subtemplates 2010-09-08 17:40:00 +00:00
Uwe.Tews
a2f50cebd4 - bugfix {counter} and {cycle} plugin assigned result to smarty variable not in local(template) scope
- bugfix templates containing just {strip} {/strip} tags did produce an error
2010-09-07 16:24:34 +00:00
Uwe.Tews
96e3d9937a - fixed E_STRICT errors for uninitialized variables 2010-08-23 14:40:10 +00:00
Uwe.Tews
ee15e53542 - added attribute cache_id to {include} tag 2010-08-22 12:15:51 +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
cbc4205669 - bugfix on modifier with doublequoted strings as parameter containing embedded tags 2010-08-09 14:28:28 +00:00
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
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