From fe989a4f50786073fab71948fb4f37fdca47b7b7 Mon Sep 17 00:00:00 2001 From: messju Date: Thu, 16 Jun 2005 18:44:54 +0000 Subject: [PATCH] indentiation --- .../language-variables-smarty.xml | 216 +++++++++--------- 1 file changed, 103 insertions(+), 113 deletions(-) diff --git a/docs/en/designers/language-variables/language-variables-smarty.xml b/docs/en/designers/language-variables/language-variables-smarty.xml index e46439e7..c6d2d9fe 100644 --- a/docs/en/designers/language-variables/language-variables-smarty.xml +++ b/docs/en/designers/language-variables/language-variables-smarty.xml @@ -1,25 +1,24 @@ - - {$smarty} reserved variable - - The PHP reserved {$smarty} variable can be used to access several - special template variables. The full list of them follows. - - - + + {$smarty} reserved variable + + The PHP reserved {$smarty} variable can be used to access several + special template variables. The full list of them follows. + + Request variables - The request variables - such as $_GET, $_POST, $_COOKIE, $_SERVER, $_ENV and $_SESSION - (see $request_vars_order - and $request_use_auto_globals - ) can be accessed as demonstrated in the examples below: + The request variables + such as $_GET, $_POST, $_COOKIE, $_SERVER, $_ENV and $_SESSION + (see $request_vars_order + and $request_use_auto_globals + ) can be accessed as demonstrated in the examples below: - displaying request variables - + displaying request variables + - - - + + + - For historical reasons {$SCRIPT_NAME} can be accessed - directly, although {$smarty.server.SCRIPT_NAME} is the - proposed way to access this value. + For historical reasons {$SCRIPT_NAME} can be accessed + directly, although {$smarty.server.SCRIPT_NAME} is the + proposed way to access this value. - - - - + + + {$smarty.now} - The current timestamp - can be accessed with {$smarty.now}. The number reflects the number of - seconds passed since the so-called Epoch (January 1, 1970) - and can be passed directly to the - date_format - modifier for display purposes. - - - using {$smarty.now} - + The current timestamp + can be accessed with {$smarty.now}. The number reflects the number of + seconds passed since the so-called Epoch (January 1, 1970) + and can be passed directly to the + date_format + modifier for display purposes. + + + using {$smarty.now} + - - - - - {$smarty.const} - - You can access PHP constant values directly. - See also smarty constants - - - using {$smarty.const} - + + + + + {$smarty.const} + + You can access PHP constant values directly. See also smarty constants + + + using {$smarty.const} + - - - - - - {$smarty.capture} - - The output captured via - {capture}..{/capture} - construct can be - accessed using {$smarty} variable. See section on - {capture} for an example. - - - - - {$smarty.config} - - {$smarty} variable can be used to refer to loaded - config variables. - {$smarty.config.foo} is a synonym for {#foo#}. See the section on - {config_load} for an example. - - - - - {$smarty.section}, {$smarty.foreach} - - {$smarty} variable can be used to refer to - {section} and - {foreach} - loop properties. - - - - - {$smarty.template} - - This variable contains the name of the current template being - processed. - - - - {$smarty.version} - - This variable contains the version of Smarty the template was compiled with. - - - - {$smarty.ldelim}, {$smarty.rdelim} - - This variable is used for printing the left-delimiter and right-delimiter value literally. - See {ldelim},{rdelim}. - - - See also - Variables and - Config Variables - - + + + + + {$smarty.capture} + + The output captured via {capture}..{/capture} + construct can be accessed using {$smarty} variable. See section on + {capture} for an + example. + + + + {$smarty.config} + + {$smarty} variable can be used to refer to loaded config variables. + {$smarty.config.foo} is a synonym for {#foo#}. See the section on + {config_load} + for an example. + + + + {$smarty.section}, {$smarty.foreach} + + {$smarty} variable can be used to refer to + {section} and + {foreach} + loop properties. + + + + {$smarty.template} + + This variable contains the name of the current template being + processed. + + + + {$smarty.version} + + This variable contains the version of Smarty the template was compiled with. + + + + {$smarty.ldelim}, {$smarty.rdelim} + + This variable is used for printing the left-delimiter and right-delimiter value literally. + See {ldelim},{rdelim}. + + + See also + Variables and + Config Variables + + - -