cvs: smarty /docs/fr/designers/language-basic-syntax language-syntax-quotes.xml /docs/fr/designers/language-builtin-functions language-function-include.xml language-function-ldelim.xml language-function-literal.xml language-function-section.xml language-function-strip.xml

"Yannick Torres" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsyannick1103663293@cvsserver>
yannick		Tue Dec 21 16:08:13 2004 EDT

  Modified files:              
    /smarty/docs/fr/designers/language-basic-syntax	
                                                   	language-syntax-quotes.xml 
    /smarty/docs/fr/designers/language-builtin-functions	
                                                        	language-function-include.xml 
                                                        	language-function-ldelim.xml 
                                                        	language-function-literal.xml 
                                                        	language-function-section.xml 
                                                        	language-function-strip.xml 
  Log:
  sync with EN

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yannick-20041221160813.txt (text/plain, 23.3 KB)
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml
diff -u smarty/docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml:1.4 smarty/docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml:1.5
--- smarty/docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml:1.4	Sun Nov  7 21:10:33 2004
+++ smarty/docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml	Tue Dec 21 16:08:13 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
 <sect1 id="language.syntax.quotes">
  <title>Variables insérées dans des chaînes de caractères</title>
  <para>
@@ -8,7 +8,9 @@
   chaînes entre guillemets, du moment que leur nom est exclusivement composé
   de chiffres, lettres, underscores et crochets. Si le nom de la variable
   contient tout autre caractère (point, référence à un objet, etc.)
-  la variable doit être entourée d'apostrophes inverses (`).
+  la variable doit être entourée d'apostrophes inverses (`). Vous ne pouvez jamais
+  insérer de modifieurs, ils doivent toujours être appliquer à l'extérieur des
+  guillemets.
  </para>
  <example>
   <title>Syntaxe d'insertion de variables dans des chaînes</title>
@@ -21,6 +23,7 @@
 {func var="test $foo[bar] test"}  <-- comprends $foo[bar]
 {func var="test $foo.bar test"}   <-- comprends $foo (not $foo.bar)
 {func var="test `$foo.bar` test"} <-- comprends $foo.bar
+{func var="test `$foo.bar` test"|escape} <-- modifieurs à l'extérieur des guillemets !
 
 EXEMPLE PRATIQUE:
 {include file="subdir/$tpl_name.tpl"} <-- remplace $tpl_name avec la valeur
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-builtin-functions/language-function-include.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-builtin-functions/language-function-include.xml
diff -u smarty/docs/fr/designers/language-builtin-functions/language-function-include.xml:1.3 smarty/docs/fr/designers/language-builtin-functions/language-function-include.xml:1.4
--- smarty/docs/fr/designers/language-builtin-functions/language-function-include.xml:1.3	Fri Jul  2 16:35:23 2004
+++ smarty/docs/fr/designers/language-builtin-functions/language-function-include.xml	Tue Dec 21 16:08:13 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
 <sect1 id="language.function.include">
  <title>include</title>
  <informaltable frame="all">
@@ -80,7 +80,7 @@
 
 {* Le corps du template vient ici *}
 
-{include file="footer.tpl" logo="http://mon.domaine.com/logo.gif"}</programlisting>
+{include file="footer.tpl" logo="http://mon.example.com/logo.gif"}</programlisting>
  </example>
  <para>
   Utilisez la syntaxe <link
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-builtin-functions/language-function-ldelim.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-builtin-functions/language-function-ldelim.xml
diff -u smarty/docs/fr/designers/language-builtin-functions/language-function-ldelim.xml:1.3 smarty/docs/fr/designers/language-builtin-functions/language-function-ldelim.xml:1.4
--- smarty/docs/fr/designers/language-builtin-functions/language-function-ldelim.xml:1.3	Fri Jul  2 16:35:23 2004
+++ smarty/docs/fr/designers/language-builtin-functions/language-function-ldelim.xml	Tue Dec 21 16:08:13 2004
@@ -1,28 +1,35 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
 <sect1 id="language.function.ldelim">
  <title>ldelim,rdelim</title>
  <para>
   ldelim et rdelim sont utilisés pour afficher les délimiteurs en tant
-  que tels, dans notre cas "{" ou "}". Le moteur de template tentera
-  toujours d'interpréter le contenu entre les délimiteurs, c'est donc
-  une façon d'afficher ces derniers sans interférer avec Smarty.
+  que tels, dans notre cas, "{" ou "}". Vous pouvez toujours utiliser <link
+  linkend="language.function.literal">{literal}{/literal}</link> pour échapper
+  des blocks de texte.
+  Voir aussi <link linkend="language.variables.smarty.ldelim">{$smarty.ldelim}</link>
+  et <link linkend="language.variables.smarty.rdelim">{$smarty.rdelim}</link>.
  </para>
  <example>
   <title>ldelim, rdelim</title>
-<programlisting>
+  <programlisting>
+<![CDATA[
 {* Affiche les délimiteurs de template *}
 
 {ldelim}nomFonction{rdelim} est la façon dont sont appelées les fonctions dans Smarty !
-
-
-SORTIE:
-
-{nomFonction}  est la façon dont sont appelées les fonctions dans Smarty !
-</programlisting>
- </example>
-</sect1>
+]]>
+   </programlisting>
+   <para>
+    Affichera :
+   </para>
+   <screen>
+<![CDATA[
+{nomFonction} est la façon dont sont appelées les fonctions dans Smarty !
+]]>
+   </screen>
+  </example>
+ </sect1>
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-builtin-functions/language-function-literal.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-builtin-functions/language-function-literal.xml
diff -u smarty/docs/fr/designers/language-builtin-functions/language-function-literal.xml:1.3 smarty/docs/fr/designers/language-builtin-functions/language-function-literal.xml:1.4
--- smarty/docs/fr/designers/language-builtin-functions/language-function-literal.xml:1.3	Fri Jul  2 16:35:23 2004
+++ smarty/docs/fr/designers/language-builtin-functions/language-function-literal.xml	Tue Dec 21 16:08:13 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
 <sect1 id="language.function.literal">
  <title>literal</title>
  <para>
@@ -9,28 +9,34 @@
   de l'emplois d'éléments tels que javascript, acolades et autres
   qui peuvent confondre le moteur de template. Tout le contenu situé
   entre les balises {literal}{/literal} ne sera pas interprété, et
-  affiché comme du contenu statique.
+  affiché comme du contenu statique. Si vous voulez inclure des tags de template
+  dans votre block litéral, utilisez plutôt <link
+  linkend="language.function.ldelim">{ldelim}{rdelim}</link> pour échapper
+  les délimiteurs individuels.
  </para>
  <example>
   <title>balises literal</title>
-<programlisting>
+  <programlisting>
+<![CDATA[
 {literal}
-	&lt;script language=javascript&gt;
+<script language=javascript>
 
-        	&lt;!--
-                	function isblank(field) {
-                	if (field.value == '') 
-                        	{ return false; }
-                	else
-                        	{
-                        	document.loginform.submit();
-                        	return true;
-                        	}
-                	}
-        	// --&gt;
+<!--
+  function isblank(field) {
+   if (field.value == '') 
+      { return false; }
+   else
+      {
+         document.loginform.submit();
+         return true;
+       }
+    }
+// -->
 
-	&lt;/script&gt;
-{/literal}</programlisting>
+</script>
+{/literal}
+]]>
+  </programlisting>
  </example>
 </sect1>
 <!-- Keep this comment at the end of the file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-builtin-functions/language-function-section.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-builtin-functions/language-function-section.xml
diff -u smarty/docs/fr/designers/language-builtin-functions/language-function-section.xml:1.4 smarty/docs/fr/designers/language-builtin-functions/language-function-section.xml:1.5
--- smarty/docs/fr/designers/language-builtin-functions/language-function-section.xml:1.4	Fri Jul  2 16:35:23 2004
+++ smarty/docs/fr/designers/language-builtin-functions/language-function-section.xml	Tue Dec 21 16:08:13 2004
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.5 Maintainer: gerald Status: ready -->
 <sect1 id="language.function.section">
- <title>section,sectionelse</title>
+ <title>section, sectionelse</title>
  <informaltable frame="all">
   <tgroup cols="5">
    <colspec colname="param" align="center" />
@@ -29,12 +29,10 @@
     </row>
     <row>
      <entry>loop</entry>
-     <entry>[$nom_variable]</entry>
+     <entry>mixed</entry>
      <entry>Oui</entry>
      <entry><emphasis>n/a</emphasis></entry>
-     <entry>le nom de la variable qui détermine le nombre de
-      fois que la boucle sera exécutée.
-     </entry>
+     <entry>valeur qui détermine le nombre de fois que la boucle sera exécutée.</entry>
     </row>
     <row>
      <entry>start</entry>
@@ -164,13 +162,13 @@
    $type_contact[client] est un tableau de type de contact pour le client
    courant. *}
 {section name=client loop=$idClient}
-	id: {$idClient[client]}&lt;br&gt;
-	nom: {$nom[client]}&lt;br&gt;
-	addresse: {$addresse[client]}&lt;br&gt;
-	{section name=contact loop=$type_contact[client]}
-		{$type_contact[client][contact]}: {$info_contact[client][contact]}&lt;br&gt;
-	{/section}
-	&lt;p&gt;
+  id: {$idClient[client]}&lt;br&gt;
+  nom: {$nom[client]}&lt;br&gt;
+  addresse: {$addresse[client]}&lt;br&gt;
+  {section name=contact loop=$type_contact[client]}
+    {$type_contact[client][contact]}: {$info_contact[client][contact]}&lt;br&gt;
+  {/section}
+  &lt;p&gt;
 {/section}
 
 
@@ -181,21 +179,21 @@
 addresse: 253 N 45th&lt;br&gt;
 telephone: 555-555-5555&lt;br&gt;
 telephone portable: 555-555-5555&lt;br&gt;
-e-mail: [email protected]&lt;br&gt;
+e-mail: [email protected]&lt;br&gt;
 &lt;p&gt;
 id: 1001&lt;br&gt;
 nom: Jack Jones&lt;br&gt;
 addresse: 417 Mulberry ln&lt;br&gt;
 telephone: 555-555-5555&lt;br&gt;
 telephone portable: 555-555-5555&lt;br&gt;
-e-mail: [email protected]&lt;br&gt;
+e-mail: [email protected]&lt;br&gt;
 &lt;p&gt;
 id: 1002&lt;br&gt;
 nom: Jane Munson&lt;br&gt;
 addresse: 5605 apple st&lt;br&gt;
 telephone: 555-555-5555&lt;br&gt;
 telephone portable: 555-555-5555&lt;br&gt;
-e-mail: [email protected]&lt;br&gt;
+e-mail: [email protected]&lt;br&gt;
 &lt;p&gt;</programlisting>
  </example>
  
@@ -204,10 +202,10 @@
 <programlisting>
 {* Exemple d'affichage d'un tableau associatif dans une section *}
 {section name=client loop=$contacts}
-	nom: {$contacts[client].name}&lt;br&gt;
-	telephone: {$contacts[client].home}&lt;br&gt;
-	portable: {$contacts[client].cell}&lt;br&gt;
-	e-mail: {$contacts[client].email}&lt;p&gt;
+  nom: {$contacts[client].name}&lt;br&gt;
+  telephone: {$contacts[client].home}&lt;br&gt;
+  portable: {$contacts[client].cell}&lt;br&gt;
+  e-mail: {$contacts[client].email}&lt;p&gt;
 {/section}
 
 
@@ -216,15 +214,15 @@
 nom: John Smith&lt;br&gt;
 telephone: 555-555-5555&lt;br&gt;
 portable: 555-555-5555&lt;br&gt;
-e-mail: [email protected]&lt;p&gt;
+e-mail: [email protected]&lt;p&gt;
 nom: Jack Jones&lt;br&gt;
 telephone: 555-555-5555&lt;br&gt;
 portable: 555-555-5555&lt;br&gt;
-e-mail: [email protected]&lt;p&gt;
+e-mail: [email protected]&lt;p&gt;
 nom: Jane Munson&lt;br&gt;
 telephone: 555-555-5555&lt;br&gt;
 portable: 555-555-5555&lt;br&gt;
-e-mail: [email protected]&lt;p&gt;</programlisting>
+e-mail: [email protected]&lt;p&gt;</programlisting>
  </example>
  
  
@@ -234,9 +232,9 @@
 <programlisting>
 {* sectionelse est exécuté s'il n'existe aucune valeur dans idClient *}
 {section name=client loop=$idClient}
-	id: {$idClient[client]}&lt;br&gt;
+  id: {$idClient[client]}&lt;br&gt;
 {sectionelse}
-	Aucune valeur dans $idClient.
+  Aucune valeur dans $idClient.
 {/section}</programlisting>
  </example>
  <para>
@@ -268,16 +266,16 @@
   <example>
    <title>propriété de section index</title>
 <programlisting>
-	{section name=client loop=$idClient}
-	{$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
-	{/section}
+  {section name=client loop=$idClient}
+  {$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
+  {/section}
 
 
-	SORTIE:
+  SORTIE:
 
-	0 id: 1000&lt;br&gt;
-	1 id: 1001&lt;br&gt;
-	2 id: 1002&lt;br&gt;
+  0 id: 1000&lt;br&gt;
+  1 id: 1001&lt;br&gt;
+  2 id: 1002&lt;br&gt;
 </programlisting>
   </example>
  </sect2>
@@ -290,23 +288,23 @@
   <example>
    <title>propriété de section index_prev</title>
 <programlisting>
-	{section name=client loop=$idClient}
-	{$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
-	{* Pour votre information, $idClient[client.index] and $idClient[client] sont identiques *}
-	{if $idClient[client.index_prev] ne $idClient[client.index]}
-    	L'id du client à été modifié&lt;br&gt;
-	{/if}
-	{/section}
-
-
-	SORTIE:
-
-	0 id: 1000&lt;br&gt;
-    	L'id du client à été modifié&lt;br&gt;
-	1 id: 1001&lt;br&gt;
-    	L'id du client à été modifié&lt;br&gt;
-	2 id: 1002&lt;br&gt;
-    	L'id du client à été modifié&lt;br&gt;
+  {section name=client loop=$idClient}
+  {$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
+  {* Pour votre information, $idClient[client.index] and $idClient[client] sont identiques *}
+  {if $idClient[client.index_prev] ne $idClient[client.index]}
+    L'id du client à été modifié&lt;br&gt;
+  {/if}
+  {/section}
+
+
+  SORTIE:
+
+  0 id: 1000&lt;br&gt;
+  L'id du client à été modifié&lt;br&gt;
+  1 id: 1001&lt;br&gt;
+  L'id du client à été modifié&lt;br&gt;
+  2 id: 1002&lt;br&gt;
+  L'id du client à été modifié&lt;br&gt;
 </programlisting>
   </example>
  </sect2>
@@ -320,23 +318,23 @@
   <example>
    <title>propriété de section index_next</title>
 <programlisting>
-	{section name=client loop=$idClient}
-	{$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
-	{* Pour votre information, $idClient[client.index] and $idClient[client] sont identiques *}
-	{if $idClient[client.index_next] ne $idClient[client.index]}
-    	L'id du client va changer&lt;br&gt;
-	{/if}
-	{/section}
-
-
-	SORTIE:
-
-	0 id: 1000&lt;br&gt;
-    	L'id du client va changer&lt;br&gt;
-	1 id: 1001&lt;br&gt;
-    	L'id du client va changer&lt;br&gt;
-	2 id: 1002&lt;br&gt;
-    	L'id du client va changer&lt;br&gt;
+  {section name=client loop=$idClient}
+  {$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
+  {* Pour votre information, $idClient[client.index] and $idClient[client] sont identiques *}
+  {if $idClient[client.index_next] ne $idClient[client.index]}
+  L'id du client va changer&lt;br&gt;
+  {/if}
+  {/section}
+
+
+  SORTIE:
+
+  0 id: 1000&lt;br&gt;
+  L'id du client va changer&lt;br&gt;
+  1 id: 1001&lt;br&gt;
+  L'id du client va changer&lt;br&gt;
+  2 id: 1002&lt;br&gt;
+  L'id du client va changer&lt;br&gt;
 </programlisting>
   </example>
  </sect2>
@@ -354,27 +352,27 @@
   <example>
    <title>propriété iteration de section</title>
 <programlisting>
-	{section name=client loop=$idClient start=5 step=2}
-	Iteration courante: {$smarty.section.client.iteration}&lt;br&gt;
-	{$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
-	{* Pour votre information, $idClient[client.index] and $idClient[client] sont identiques *}
-	{if $idCLient[client.index_next] ne $idClient[client.index]}
-    	L'id du client va changer&lt;br&gt;
-	{/if}
-	{/section}
-
-
-	SORTIE:
-
-	Iteration courante: 1
-	5 id: 1000&lt;br&gt;
-    	L'id du client va changer&lt;br&gt;
-	Iteration courante: 2
-	7 id: 1001&lt;br&gt;
-    	L'id du client va changer&lt;br&gt;
-	Iteration courante: 3
-	9 id: 1002&lt;br&gt;
-    	L'id du client va changer&lt;br&gt;
+  {section name=client loop=$idClient start=5 step=2}
+  Iteration courante: {$smarty.section.client.iteration}&lt;br&gt;
+  {$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
+  {* Pour votre information, $idClient[client.index] and $idClient[client] sont identiques *}
+  {if $idCLient[client.index_next] ne $idClient[client.index]}
+    L'id du client va changer&lt;br&gt;
+  {/if}
+  {/section}
+
+
+  SORTIE:
+
+  Iteration courante: 1
+  5 id: 1000&lt;br&gt;
+    L'id du client va changer&lt;br&gt;
+  Iteration courante: 2
+  7 id: 1001&lt;br&gt;
+    L'id du client va changer&lt;br&gt;
+  Iteration courante: 3
+  9 id: 1002&lt;br&gt;
+    L'id du client va changer&lt;br&gt;
 </programlisting>
   </example>
  </sect2>
@@ -386,27 +384,27 @@
   <example>
    <title>propriété first de la section</title>
 <programlisting>
-	{section name=client loop=$idClient}
-	{if $smarty.section.client.first}
-    	&lt;table&gt;
-	{/if}
-
-	&lt;tr&gt;&lt;td&gt;{$smarty.section.client.index} id:
-        	{$idClient[client]}&lt;/td&gt;&lt;/tr&gt;
-
-	{if $smarty.section.client.last}
-    	&lt;/table&gt;
-	{/if}
-	{/section}
-
-
-	SORTIE:
-
-	&lt;table&gt;
-	&lt;tr&gt;&lt;td&gt;0 id: 1000&lt;/td&gt;&lt;/tr&gt;
-	&lt;tr&gt;&lt;td&gt;1 id: 1001&lt;/td&gt;&lt;/tr&gt;
-	&lt;tr&gt;&lt;td&gt;2 id: 1002&lt;/td&gt;&lt;/tr&gt;
-	&lt;/table&gt;
+  {section name=client loop=$idClient}
+  {if $smarty.section.client.first}
+  &lt;table&gt;
+  {/if}
+
+  &lt;tr&gt;&lt;td&gt;{$smarty.section.client.index} id:
+     {$idClient[client]}&lt;/td&gt;&lt;/tr&gt;
+
+  {if $smarty.section.client.last}
+    &lt;/table&gt;
+  {/if}
+  {/section}
+
+
+  SORTIE:
+
+  &lt;table&gt;
+  &lt;tr&gt;&lt;td&gt;0 id: 1000&lt;/td&gt;&lt;/tr&gt;
+  &lt;tr&gt;&lt;td&gt;1 id: 1001&lt;/td&gt;&lt;/tr&gt;
+  &lt;tr&gt;&lt;td&gt;2 id: 1002&lt;/td&gt;&lt;/tr&gt;
+  &lt;/table&gt;
 </programlisting>
   </example>
  </sect2>
@@ -418,27 +416,27 @@
   <example>
    <title>Propriété last de section</title>
 <programlisting>
-	{section name=client loop=$idClient}
-	{if $smarty.section.client.first}
-    	&lt;table&gt;
-	{/if}
-
-	&lt;tr&gt;&lt;td&gt;{$smarty.section.client.index} id:
-        	{$idClient[client]}&lt;/td&gt;&lt;/tr&gt;
-
-	{if $smarty.section.client.last}
-    	&lt;/table&gt;
-	{/if}
-	{/section}
-
-
-	SORTIE:
-
-	&lt;table&gt;
-	&lt;tr&gt;&lt;td&gt;0 id: 1000&lt;/td&gt;&lt;/tr&gt;
-	&lt;tr&gt;&lt;td&gt;1 id: 1001&lt;/td&gt;&lt;/tr&gt;
-	&lt;tr&gt;&lt;td&gt;2 id: 1002&lt;/td&gt;&lt;/tr&gt;
-	&lt;/table&gt;
+  {section name=client loop=$idClient}
+  {if $smarty.section.client.first}
+    &lt;table&gt;
+  {/if}
+
+  &lt;tr&gt;&lt;td&gt;{$smarty.section.client.index} id:
+    {$idClient[client]}&lt;/td&gt;&lt;/tr&gt;
+
+  {if $smarty.section.client.last}
+    &lt;/table&gt;
+  {/if}
+  {/section}
+
+
+  SORTIE:
+
+  &lt;table&gt;
+  &lt;tr&gt;&lt;td&gt;0 id: 1000&lt;/td&gt;&lt;/tr&gt;
+  &lt;tr&gt;&lt;td&gt;1 id: 1001&lt;/td&gt;&lt;/tr&gt;
+  &lt;tr&gt;&lt;td&gt;2 id: 1002&lt;/td&gt;&lt;/tr&gt;
+  &lt;/table&gt;
 </programlisting>
   </example>
  </sect2>
@@ -452,16 +450,16 @@
   <example>
    <title>propriété rownum de section</title>
 <programlisting>
-	{section name=client loop=$idClient}
-	{$smarty.section.client.rownum} id: {$idClient[client]}&lt;br&gt;
-	{/section}
+  {section name=client loop=$idClient}
+  {$smarty.section.client.rownum} id: {$idClient[client]}&lt;br&gt;
+  {/section}
 
 
-	SORTIE:
+  SORTIE:
 
-	1 id: 1000&lt;br&gt;
-	2 id: 1001&lt;br&gt;
-	3 id: 1002&lt;br&gt;
+  1 id: 1000&lt;br&gt;
+  2 id: 1001&lt;br&gt;
+  3 id: 1002&lt;br&gt;
 </programlisting>
   </example>
  </sect2>
@@ -474,19 +472,19 @@
   <example>
    <title>Propriété de section index</title>
 <programlisting>
-	{section name=client loop=$idClient}
-	{$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
-	{/section}
+  {section name=client loop=$idClient}
+  {$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
+  {/section}
 
-	Il y eu {$smarty.section.client.loop} clients d'affichés.
+  Il y eu {$smarty.section.client.loop} clients d'affichés.
 
-	SORTIE:
+  SORTIE:
 
-	0 id: 1000&lt;br&gt;
-	1 id: 1001&lt;br&gt;
-	2 id: 1002&lt;br&gt;
+  0 id: 1000&lt;br&gt;
+  1 id: 1001&lt;br&gt;
+  2 id: 1002&lt;br&gt;
 
-	il y eu 3 clients d'affichés.
+  il y eu 3 clients d'affichés.
 </programlisting>
   </example>
  </sect2>
@@ -501,26 +499,26 @@
   <example>
    <title>section, attribut show</title>
 <programlisting>
-	{* $show_client_info a pu être passé par le script PHP,
-	 pour déterminer si oui ou non on souhaite afficher la section *}
-	{section name=client loop=$idClient show=$show_client_info}
-	{$smarty.section.client.rownum} id: {$idClient[client]}&lt;br&gt;
-	{/section}
-
-	{if $smarty.section.client.show}
-	la section à été affichée.
-	{else}
-	la section n'a pas été affichée.
-	{/if}
-
-
-	SORTIE:
-
-	1 id: 1000&lt;br&gt;
-	2 id: 1001&lt;br&gt;
-	3 id: 1002&lt;br&gt;
+  {* $show_client_info a pu être passé par le script PHP,
+    pour déterminer si oui ou non on souhaite afficher la section *}
+  {section name=client loop=$idClient show=$show_client_info}
+  {$smarty.section.client.rownum} id: {$idClient[client]}&lt;br&gt;
+  {/section}
+
+  {if $smarty.section.client.show}
+    la section à été affichée.
+  {else}
+    la section n'a pas été affichée.
+  {/if}
+
+
+  SORTIE:
+
+  1 id: 1000&lt;br&gt;
+  2 id: 1001&lt;br&gt;
+  3 id: 1002&lt;br&gt;
 
-	la section à été affichée.
+  la section à été affichée.
 </programlisting>
   </example>
  </sect2>
@@ -533,19 +531,19 @@
   <example>
    <title>section, propriété total</title>
 <programlisting>
-	{section name=client loop=$idClient step=2}
-	{$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
-	{/section}
+  {section name=client loop=$idClient step=2}
+  {$smarty.section.client.index} id: {$idClient[client]}&lt;br&gt;
+  {/section}
 
-	Il y eu {$smarty.section.client.total} clients affichés.
+  Il y eu {$smarty.section.client.total} clients affichés.
 
-	SORTIE:
+  SORTIE:
 
-	0 id: 1000&lt;br&gt;
-	2 id: 1001&lt;br&gt;
-	4 id: 1002&lt;br&gt;
+  0 id: 1000&lt;br&gt;
+  2 id: 1001&lt;br&gt;
+  4 id: 1002&lt;br&gt;
 
-	Il y eu 3 clients affichés.
+  Il y eu 3 clients affichés.
 </programlisting>
   </example>
  </sect2>
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-builtin-functions/language-function-strip.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-builtin-functions/language-function-strip.xml
diff -u smarty/docs/fr/designers/language-builtin-functions/language-function-strip.xml:1.3 smarty/docs/fr/designers/language-builtin-functions/language-function-strip.xml:1.4
--- smarty/docs/fr/designers/language-builtin-functions/language-function-strip.xml:1.3	Fri Jul  2 16:35:23 2004
+++ smarty/docs/fr/designers/language-builtin-functions/language-function-strip.xml	Tue Dec 21 16:08:13 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.2 Maintainer: gerlad Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.3 Maintainer: gerlad Status: ready -->
 <sect1 id="language.function.strip">
  <title>strip</title>
  <para>
@@ -32,20 +32,20 @@
 {strip}
 <![CDATA[
 <table border=0>
-	<tr>
-		<td>
-			<A HREF="{$url}">
-			<font color="red">Un test</font>
-			</A>
-		</td>
-	</tr>
+ <tr>
+  <td>
+   <A HREF="{$url}">
+    <font color="red">Un test</font>
+   </A>
+  </td>
+ </tr>
 </table>
 {/strip}
 
 
 SORTIE:
 
-<table border=0><tr><td><A HREF="http://mon.domaine.com"><font color="red">Un test</font></A></td></tr></table>
+<table border=0><tr><td><A HREF="http://mon.example.com"><font color="red">Un test</font></A></td></tr></table>
 ]]>
 </programlisting>
 </example>
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.