diff --git a/docs/en/designers/language-builtin-functions/language-function-include.xml b/docs/en/designers/language-builtin-functions/language-function-include.xml index 6b8466d8..341b2699 100644 --- a/docs/en/designers/language-builtin-functions/language-function-include.xml +++ b/docs/en/designers/language-builtin-functions/language-function-include.xml @@ -85,7 +85,8 @@ - You can also pass variables to included templates as attributes. + You can also pass variables to included templates as + attributes. Any variables explicitly passed to an included template as attributes are only available within the scope of the included file. Attribute variables override current template variables, in @@ -170,6 +171,7 @@ See also {include_php}, + {insert}, {php}, Template Resources and Componentized Templates. diff --git a/docs/en/designers/language-builtin-functions/language-function-insert.xml b/docs/en/designers/language-builtin-functions/language-function-insert.xml index 4677507a..f2feecbb 100644 --- a/docs/en/designers/language-builtin-functions/language-function-insert.xml +++ b/docs/en/designers/language-builtin-functions/language-function-insert.xml @@ -106,7 +106,7 @@ script must be included first to make it work. The path can be either absolute, or relative to $trusted_dir. When security is enabled, the script + linkend="variable.security">$security is enabled, the script must reside in $trusted_dir. @@ -125,6 +125,10 @@ weather, search results, user feedback areas, etc. + + See also + {include} +