mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
indentiation
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<sect1 id="language.variables.smarty">
|
<sect1 id="language.variables.smarty">
|
||||||
<title>{$smarty} reserved variable</title>
|
<title>{$smarty} reserved variable</title>
|
||||||
<para>
|
<para>
|
||||||
The PHP reserved {$smarty} variable can be used to access several
|
The PHP reserved {$smarty} variable can be used to access several
|
||||||
special template variables. The full list of them follows.
|
special template variables. The full list of them follows.
|
||||||
</para>
|
</para>
|
||||||
|
<sect2 id="language.variables.smarty.request">
|
||||||
<sect2 id="language.variables.smarty.request">
|
|
||||||
<title>Request variables</title>
|
<title>Request variables</title>
|
||||||
<para>
|
<para>
|
||||||
The <ulink url="&url.php-manual;reserved.variables">request variables
|
The <ulink url="&url.php-manual;reserved.variables">request variables
|
||||||
@@ -51,9 +50,8 @@
|
|||||||
proposed way to access this value.
|
proposed way to access this value.
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
<sect2 id="language.variables.smarty.now">
|
||||||
<sect2 id="language.variables.smarty.now">
|
|
||||||
<title>{$smarty.now}</title>
|
<title>{$smarty.now}</title>
|
||||||
<para>
|
<para>
|
||||||
The current <ulink url="&url.php-manual;function.time">timestamp</ulink>
|
The current <ulink url="&url.php-manual;function.time">timestamp</ulink>
|
||||||
@@ -62,7 +60,7 @@
|
|||||||
and can be passed directly to the
|
and can be passed directly to the
|
||||||
<link linkend="language.modifier.date.format">date_format</link>
|
<link linkend="language.modifier.date.format">date_format</link>
|
||||||
modifier for display purposes.
|
modifier for display purposes.
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>using {$smarty.now}</title>
|
<title>using {$smarty.now}</title>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
@@ -76,8 +74,7 @@
|
|||||||
<sect2 id="language.variables.smarty.const">
|
<sect2 id="language.variables.smarty.const">
|
||||||
<title>{$smarty.const}</title>
|
<title>{$smarty.const}</title>
|
||||||
<para>
|
<para>
|
||||||
You can access PHP constant values directly.
|
You can access PHP constant values directly. See also <link
|
||||||
See also <link
|
|
||||||
linkend="smarty.constants">smarty constants</link>
|
linkend="smarty.constants">smarty constants</link>
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
@@ -93,23 +90,22 @@
|
|||||||
<sect2 id="language.variables.smarty.capture">
|
<sect2 id="language.variables.smarty.capture">
|
||||||
<title>{$smarty.capture}</title>
|
<title>{$smarty.capture}</title>
|
||||||
<para>
|
<para>
|
||||||
The output captured via
|
The output captured via <link
|
||||||
<link linkend="language.function.capture">{capture}..{/capture}</link>
|
linkend="language.function.capture">{capture}..{/capture}</link>
|
||||||
construct can be
|
construct can be accessed using {$smarty} variable. See section on
|
||||||
accessed using {$smarty} variable. See section on
|
<link linkend="language.function.capture">{capture}</link> for an
|
||||||
<link linkend="language.function.capture">{capture}</link> for an example.
|
example.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="language.variables.smarty.config">
|
<sect2 id="language.variables.smarty.config">
|
||||||
<title>{$smarty.config}</title>
|
<title>{$smarty.config}</title>
|
||||||
<para>
|
<para>
|
||||||
{$smarty} variable can be used to refer to loaded
|
{$smarty} variable can be used to refer to loaded <link
|
||||||
<link
|
|
||||||
linkend="language.config.variables">config variables</link>.
|
linkend="language.config.variables">config variables</link>.
|
||||||
{$smarty.config.foo} is a synonym for {#foo#}. See the section on
|
{$smarty.config.foo} is a synonym for {#foo#}. See the section on
|
||||||
<link
|
<link linkend="language.function.config.load">{config_load}</link>
|
||||||
linkend="language.function.config.load">{config_load}</link> for an example.
|
for an example.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
@@ -148,10 +144,6 @@
|
|||||||
<link linkend="language.config.variables">Config Variables</link>
|
<link linkend="language.config.variables">Config Variables</link>
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
Local variables:
|
Local variables:
|
||||||
@@ -173,5 +165,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
|||||||
vim: et tw=78 syn=sgml
|
vim: et tw=78 syn=sgml
|
||||||
vi: ts=1 sw=1
|
vi: ts=1 sw=1
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user