From 93426f93ac5354d1687a4f8e59fa97f6627b7c93 Mon Sep 17 00:00:00 2001 From: messju Date: Sun, 8 May 2005 19:47:01 +0000 Subject: [PATCH] applied manual updates from Peter Morgan. he added loads of useful crosslinks between related functions and fixed some minors. --- docs/en/designers/language-basic-syntax.xml | 2 +- .../language-syntax-functions.xml | 8 ++++---- .../language-function-config-load.xml | 5 +++++ .../language-function-ldelim.xml | 1 + .../language-function-literal.xml | 1 + docs/en/designers/language-modifiers.xml | 2 +- .../language-modifier-capitalize.xml | 1 + .../language-modifier-count-characters.xml | 5 +++++ .../language-modifier-count-paragraphs.xml | 5 +++++ .../language-modifier-count-sentences.xml | 5 +++++ .../language-modifier-count-words.xml | 6 ++++++ .../language-modifier-date-format.xml | 5 +++-- .../language-modifier-lower.xml | 9 +++++++-- .../language-modifier-upper.xml | 9 +++++++-- .../language-variables-smarty.xml | 2 +- .../programmers/api-functions/api-display.xml | 5 +++++ .../programmers/api-functions/api-fetch.xml | 5 +++++ .../api-functions/api-register-object.xml | 4 ++++ .../api-functions/api-unregister-object.xml | 1 + .../variable-error-reporting.xml | 20 ++++++++++--------- .../api-variables/variable-left-delimiter.xml | 18 ++++++++++------- .../variable-right-delimiter.xml | 18 ++++++++++------- docs/entities/global.ent | 3 +++ 23 files changed, 104 insertions(+), 36 deletions(-) diff --git a/docs/en/designers/language-basic-syntax.xml b/docs/en/designers/language-basic-syntax.xml index 5321b7bd..e0d2e40b 100644 --- a/docs/en/designers/language-basic-syntax.xml +++ b/docs/en/designers/language-basic-syntax.xml @@ -5,7 +5,7 @@ All Smarty template tags are enclosed within delimiters. By default, these delimiters are { and - }, but they can be changed. + }, but they can be changed. For these examples, we will assume that you are using the default 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 d2bd0b59..08fcd155 100644 --- a/docs/en/designers/language-basic-syntax/language-syntax-functions.xml +++ b/docs/en/designers/language-basic-syntax/language-syntax-functions.xml @@ -30,11 +30,11 @@ Both built-in functions and custom functions have the same syntax in the templates. Built-in functions are the inner workings of Smarty, - such as if, section and - strip. They cannot be modified. Custom functions are + such as if, section and + strip. They cannot be modified. Custom functions are additional functions implemented via plugins. They can be modified to - your liking, or you can add new ones. html_options and - html_select_date are examples of custom functions. + your liking, or you can add new ones. html_options and + html_select_date are examples of custom functions. \ No newline at end of file +--> diff --git a/docs/en/designers/language-modifiers/language-modifier-upper.xml b/docs/en/designers/language-modifiers/language-modifier-upper.xml index adfc9fbe..cf126aa4 100644 --- a/docs/en/designers/language-modifiers/language-modifier-upper.xml +++ b/docs/en/designers/language-modifiers/language-modifier-upper.xml @@ -37,7 +37,12 @@ IF STRIKE ISN'T SETTLED QUICKLY IT MAY LAST A WHILE. ]]> - + + See also lower and + capitalize. + + + \ No newline at end of file +--> diff --git a/docs/en/designers/language-variables/language-variables-smarty.xml b/docs/en/designers/language-variables/language-variables-smarty.xml index 6ede2ff1..e46f32d9 100644 --- a/docs/en/designers/language-variables/language-variables-smarty.xml +++ b/docs/en/designers/language-variables/language-variables-smarty.xml @@ -86,7 +86,7 @@ {$smarty.capture} - The output captured via {capture}..{/capture} construct can be + The output captured via {capture}..{/capture} construct can be accessed using {$smarty} variable. See section on capture for an example. diff --git a/docs/en/programmers/api-functions/api-display.xml b/docs/en/programmers/api-functions/api-display.xml index 8cf31836..f69977fe 100644 --- a/docs/en/programmers/api-functions/api-display.xml +++ b/docs/en/programmers/api-functions/api-display.xml @@ -78,8 +78,13 @@ $smarty->display("db:header.tpl"); ]]> + + See also fetch() and + template_exists. + + - - $error_reporting - - When this value is set to a non-null-value it's value is - used as php's error_reporting-level inside of display() and - fetch(). When debugging is enabled this value is ignored - and the error-level is left untouched. - + + $error_reporting + + When this value is set to a non-null-value it's value is used as php's + error_reporting-level inside of display() + and fetch(). When debugging is enabled this value + is ignored and the error-level is left untouched. + + \ No newline at end of file +--> diff --git a/docs/en/programmers/api-variables/variable-left-delimiter.xml b/docs/en/programmers/api-variables/variable-left-delimiter.xml index 3e2399ba..8ba44a39 100644 --- a/docs/en/programmers/api-variables/variable-left-delimiter.xml +++ b/docs/en/programmers/api-variables/variable-left-delimiter.xml @@ -1,12 +1,16 @@ - - $left_delimiter - - This is the left delimiter used by the template language. - Default is "{". - + + $left_delimiter + + This is the left delimiter used by the template language. + Default is "{". + + + See also $right_delimiter. + + \ No newline at end of file +--> diff --git a/docs/en/programmers/api-variables/variable-right-delimiter.xml b/docs/en/programmers/api-variables/variable-right-delimiter.xml index 95316641..33adda66 100644 --- a/docs/en/programmers/api-variables/variable-right-delimiter.xml +++ b/docs/en/programmers/api-variables/variable-right-delimiter.xml @@ -1,12 +1,16 @@ - - $right_delimiter - - This is the right delimiter used by the template language. - Default is "}". - + + $right_delimiter + + This is the right delimiter used by the template language. + Default is "}". + + + See also $left_delimiter. + + \ No newline at end of file +--> diff --git a/docs/entities/global.ent b/docs/entities/global.ent index fdc8bc65..bb16918e 100644 --- a/docs/entities/global.ent +++ b/docs/entities/global.ent @@ -10,6 +10,9 @@ + + + TRUE'> FALSE'>