cvs: smarty /docs designers.sgml /docs/de designers.sgml /docs/fr designers.sgml

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1069266181@cvsserver>
messju		Wed Nov 19 13:23:01 2003 EDT

  Modified files:              
    /smarty/docs	designers.sgml 
    /smarty/docs/de	designers.sgml 
    /smarty/docs/fr	designers.sgml 
  Log:
  fix examples of escape-modifier (in docs, docs/de and docs/fr !)
  
  
Index: smarty/docs/designers.sgml
diff -u smarty/docs/designers.sgml:1.84 smarty/docs/designers.sgml:1.85
--- smarty/docs/designers.sgml:1.84	Mon Nov 17 15:34:31 2003
+++ smarty/docs/designers.sgml	Wed Nov 19 13:23:00 2003
@@ -1013,19 +1013,17 @@
 {$articleTitle|escape:"htmlall"} {* escapes ALL html entities *}
 {$articleTitle|escape:"url"}
 {$articleTitle|escape:"quotes"}
-&lt;a
-href="mailto:{$EmailAddress|escape:"hex"}"&gt;{$EmailAddress|escape:"hexentity"}&lt;/a&gt;
+&lt;a href="mailto:{$EmailAddress|escape:"hex"}"&gt;{$EmailAddress|escape:"hexentity"}&lt;/a&gt;
 
 OUTPUT:
 
 'Stiff Opposition Expected to Casketless Funeral Plan'
-'Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan'
-'Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan'
-'Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan'
-'Stiff+Opposition+Expected+to+Casketless+Funeral+Plan'
+&amp;#039;Stiff Opposition Expected to Casketless Funeral Plan&amp;#039;
+&amp;#039;Stiff Opposition Expected to Casketless Funeral Plan&amp;#039;
+&amp;#039;Stiff Opposition Expected to Casketless Funeral Plan&amp;#039;
+%27Stiff+Opposition+Expected+to+Casketless+Funeral+Plan%27
 \'Stiff Opposition Expected to Casketless Funeral Plan\'
-&lt;a
-href="mailto:%62%6f%62%40%6d%65%2e%6e%65%74"&gt;&amp;#x62;&amp;#x6f;&amp;#x62;&amp;#x40;&amp;#x6d;&amp;#x65;&amp;#x2e;&amp;#x6e;&amp;#x65;&amp;#x74;&lt;/a&gt;</programlisting>
+&lt;a href=&quot;mailto:%62%6f%62%40%6d%65%2e%6e%65%74&quot;&gt;&amp;#x62;&amp;#x6f;&amp;#x62;&amp;#x40;&amp;#x6d;&amp;#x65;&amp;#x2e;&amp;#x6e;&amp;#x65;&amp;#x74;&lt;/a&gt;</programlisting>
 </example>
 		</sect1>
 		<sect1 id="language.modifier.indent">
Index: smarty/docs/de/designers.sgml
diff -u smarty/docs/de/designers.sgml:1.10 smarty/docs/de/designers.sgml:1.11
--- smarty/docs/de/designers.sgml:1.10	Thu Nov 13 13:38:30 2003
+++ smarty/docs/de/designers.sgml	Wed Nov 19 13:23:00 2003
@@ -807,25 +807,32 @@
 <example>
 <title>escape (Maskieren)</title>
 <programlisting>
+<programlisting>
+index.php:
+
+$smarty = new Smarty;
+$smarty-&gt;assign('TitreArticle', "'Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee gestohlen.'");
+$smarty-&gt;display('index.tpl');
+
+index.tpl:
+
 {$artikelTitel}
 {$artikelTitel|escape}
 {$artikelTitel|escape:"html"}    {* maskiert &amp; &quot; &#039; &lt; &gt; *}
 {$artikelTitel|escape:"htmlall"} {* maskiert ALLE html Entit&auml;ten *}
 {$artikelTitel|escape:"url"}
 {$artikelTitel|escape:"quotes"}
-&lt;a
-href="mailto:{$EmailAdresse|escape:"hex"}"&gt;{$EmailAdresse|escape:"hexentity"}&lt;/a&gt;
+&lt;a href="mailto:{$EmailAdresse|escape:"hex"}"&gt;{$EmailAdresse|escape:"hexentity"}&lt;/a&gt;
 
 AUSGABE:
 
 'Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee gestohlen.'
-'Zwei%20Unbekannte%20haben%20im%20Lidl%20in%20Monheim%2024%20Pakete%20Kaffee%20gestohlen.'
-'Zwei%20Unbekannte%20haben%20im%20Lidl%20in%20Monheim%2024%20Pakete%20Kaffee%20gestohlen.'
-'Zwei%20Unbekannte%20haben%20im%20Lidl%20in%20Monheim%2024%20Pakete%20Kaffee%20gestohlen.'
-'Zwei+Unbekannte+haben+im+Lidl+in+Monheim+24+Pakete+Kaffee+gestohlen.'
+&amp;#039;Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee gestohlen.&amp;#039;
+&amp;#039;Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee gestohlen.&amp;#039;
+&amp;#039;Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee gestohlen.&amp;#039;
+%27Zwei+Unbekannte+haben+im+Lidl+in+Monheim+24+Pakete+Kaffee+gestohlen.%27
 \'Zwei Unbekannte haben im Lidl in Monheim 24 Pakete Kaffee gestohlen.\'
-&lt;a
-href="mailto:%62%6f%62%40%6d%65%2e%6e%65%74"&gt;&amp;#x62;&amp;#x6f;&amp;#x62;&amp;#x40;&amp;#x6d;&amp;#x65;&amp;#x2e;&amp;#x6e;&amp;#x65;&amp;#x74;&lt;/a&gt;</programlisting>
+&lt;a href=&quot;mailto:%62%6f%62%40%6d%65%2e%6e%65%74&quot;&gt;&amp;#x62;&amp;#x6f;&amp;#x62;&amp;#x40;&amp;#x6d;&amp;#x65;&amp;#x2e;&amp;#x6e;&amp;#x65;&amp;#x74;&lt;/a&gt;</programlisting>
 </example>
 		</sect1>
 		<sect1 id="language.modifier.indent">
Index: smarty/docs/fr/designers.sgml
diff -u smarty/docs/fr/designers.sgml:1.5 smarty/docs/fr/designers.sgml:1.6
--- smarty/docs/fr/designers.sgml:1.5	Thu Nov 13 10:26:40 2003
+++ smarty/docs/fr/designers.sgml	Wed Nov 19 13:23:01 2003
@@ -954,19 +954,17 @@
 {$titreArticle|escape:"htmlall"} {* escapes ALL html entities *}
 {$titreArticle|escape:"url"}
 {$titreArticle|escape:"quotes"}
-&lt;a
-href="mailto:{$EmailAddress|escape:"hex"}"&gt;{$EmailAddress|escape:"hexentity"}&lt;/a&gt;
+&lt;a href="mailto:{$EmailAddress|escape:"hex"}"&gt;{$EmailAddress|escape:"hexentity"}&lt;/a&gt;
 
 SORTIE:
 
 'Stiff Opposition Expected to Casketless Funeral Plan'
-'Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan'
-'Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan'
-'Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan'
-'Stiff+Opposition+Expected+to+Casketless+Funeral+Plan'
+&amp;#039;Stiff Opposition Expected to Casketless Funeral Plan&amp;#039;
+&amp;#039;Stiff Opposition Expected to Casketless Funeral Plan&amp;#039;
+&amp;#039;Stiff Opposition Expected to Casketless Funeral Plan&amp;#039;
+%27Stiff+Opposition+Expected+to+Casketless+Funeral+Plan%27
 \'Stiff Opposition Expected to Casketless Funeral Plan\'
-&lt;a
-href="mailto:%62%6f%62%40%6d%65%2e%6e%65%74"&gt;&amp;#x62;&amp;#x6f;&amp;#x62;&amp;#x40;&amp;#x6d;&amp;#x65;&amp;#x2e;&amp;#x6e;&amp;#x65;&amp;#x74;&lt;/a&gt;</programlisting>
+&lt;a href=&quot;mailto:%62%6f%62%40%6d%65%2e%6e%65%74&quot;&gt;&amp;#x62;&amp;#x6f;&amp;#x62;&amp;#x40;&amp;#x6d;&amp;#x65;&amp;#x2e;&amp;#x6e;&amp;#x65;&amp;#x74;&lt;/a&gt;</programlisting>
 </example>
 		</sect1>
 		<sect1 id="language.modifier.indent">

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.