mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
sync with en
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.5 Maintainer: andreas Status: ready -->
|
<!-- EN-Revision: 1.6 Maintainer: andreas Status: ready -->
|
||||||
<sect1 id="language.escaping">
|
<sect1 id="language.escaping">
|
||||||
<title>Smarty Parsing umgehen</title>
|
<title>Smarty Parsing umgehen</title>
|
||||||
<para>
|
<para>
|
||||||
|
@@ -1,15 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.2 Maintainer: andreas Status: ready -->
|
<!-- EN-Revision: 1.3 Maintainer: andreas Status: ready -->
|
||||||
<sect1 id="language.math">
|
<sect1 id="language.math">
|
||||||
<title>Math</title>
|
<title>Math</title>
|
||||||
<para>
|
<para>
|
||||||
Mathematische Operationen können direkt auf Variablen verwendet werden.
|
Mathematische Operationen können direkt auf Variablen verwendet werden.
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>Mathematik Beispiele</title>
|
<title>Mathematik Beispiele</title>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
{$foo+1}
|
{$foo+1}
|
||||||
|
|
||||||
{$foo*$bar}
|
{$foo*$bar}
|
||||||
@@ -23,8 +23,13 @@
|
|||||||
{$foo|truncate:"`$fooTruncCount/$barTruncFactor-1`"}
|
{$foo|truncate:"`$fooTruncCount/$barTruncFactor-1`"}
|
||||||
|
|
||||||
{assign var="foo" value="`$foo+$bar`"}
|
{assign var="foo" value="`$foo+$bar`"}
|
||||||
]]></programlisting>
|
]]>
|
||||||
</example>
|
</programlisting>
|
||||||
|
</example>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Siehe auch: <link linkend="language.function.math">{math}-Funktion</link>.
|
||||||
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
Local variables:
|
Local variables:
|
||||||
|
Reference in New Issue
Block a user