cvs: smarty /docs/de preface.xml /docs/de/appendixes resources.xml /docs/de/designers language-combining-modifiers.xml
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1118941597@cvsserver> |
messju Thu Jun 16 13:06:37 2005 EDT
Modified files:
/smarty/docs/de preface.xml
/smarty/docs/de/appendixes resources.xml
/smarty/docs/de/designers language-combining-modifiers.xml
Log:
sync with en
http://cvs.php.net/diff.php/smarty/docs/de/preface.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/de/preface.xml
diff -u smarty/docs/de/preface.xml:1.3 smarty/docs/de/preface.xml:1.4
--- smarty/docs/de/preface.xml:1.3 Fri Jun 10 05:32:59 2005
+++ smarty/docs/de/preface.xml Thu Jun 16 13:06:36 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.2 Maintainer: andreas Status: ready -->
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<preface id="preface">
<title>Vorwort</title>
<para>
http://cvs.php.net/diff.php/smarty/docs/de/appendixes/resources.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/de/appendixes/resources.xml
diff -u smarty/docs/de/appendixes/resources.xml:1.3 smarty/docs/de/appendixes/resources.xml:1.4
--- smarty/docs/de/appendixes/resources.xml:1.3 Fri Jul 16 10:32:27 2004
+++ smarty/docs/de/appendixes/resources.xml Thu Jun 16 13:06:36 2005
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.3 Maintainer: andreas Status: ready -->
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<chapter id="resources">
- <title>Weiterführende Informationen</title>
- <para>
- Smarty's Homepage erreicht man unter <ulink url="&url.smarty;">&url.smarty;</ulink>.
- Sie können der Smarty Mailingliste beitreten in dem
- sie ein E-mail an &ml.general.sub;. Das Archiv der Liste
- ist hier <ulink url="&url.ml.archive;">&url.ml.archive;</ulink> einsehbar.
- </para>
+ <title>Weiterführende Informationen</title>
+ <para>
+ Smarty's Homepage erreicht man unter <ulink
+ url="&url.smarty;">&url.smarty;</ulink>. Sie können der Smarty
+ Mailingliste beitreten in dem sie ein E-mail an
+ &ml.general.sub;. Das Archiv der Liste ist hier <ulink
+ url="&url.ml.archive;">&url.ml.archive;</ulink> einsehbar.
+ </para>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/smarty/docs/de/designers/language-combining-modifiers.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/de/designers/language-combining-modifiers.xml
diff -u smarty/docs/de/designers/language-combining-modifiers.xml:1.2 smarty/docs/de/designers/language-combining-modifiers.xml:1.3
--- smarty/docs/de/designers/language-combining-modifiers.xml:1.2 Fri Jul 16 10:32:28 2004
+++ smarty/docs/de/designers/language-combining-modifiers.xml Thu Jun 16 13:06:37 2005
@@ -1,26 +1,35 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.4 Maintainer: andreas Status: ready -->
- <chapter id="language.combining.modifiers">
- <title>Kombinieren von Modifikatoren</title>
- <para>
- Sie können auf eine Variable so viele Modifikatoren anwenden wie Sie möchten.
- Die Modifkatoren werden in der Reihenfolge angewandt, in der sie notiert wurden - von links nach rechts.
- Kombinierte Modifikatoren müssen mit einem <literal>|</literal>-Zeichen (pipe) getrennt werden.
- </para>
- <example>
- <title>Kombinieren von Modifikatoren</title>
- <programlisting>
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.6 Maintainer: andreas Status: ready -->
+<chapter id="language.combining.modifiers">
+ <title>Kombinieren von Modifikatoren</title>
+ <para>
+ Sie können auf eine Variable so viele Modifikatoren anwenden
+ wie Sie möchten. Die Modifkatoren werden in der Reihenfolge
+ angewandt, in der sie notiert wurden - von links nach rechts.
+ Kombinierte Modifikatoren müssen mit einem
+ <literal>|</literal>-Zeichen (pipe) getrennt werden.
+ </para>
+ <example>
+ <title>Kombinieren von Modifikatoren</title>
+ <programlisting role="php" >
<![CDATA[
-index.php:
<?php
-$smarty = new Smarty;
-$smarty->assign('articleTitle', 'Smokers are Productive, but Death Cuts Efficiency.');
-$smarty->display('index.tpl');
-?>
-index.tpl:
+$smarty->assign('articleTitle',
+ '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.');
+?>
+]]>
+ </programlisting>
+ <para>
+ Wobei das Template dann folgendes entält:
+ </para>
+ <programlisting>
+<![CDATA[
{$articleTitle}
{$articleTitle|upper|spacify}
{$articleTitle|lower|spacify|truncate}
@@ -28,22 +37,18 @@
{$articleTitle|lower|spacify|truncate:30:". . ."}
]]>
</programlisting>
- <para>
- AUSGABE:
- </para>
- <screen>
+ <para>
+ AUSGABE:
+ </para>
+ <screen>
<![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 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.)
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. . .]]>
</screen>
- </example>
+ </example>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php