aboutsummaryrefslogtreecommitdiffstats
path: root/library/Smarty/NEW_FEATURES.txt
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-04-25 06:17:39 -0400
committerAndrew Manning <tamanning@zoho.com>2016-04-25 06:17:39 -0400
commitf027bf81cdaddee5d6474199c1b7adce50e6e07d (patch)
tree23fd281c6627b7adc1421fcddf939e6447a4d18b /library/Smarty/NEW_FEATURES.txt
parentf3eae7132f8c104db2197858208f16a5792507be (diff)
parenta9d926886e6f8ed389031791799ffd352b8cb651 (diff)
downloadvolse-hubzilla-f027bf81cdaddee5d6474199c1b7adce50e6e07d.tar.gz
volse-hubzilla-f027bf81cdaddee5d6474199c1b7adce50e6e07d.tar.bz2
volse-hubzilla-f027bf81cdaddee5d6474199c1b7adce50e6e07d.zip
Merge remote-tracking branch 'upstream/dev' into help-content
Diffstat (limited to 'library/Smarty/NEW_FEATURES.txt')
-rw-r--r--library/Smarty/NEW_FEATURES.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/Smarty/NEW_FEATURES.txt b/library/Smarty/NEW_FEATURES.txt
index 595dc4d3c..1a51c71d9 100644
--- a/library/Smarty/NEW_FEATURES.txt
+++ b/library/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
+