mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 19:04:27 +02:00
sync with en
This commit is contained in:
@@ -4,10 +4,11 @@
|
|||||||
<chapter id="resources">
|
<chapter id="resources">
|
||||||
<title>Weiterführende Informationen</title>
|
<title>Weiterführende Informationen</title>
|
||||||
<para>
|
<para>
|
||||||
Smarty's Homepage erreicht man unter <ulink url="&url.smarty;">&url.smarty;</ulink>.
|
Smarty's Homepage erreicht man unter <ulink
|
||||||
Sie können der Smarty Mailingliste beitreten in dem
|
url="&url.smarty;">&url.smarty;</ulink>. Sie können der Smarty
|
||||||
sie ein E-mail an &ml.general.sub;. Das Archiv der Liste
|
Mailingliste beitreten in dem sie ein E-mail an
|
||||||
ist hier <ulink url="&url.ml.archive;">&url.ml.archive;</ulink> einsehbar.
|
&ml.general.sub;. Das Archiv der Liste ist hier <ulink
|
||||||
|
url="&url.ml.archive;">&url.ml.archive;</ulink> einsehbar.
|
||||||
</para>
|
</para>
|
||||||
</chapter>
|
</chapter>
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
|
@@ -1,26 +1,35 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.4 Maintainer: andreas Status: ready -->
|
<!-- EN-Revision: 1.6 Maintainer: andreas Status: ready -->
|
||||||
<chapter id="language.combining.modifiers">
|
<chapter id="language.combining.modifiers">
|
||||||
<title>Kombinieren von Modifikatoren</title>
|
<title>Kombinieren von Modifikatoren</title>
|
||||||
<para>
|
<para>
|
||||||
Sie können auf eine Variable so viele Modifikatoren anwenden wie Sie möchten.
|
Sie k<EFBFBD>nnen auf eine Variable so viele Modifikatoren anwenden
|
||||||
Die Modifkatoren werden in der Reihenfolge angewandt, in der sie notiert wurden - von links nach rechts.
|
wie Sie m<>chten. Die Modifkatoren werden in der Reihenfolge
|
||||||
Kombinierte Modifikatoren müssen mit einem <literal>|</literal>-Zeichen (pipe) getrennt werden.
|
angewandt, in der sie notiert wurden - von links nach rechts.
|
||||||
|
Kombinierte Modifikatoren m<>ssen mit einem
|
||||||
|
<literal>|</literal>-Zeichen (pipe) getrennt werden.
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>Kombinieren von Modifikatoren</title>
|
<title>Kombinieren von Modifikatoren</title>
|
||||||
|
<programlisting role="php" >
|
||||||
|
<![CDATA[
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$smarty->assign('articleTitle',
|
||||||
|
'Einem Stadtrat in Salem in Pennsylvania (USA) droht eine
|
||||||
|
zweij<69>hrige Haftstrafe, da eine von ihm gehaltene Rede sechs
|
||||||
|
Minuten l<>nger dauerte, als erlaubt. Die Redezeit ist auf maximal
|
||||||
|
f<>nf Minuten begrenzt.');
|
||||||
|
|
||||||
|
?>
|
||||||
|
]]>
|
||||||
|
</programlisting>
|
||||||
|
<para>
|
||||||
|
Wobei das Template dann folgendes ent<6E>lt:
|
||||||
|
</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
index.php:
|
|
||||||
<?php
|
|
||||||
$smarty = new Smarty;
|
|
||||||
$smarty->assign('articleTitle', 'Smokers are Productive, but Death Cuts Efficiency.');
|
|
||||||
$smarty->display('index.tpl');
|
|
||||||
?>
|
|
||||||
|
|
||||||
index.tpl:
|
|
||||||
|
|
||||||
{$articleTitle}
|
{$articleTitle}
|
||||||
{$articleTitle|upper|spacify}
|
{$articleTitle|upper|spacify}
|
||||||
{$articleTitle|lower|spacify|truncate}
|
{$articleTitle|lower|spacify|truncate}
|
||||||
@@ -33,14 +42,10 @@ index.tpl:
|
|||||||
</para>
|
</para>
|
||||||
<screen>
|
<screen>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
Einem Stadtrat in Salem in Pennsylvania (USA) droht eine zweijährige Haftstrafe, da eine von ihm gehaltene Rede sechs Minuten länger dauerte, als erlaubt. Die Redezeit ist auf maximal fünf Minuten begrenzt.
|
Einem Stadtrat in Salem in Pennsylvania (USA) droht eine (usw.)
|
||||||
|
EINEM STADTRAT IN SALEM IN PENNSYLVANIA (USA) DROHT EINE (usw.)
|
||||||
EINEM STADTRAT IN SALEM IN PENNSYLVANIA (USA) DROHT EINE ZWEIJäHRIGE HAFTSTRAFE, DA EINE VON IHM GEHALTENE REDE SECHS MINUTEN LäNGER DAUERTE, ALS ERLAUBT. DIE REDEZEIT IST AUF MAXIMAL FüNF MINUTEN BEGRENZT.
|
|
||||||
|
|
||||||
e i n e m s t a d t r a t i n s a l e m i n...
|
e i n e m s t a d t r a t i n s a l e m i n...
|
||||||
|
|
||||||
e i n e m s t a d t r a t i n s a l e m i n . . .
|
e i n e m s t a d t r a t i n s a l e m i n . . .
|
||||||
|
|
||||||
e i n e m s t a d t r. . .]]>
|
e i n e m s t a d t r. . .]]>
|
||||||
</screen>
|
</screen>
|
||||||
</example>
|
</example>
|
||||||
|
Reference in New Issue
Block a user