Re: cvs: smarty /docs/de/designers/language-modifiers language-modifier-escape.xml
"Nuno Lopes" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <000b01c56c4b$2db7bb90$0100a8c0@pc07653> |
Hi,
When updating translation files, you should also update/add the revision
tracking tag for easier maintenaince.
We produce a revcheck report for each language, which can be accessed
temporarly at: http://phpdocmanager.sourceforge.net/revcheck-smarty/
More info at:
http://doc.php.net/php/dochowto/translation-revtrack.php#translation-revcheck-comments
Thanks,
Nuno
----- Original Message -----
> messju Wed Jun 8 12:51:59 2005 EDT
>
> Modified files:
> /smarty/docs/de/designers/language-modifiers
>
> language-modifier-escape.xml
> Log:
> sync with en
>
>
> http://cvs.php.net/diff.php/smarty/docs/de/designers/language-modifiers/language-modifier-escape.xml?r1=1.3&r2=1.4&ty=u
> Index:
> smarty/docs/de/designers/language-modifiers/language-modifier-escape.xml
> diff -u
> smarty/docs/de/designers/language-modifiers/language-modifier-escape.xml:1.3
> smarty/docs/de/designers/language-modifiers/language-modifier-escape.xml:1.4
> ---
> smarty/docs/de/designers/language-modifiers/language-modifier-escape.xml:1.3
> Wed Jun 8 12:40:03 2005
> +++
> smarty/docs/de/designers/language-modifiers/language-modifier-escape.xml
> Wed Jun 8 12:51:56 2005
> @@ -1,6 +1,6 @@
> <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.3 $ -->
> -<!-- EN-Revision: 1.1 Maintainer: andreas Status: ready -->
> +<!-- $Revision: 1.4 $ -->
> +<!-- EN-Revision: 1.5 Maintainer: andreas Status: ready -->
> <sect1 id="language.modifier.escape">
> <title>escape (Maskieren)</title>
> <informaltable frame="all">
> @@ -26,7 +26,7 @@
> <entry>1</entry>
> <entry>string</entry>
> <entry>Nein</entry>
> - <entry>html, htmlall, url, quotes, hex, hexentity</entry>
> + <entry>html, htmlall, url, quotes, hex, hexentity,
> javascript</entry>
> <entry>html</entry>
> <entry>Definiert die zu verwendende Maskierung.</entry>
> </row>
> @@ -43,15 +43,20 @@
> </para>
> <example>
> <title>escape (Maskieren)</title>
> - <programlisting>
> + <programlisting role="php">
> +<![CDATA[
> +<?php
> index.php:
>
> -$smarty = new Smarty;
> $smarty->assign('TitreArticle', "'Zwei Unbekannte haben im Lidl in
> Monheim 24 Pakete Kaffee gestohlen.'");
> -$smarty->display('index.tpl');
> -
> -index.tpl:
> -
> +?>
> +]]>
> + </programlisting>
> + <para>
> + Wobei im Template folgendes steht:
> + </para>
> + <programlisting>
> +<![CDATA[
> {$artikelTitel}
> {$artikelTitel|escape}
> {$artikelTitel|escape:"html"} {* maskiert & " ' < >
> *}
> @@ -59,9 +64,13 @@
> {$artikelTitel|escape:"url"}
> {$artikelTitel|escape:"quotes"}
> <a
> href="mailto:{$EmailAdresse|escape:"hex"}">{$EmailAdresse|escape:"hexentity"}</a>
> -
> -AUSGABE:
> -
> +]]>
> + </programlisting>
> + <para>
> + Ausgabe:
> + </para>
> + <screen>
> +<![CDATA[
> 'Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee gestohlen.'
> &#039;Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee
> gestohlen.&#039;
> &#039;Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee
> gestohlen.&#039;
> @@ -69,8 +78,13 @@
> %27Zwei+Unbekannte+haben+im+Lidl+in+Monheim+24+Pakete+Kaffee+gestohlen.%27
> \'Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee gestohlen.\'
> <a
> href="mailto:%62%6f%62%40%6d%65%2e%6e%65%74">&#x62;&#x6f;&#x62;&#x40;&#x6d;&#x65;&#x2e;&#x6e;&#x65;&#x74;</a>
> - </programlisting>
> +]]>
> + </screen>
> </example>
> + <para>
> + Siehe auch <link linkend="language.escaping">Smarty Parsing
> umgehen</link>
> + und <link linkend="tips.obfuscating.email">Verschleierung von E-mail
> Adressen</link>.
> + </para>
> </sect1>
> <!-- 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