diff --git a/docs/en/designers/language-basic-syntax/language-escaping.xml b/docs/en/designers/language-basic-syntax/language-escaping.xml
index 388beeed..5c2c074c 100644
--- a/docs/en/designers/language-basic-syntax/language-escaping.xml
+++ b/docs/en/designers/language-basic-syntax/language-escaping.xml
@@ -17,18 +17,21 @@
Including literal content is possible using {literal} .. {/literal} blocks.
+ linkend="language.function.literal">
+ {literal}..{/literal} blocks.
Similar to HTML entity usage, you can use {ldelim},{rdelim} or {$smarty.ldelim}
- to display the current delimiters.
+ linkend="language.function.ldelim">{ldelim},{rdelim} or
+ {$smarty.ldelim} to display the current delimiters.
It is often convenient to simply change Smarty's $left_delimiter and
- $right_delimiter.
+ linkend="variable.left.delimiter">
+ $left_delimiter and
+
+ $right_delimiter.
changing delimiters example
@@ -36,9 +39,9 @@
left_delimiter = '';
+
$smarty->assign('foo', 'bar');
$smarty->assign('name', 'Albert');
$smarty->display('example.tpl');
@@ -47,7 +50,7 @@ $smarty->display('example.tpl');
]]>
- Where example.tpl is:
+ Where the template is:
to Smarty
]]>
-
- See also escape modifier
-
-{* this multiline smarty
+{* this multiline smarty
comment is
not sent to browser
*}
@@ -34,10 +34,10 @@
Multi line comment block with credits block
@ author: bg@example.com
@ maintainer: support@example.com
- @ para: var that sets block style
+ @ para: var that sets block style
@ css: the style output
**********************************************************}
-
+
{* The header file with the main logo and stuff *}
{include file='header.tpl'}
@@ -53,7 +53,7 @@ Multi line comment block with credits block
*}
-{* cvs tag for a template, below the 36 SHOULD be an american currency
+{* cvs tag for a template, below the 36 SHOULD be an american currency
. however its converted in cvs.. *}
{* $Id: Exp $ *}
{* $Id: *}
diff --git a/docs/en/designers/language-basic-syntax/language-syntax-functions.xml b/docs/en/designers/language-basic-syntax/language-syntax-functions.xml
index 2a2a1e2e..237cd99e 100644
--- a/docs/en/designers/language-basic-syntax/language-syntax-functions.xml
+++ b/docs/en/designers/language-basic-syntax/language-syntax-functions.xml
@@ -8,11 +8,11 @@
of function. These are processed and displayed by enclosing the
function and its
attributes
- within delimiters like so: {funcname
- attr1='val1' attr2='val2'}.
+ within delimiters like so:
+ {funcname attr1='val1' attr2='val2'}.
- function syntax
+ function syntax
-
+
+
+
Both built-in functions
and custom functions
have the same syntax within templates.
-
- Built-in functions are the
+
+
+ Built-in functions are the
inner workings of Smarty, such as
- {if},
- {section} and
- {strip}.
+ {if},
+ {section} and
+ {strip}.
There should be no need to change or modify them.
-
- Custom functions are additional
+
+
+ Custom functions are
+ additional
functions implemented via plugins.
They can be modified to your liking, or you can create new ones.
- {html_options} and
- {popup}
+
+ {html_options} and
+ {popup}
are examples of custom functions.
-
-
+
+
+
- See also register_function()
+ See also register_function()
diff --git a/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml b/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml
index 4007d434..d5385718 100644
--- a/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml
+++ b/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml
@@ -7,12 +7,13 @@
linkend="api.assign">assigned
variables
embedded in double quotes so long as the variable name contains only numbers,
- letters, underscores and brackets []. With any other characters (period,
- object reference, etc.) the variable must be surrounded by
- backticks. You
- cannot embed
- modifiers,
- they must always be applied outside of quotes.
+ letters, underscores and brackets[]
+ (see naming).
+ With any other characters (period,
+ object reference, etc.) the variable must be surrounded by
+ `backticks`. You cannot embed
+ modifiers, they must always
+ be applied outside of quotes.
embedded quotes syntax
@@ -34,7 +35,7 @@ PRACTICAL EXAMPLES:
- See also escape.
+ See also escape.
diff --git a/docs/en/designers/language-basic-syntax/language-syntax-variables.xml b/docs/en/designers/language-basic-syntax/language-syntax-variables.xml
index 787587f2..9aaa7bd7 100644
--- a/docs/en/designers/language-basic-syntax/language-syntax-variables.xml
+++ b/docs/en/designers/language-basic-syntax/language-syntax-variables.xml
@@ -13,8 +13,9 @@
Config file variables
are an exception to the $dollar syntax
and are instead referenced with surrounding #hashmarks#, or
- via the
- $smarty.config variable.
+ via the
+
+ $smarty.config variable.
Variables
@@ -46,17 +47,20 @@ Many other combinations are allowed
]]>
-
- Request variables such as $_GET, $_SESSION etc are available via the
- $smarty reserved variable.
+
+ Request variables such as $_GET,
+ $_SESSION, etc are available via the
+ reserved
+ $smarty variable.
-
+
- See also $smarty reserved variables,
- Config Variables
- {assign}
+ See also
+ $smarty,
+ config variables
+ {assign}
and
- assign().
+ assign().