diff --git a/docs/en/designers/language-custom-functions.xml b/docs/en/designers/language-custom-functions.xml
index 3131f5bd..e3acc4db 100644
--- a/docs/en/designers/language-custom-functions.xml
+++ b/docs/en/designers/language-custom-functions.xml
@@ -707,31 +707,40 @@ OUTPUT: (both examples)
image tags static for optimal performance.
-
-html_image
-
-index.php:
+
+ html_image example
+
+display('index.tpl');
+?>
+]]>
+
+
+ where index.tpl is:
+
+
+
-
-
-
-
-
+]]>
+
+
+ a possible output would be:
+
+
+
+
+
+]]>
+
+
html_options
@@ -2680,4 +2689,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
diff --git a/docs/en/designers/language-modifiers.xml b/docs/en/designers/language-modifiers.xml
index c2c75523..cedff100 100644
--- a/docs/en/designers/language-modifiers.xml
+++ b/docs/en/designers/language-modifiers.xml
@@ -12,8 +12,9 @@
modifier example
+{$title|upper}
{* Truncate the topic to 40 characters use ... at the end *}
Topic: {$topic|truncate:40:"..."}
@@ -22,7 +23,9 @@ Topic: {$topic|truncate:40:"..."}
{"now"|date_format:"%Y/%m/%d"}
{* apply modifier to a custom function *}
-{mailto|upper address="me@domain.dom"}
+{mailto|upper address="me@domain.dom"}
+]]>
+
If you apply a modifier to an array variable instead of a single value variable,
@@ -61,23 +64,36 @@ Topic: {$topic|truncate:40:"..."}
capitalize
-
-index.php:
+
+assign('articleTitle', 'Police begin campaign to rundown jaywalkers.');
+$smarty->display('index.tpl');
+?>
+]]>
+
+
+ Where index.tpl is:
+
+
+
+
+
+ This will output:
+
+
+
-
+Police Begin Campaign To Rundown Jaywalkers.
+]]>
+
+
count_characters
@@ -112,26 +128,40 @@ Police Begin Campaign To Rundown Jaywalkers.
This is used to count the number of characters in a variable.
-
-count_characters
-
-index.php:
+
+ count_characters
+
+assign('articleTitle', 'Cold Wave Linked to Temperatures.');
+$smarty->display('index.tpl');
+?>
+]]>
+
+
+ Where index.tpl is:
+
+
+
+
+
+ This will output:
+
+
+
-
+33
+]]>
+
+
cat