aboutsummaryrefslogtreecommitdiffstats
path: root/include/smarty/NEW_FEATURES.txt
diff options
context:
space:
mode:
Diffstat (limited to 'include/smarty/NEW_FEATURES.txt')
-rw-r--r--include/smarty/NEW_FEATURES.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/smarty/NEW_FEATURES.txt b/include/smarty/NEW_FEATURES.txt
index 595dc4d3c..1a51c71d9 100644
--- a/include/smarty/NEW_FEATURES.txt
+++ b/include/smarty/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
+