mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
@@ -21,17 +21,17 @@ Smarty 3.1.28
|
|||||||
fetch() and display()
|
fetch() and display()
|
||||||
=====================
|
=====================
|
||||||
The fetch() and display() methods of the template object accept now optionally the same parameter
|
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:
|
Example:
|
||||||
$template->display(); Does display template of template object
|
$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
|
File: resource
|
||||||
==============
|
==============
|
||||||
Multiple template_dir entries can now be selected by a comma separated list of indices.
|
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)
|
The template_dir array is searched in the order of the indices. (Could be used to change the default search order)
|
||||||
Example:
|
Example:
|
||||||
$smarty->display([1],[0]foo.bar');
|
$smarty->display('[1],[0]foo.bar');
|
||||||
|
|
||||||
Filter support
|
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.
|
Smarty::DEBUG_INDIVIDUAL will create for each display() and fetch() call an individual debug window.
|
||||||
|
|
||||||
.
|
.
|
||||||
|
|
||||||
|
@@ -13,10 +13,10 @@
|
|||||||
- bugfix Debug Console could display incorrect data when using subtemplates
|
- bugfix Debug Console could display incorrect data when using subtemplates
|
||||||
|
|
||||||
09.12.2015
|
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
|
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
|
08.12.2015
|
||||||
- bugfix internal template function data got stored in wrong compiled file https://github.com/smarty-php/smarty/issues/114
|
- bugfix internal template function data got stored in wrong compiled file https://github.com/smarty-php/smarty/issues/114
|
||||||
|
Reference in New Issue
Block a user