update document id tags

This commit is contained in:
mohrt
2002-03-01 20:50:49 +00:00
parent 9117603904
commit 67630731a6
4 changed files with 18 additions and 19 deletions

View File

@@ -319,7 +319,7 @@ Stock Name: {$ticker_name} Stock Price: {$ticker_price}</programlisting>
As of Smarty 1.5.0, there is even a cleaner way. You can include php in As of Smarty 1.5.0, there is even a cleaner way. You can include php in
your templates with the {include_php ...} tag. This way you can keep your templates with the {include_php ...} tag. This way you can keep
your PHP logic separated from the template logic. See the <link your PHP logic separated from the template logic. See the <link
linkend="builtin.functions.include.php">include_php</link> function for linkend="language.function.include.php">include_php</link> function for
more information. more information.
</para> </para>
<example> <example>

View File

@@ -317,7 +317,7 @@ email: zaphod@slartibartfast.com&lt;br&gt;</programlisting>
<para> <para>
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 accessed using {$smarty} variable. See section on
<link linkend="builtin.functions.capture">capture</link> for an example. <link linkend="language.function.capture">capture</link> for an example.
</para> </para>
</sect3> </sect3>
@@ -326,8 +326,8 @@ email: zaphod@slartibartfast.com&lt;br&gt;</programlisting>
<para> <para>
{$smarty} variable can be used to refer to 'section' and {$smarty} variable can be used to refer to 'section' and
'foreach' loop properties. See docs for 'foreach' loop properties. See docs for
<link linkend="builtin.functions.section">section</link> and <link linkend="language.function.section">section</link> and
<link linkend="builtin.functions.foreach">foreach</link>. <link linkend="language.function.foreach">foreach</link>.
</para> </para>
</sect3> </sect3>
</sect2> </sect2>
@@ -2560,15 +2560,15 @@ OUTPUT:
</sect2> </sect2>
</sect1> </sect1>
<sect1 id="language.custom.functions"> <sect1 id="language.custom.functions.top">
<title>Custom Functions</title> <title>Custom Functions</title>
<para> <para>
Smarty comes with several additional functions that you can Smarty comes with several custom functions that you can
use in the templates. use in the templates.
</para> </para>
<sect2 id="language.more.functions"> <sect2 id="language.custom.functions">
<title>Additional Functions</title> <title>Custom Functions</title>
<sect3 id="language.function.assign"> <sect3 id="language.function.assign">
<title>assign</title> <title>assign</title>
<informaltable frame=all> <informaltable frame=all>

View File

@@ -24,8 +24,8 @@
<listitem><para>No template parsing overhead, only compiles once.</para></listitem> <listitem><para>No template parsing overhead, only compiles once.</para></listitem>
<listitem><para>It is smart about recompiling only the template <listitem><para>It is smart about recompiling only the template
files that have changed.</para></listitem> files that have changed.</para></listitem>
<listitem><para>You can make <link linkend="bundled.plugins.commands">custom <listitem><para>You can make <link linkend="language.custom.functions">custom
functions</link> and custom <link linkend="variable.modifiers">variable functions</link> and custom <link linkend="language.modifiers">variable
modifiers</link>, so the template language is extremely extensible.</para></listitem> modifiers</link>, so the template language is extremely extensible.</para></listitem>
<listitem><para>Configurable template delimiter tag syntax, so you can use <listitem><para>Configurable template delimiter tag syntax, so you can use
{}, {{}}, &lt;!--{}--&gt;, etc.</para></listitem> {}, {{}}, &lt;!--{}--&gt;, etc.</para></listitem>
@@ -65,7 +65,7 @@
linkend="variable.cache.lifetime">expires</link>, regenerating a new linkend="variable.cache.lifetime">expires</link>, regenerating a new
one. The default cache expire time can be configured from the one. The default cache expire time can be configured from the
class. The exception to the rule is the <link class. The exception to the rule is the <link
linkend="builtin.functions.insert">insert</link> tag. Anything linkend="language.function.insert">insert</link> tag. Anything
generated by the insert tag is not cached, but run dynamically on generated by the insert tag is not cached, but run dynamically on
every invocation, even within cached content. every invocation, even within cached content.
</para> </para>

View File

@@ -127,7 +127,7 @@
Server variables can be accessed through the Server variables can be accessed through the
$smarty variable, such as {$smarty.server.SCRIPT_NAME}. See the $smarty variable, such as {$smarty.server.SCRIPT_NAME}. See the
section on the section on the
<link linkend="builtin.variable.smarty">$smarty</link> variable. <link linkend="language.variables.smarty">$smarty</link> variable.
</para> </para>
</note> </note>
</sect2> </sect2>
@@ -256,7 +256,7 @@
This tells Smarty how to handle PHP code embedded in the This tells Smarty how to handle PHP code embedded in the
tempalates. There are four possible settings, default being tempalates. There are four possible settings, default being
SMARTY_PHP_PASSTHRU. Note that this does NOT affect php code SMARTY_PHP_PASSTHRU. Note that this does NOT affect php code
within <link linkend="builtin.functions.php">{php}{/php}</link> within <link linkend="language.function.php">{php}{/php}</link>
tags in the template. tags in the template.
</para> </para>
<itemizedlist> <itemizedlist>
@@ -270,7 +270,7 @@
</itemizedlist> </itemizedlist>
<para> <para>
NOTE: Embedding PHP code into templates is highly discouraged. NOTE: Embedding PHP code into templates is highly discouraged.
Use <link linkend="bundled.plugins.commands">custom functions</link> or Use <link linkend="language.custom.functions">custom functions</link> or
<link linkend="language.modifiers">modifiers</link> instead. <link linkend="language.modifiers">modifiers</link> instead.
</para> </para>
</sect2> </sect2>
@@ -334,7 +334,7 @@
$trusted_dir is only for use when $security is enabled. This is an array $trusted_dir is only for use when $security is enabled. This is an array
of all directories that are considered trusted. Trusted directories are of all directories that are considered trusted. Trusted directories are
where you keep php scripts that are executed directly from the templates where you keep php scripts that are executed directly from the templates
with <link linkend="builtin.functions.include.php">{include_php}</link>. with <link linkend="language.function.include.php">{include_php}</link>.
</para> </para>
</sect2> </sect2>
<sect2 id="variable.left.delimiter"> <sect2 id="variable.left.delimiter">
@@ -708,7 +708,7 @@ $smarty->unregister_resource("db");</programlisting>
<para> <para>
Use this to dynamically register prefilters to run templates Use this to dynamically register prefilters to run templates
through before they are compiled. See <link through before they are compiled. See <link
linkend="section.template.prefilters">template prefilters</link> for linkend="advanced.features.prefilters">template prefilters</link> for
more information on how to setup a prefiltering function. more information on how to setup a prefiltering function.
</para> </para>
</sect2> </sect2>
@@ -735,7 +735,7 @@ $smarty->unregister_resource("db");</programlisting>
<para> <para>
Use this to dynamically register postfilters to run templates Use this to dynamically register postfilters to run templates
through after they are compiled. See <link through after they are compiled. See <link
linkend="template.postfilters">template postfilters</link> for linkend="advanced.features.postfilters">template postfilters</link> for
more information on how to setup a postfiltering function. more information on how to setup a postfiltering function.
</para> </para>
</sect2> </sect2>
@@ -1058,7 +1058,6 @@ $smarty->display("index.tpl");
&lt;!-- Created by Smarty! --&gt; &lt;!-- Created by Smarty! --&gt;
{* rest of template content... *}</programlisting> {* rest of template content... *}</programlisting>
</example> </example>
</sect2>
</sect1> </sect1>
<sect1 id="section.template.cache.handler.func"> <sect1 id="section.template.cache.handler.func">
@@ -1980,7 +1979,7 @@ function smarty_resource_db_trusted($tpl_name, &amp;$smarty)
<sect1 id="plugins.inserts"><title>Inserts</title> <sect1 id="plugins.inserts"><title>Inserts</title>
<para> <para>
Insert plugins are used to implement functions that are invoked by Insert plugins are used to implement functions that are invoked by
<link linkend="builtin.functions.insert"><command>insert</command></link> <link linkend="language.function.insert"><command>insert</command></link>
tags in the template. tags in the template.
</para> </para>
<funcsynopsis> <funcsynopsis>