diff --git a/NEW_FEATURES.txt b/NEW_FEATURES.txt index 595dc4d3..1a51c71d 100644 --- a/NEW_FEATURES.txt +++ b/NEW_FEATURES.txt @@ -21,17 +21,17 @@ Smarty 3.1.28 fetch() and display() ===================== The fetch() and display() methods of the template object accept now optionally the same parameter - as the corresponding Smarty methods to get tne content of another template. + as the corresponding Smarty methods to get the content of another template. Example: $template->display(); Does display template of template object - $template->dispaly('foo.tpl'); Does display template 'foo.bar' + $template->display('foo.tpl'); Does display template 'foo.bar' File: resource ============== Multiple template_dir entries can now be selected by a comma separated list of indices. The template_dir array is searched in the order of the indices. (Could be used to change the default search order) Example: - $smarty->display([1],[0]foo.bar'); + $smarty->display('[1],[0]foo.bar'); Filter support ============== @@ -130,4 +130,4 @@ Smarty 3.1.22 Smarty::DEBUG_INDIVIDUAL will create for each display() and fetch() call an individual debug window. . - \ No newline at end of file + diff --git a/change_log.txt b/change_log.txt index bd9474b0..7e178dfa 100644 --- a/change_log.txt +++ b/change_log.txt @@ -13,10 +13,10 @@ - bugfix Debug Console could display incorrect data when using subtemplates 09.12.2015 - - bugix Smarty did fail under PHP 7.0.0 with use_include_path = true; + - bugfix Smarty did fail under PHP 7.0.0 with use_include_path = true; 09.12.2015 - -bugfix {strip} should exclude some html tags from stripping, related to fix for https://github.com/smarty-php/smarty/issues/111 + - bugfix {strip} should exclude some html tags from stripping, related to fix for https://github.com/smarty-php/smarty/issues/111 08.12.2015 - bugfix internal template function data got stored in wrong compiled file https://github.com/smarty-php/smarty/issues/114