diff --git a/docs/en/designers/language-custom-functions/language-function-fetch.xml b/docs/en/designers/language-custom-functions/language-function-fetch.xml
index 735b79c2..4d340791 100644
--- a/docs/en/designers/language-custom-functions/language-function-fetch.xml
+++ b/docs/en/designers/language-custom-functions/language-function-fetch.xml
@@ -13,7 +13,7 @@
If you supply the special "assign" attribute, the output of the
{fetch} function will be assigned to this template variable instead of
- being output to the template. (new in Smarty 1.5.0)
+ being output to the template.
@@ -62,29 +62,32 @@
Technical Note
- If template security is turned on and you are
- fetching a file from the local file system, this will only allow
- files from within one of the defined secure directories.
- ($secure_dir)
+ If template $security
+ is turned on and you are
+ fetching a file from the local file system, {fetch} will only allow
+ files from within one of the defined
+ secure directories.
- fetch
+ {fetch} examples
{$weather}
+{fetch file='http://www.myweather.com/68502/' assign='weather'}
+{if $weather ne ''}
+
{$weather}
{/if}
]]>
@@ -92,7 +95,8 @@
See also
{capture},
- {eval}
+ {eval},
+ {assign}
and
fetch().