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