mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
@@ -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
|
||||
==============
|
||||
|
@@ -13,7 +13,7 @@
|
||||
- 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
|
||||
|
Reference in New Issue
Block a user