cvs: smarty /docs/fr/designers/language-basic-syntax language-syntax-functions.xml language-syntax-quotes.xml /docs/fr/designers/language-builtin-functions language-function-foreach.xml /docs/fr/designers/language-custom-functions language-function-html-radios.xml /docs/fr/designers/language-variables language-variables-smarty.xml

"Mehdi Achour" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsdidou1099879834@cvsserver>
didou		Sun Nov  7 21:10:34 2004 EDT

  Modified files:              
    /smarty/docs/fr/designers/language-basic-syntax	
                                                   	language-syntax-functions.xml 
                                                   	language-syntax-quotes.xml 
    /smarty/docs/fr/designers/language-builtin-functions	
                                                        	language-function-foreach.xml 
    /smarty/docs/fr/designers/language-custom-functions	
                                                       	language-function-html-radios.xml 
    /smarty/docs/fr/designers/language-variables	
                                                	language-variables-smarty.xml 
  Log:
  sync with en

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
didou-20041107211034.txt (text/plain, 8.6 KB)
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-basic-syntax/language-syntax-functions.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-basic-syntax/language-syntax-functions.xml
diff -u smarty/docs/fr/designers/language-basic-syntax/language-syntax-functions.xml:1.3 smarty/docs/fr/designers/language-basic-syntax/language-syntax-functions.xml:1.4
--- smarty/docs/fr/designers/language-basic-syntax/language-syntax-functions.xml:1.3	Fri Jul  2 15:49:32 2004
+++ smarty/docs/fr/designers/language-basic-syntax/language-syntax-functions.xml	Sun Nov  7 21:10:33 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.syntax.functions">
  <title>Fonctions</title>
  <para>
@@ -11,22 +11,20 @@
  </para>
  <example>
   <title>syntaxe des fonctions</title>
-<programlisting>
+  <programlisting>
 <![CDATA[
-
 {config_load file="colors.conf"}
-
 {include file="header.tpl"}
 
 {if $name eq "Fred"}
    Vous êtes admis dans cette zone
 {else}
-	Bienvenue, &lt;font color="{#fontColor#}"&gt;{$name}!&lt;/font&gt;
+   Bienvenue, <font color="{#fontColor#}">{$name} !</font>
 {/if}
 
 {include file="footer.tpl"}
 ]]>
-</programlisting>
+  </programlisting>
  </example>
  <para>
   Les fonctions natives et les fonctions utilisateurs ont toutes deux la même
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml?r1=1.3&r2=1.4&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.3 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.3	Fri Jul  2 15:49:32 2004
+++ smarty/docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml	Sun Nov  7 21:10:33 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.syntax.quotes">
  <title>Variables insérées dans des chaînes de caractères</title>
  <para>
@@ -12,7 +12,7 @@
  </para>
  <example>
   <title>Syntaxe d'insertion de variables dans des chaînes</title>
-<programlisting>
+  <programlisting>
 <![CDATA[
 EXEMPLE DE SYNTAXE:
 {func var="test $foo test"}       <-- comprends $foo
@@ -24,10 +24,9 @@
 
 EXEMPLE PRATIQUE:
 {include file="subdir/$tpl_name.tpl"} <-- remplace $tpl_name avec la valeur
-{cycle values="one,two,`$smarty.config.myval`"} <-- doit comporter les
-apostrophes inverses
+{cycle values="one,two,`$smarty.config.myval`"} <-- doit comporter les apostrophes inverses
 ]]>
-</programlisting>
+  </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-foreach.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/fr/designers/language-builtin-functions/language-function-foreach.xml
diff -u smarty/docs/fr/designers/language-builtin-functions/language-function-foreach.xml:1.4 smarty/docs/fr/designers/language-builtin-functions/language-function-foreach.xml:1.5
--- smarty/docs/fr/designers/language-builtin-functions/language-function-foreach.xml:1.4	Fri Jul  2 16:35:23 2004
+++ smarty/docs/fr/designers/language-builtin-functions/language-function-foreach.xml	Sun Nov  7 21:10:33 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
 <sect1 id="language.function.foreach">
  <title>foreach,foreachelse</title>
  <informaltable frame="all">
@@ -22,10 +22,10 @@
    <tbody>
     <row>
      <entry>from</entry>
-     <entry>chaîne de caractère</entry>
+     <entry>tableau</entry>
      <entry>oui</entry>
      <entry><emphasis>n/a</emphasis></entry>
-     <entry>Le nom du tableau à parcourir</entry>
+     <entry>Le tableau à parcourir</entry>
     </row>
     <row>
      <entry>item</entry>
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-custom-functions/language-function-html-radios.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/fr/designers/language-custom-functions/language-function-html-radios.xml
diff -u smarty/docs/fr/designers/language-custom-functions/language-function-html-radios.xml:1.3 smarty/docs/fr/designers/language-custom-functions/language-function-html-radios.xml:1.4
--- smarty/docs/fr/designers/language-custom-functions/language-function-html-radios.xml:1.3	Fri Jul  2 17:39:32 2004
+++ smarty/docs/fr/designers/language-custom-functions/language-function-html-radios.xml	Sun Nov  7 21:10:33 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.html.radios">
  <title>html_radios</title>
  <informaltable frame="all">
@@ -84,7 +84,7 @@
  
  <example>
   <title>html_radios</title>
-<programlisting>
+  <programlisting>
 index.php:
 
 require('Smarty.class.php');
@@ -98,7 +98,7 @@
 
 index.tpl:
 
-{html_radios values=$id_client checked=$client_id output=$nom_client separator="&lt;br /&gt;"}
+{html_radios name="id" values=$id_client checked=$client_id output=$nom_client separator="&lt;br /&gt;"}
 
 
 index.php:
@@ -106,10 +106,10 @@
 require('Smarty.class.php');
 $smarty = new Smarty;
 $smarty-&gt;assign('cust_radios', array(
-			1001 =&gt; 'Joe Schmoe',
-			1002 =&gt; 'Jack Smith',
-			1003 =&gt; 'Jane Johnson',
-			1004 =&gt; 'Charlie Brown'));
+			1000 =&gt; 'Joe Schmoe',
+			1001 =&gt; 'Jack Smith',
+			1002 =&gt; 'Jane Johnson',
+			1003 =&gt; 'Charlie Brown'));
 $smarty-&gt;assign('client_id', 1001);
 $smarty-&gt;display('index.tpl');
 
@@ -119,12 +119,12 @@
 {html_radios name="id" options=$cust_radios checked=$client_id separator="&lt;br /&gt;"}
 
 
-SORTIE: (both examples)
+SORTIE: (pour les deux exemples)
 
-&lt;input type="radio" name="id[]" value="1000"&gt;Joe Schmoe&lt;br /&gt;
-&lt;input type="radio" name="id[]" value="1001" checked="checked"&gt;&lt;br /&gt;
-&lt;input type="radio" name="id[]" value="1002"&gt;Jane Johnson&lt;br /&gt;
-&lt;input type="radio" name="id[]" value="1003"&gt;Charlie Brown&lt;br /&gt;</programlisting>
+&lt;input type="radio" name="id" value="1000"&gt;Joe Schmoe&lt;br /&gt;
+&lt;input type="radio" name="id" value="1001" checked="checked"&gt;&lt;br /&gt;
+&lt;input type="radio" name="id" value="1002"&gt;Jane Johnson&lt;br /&gt;
+&lt;input type="radio" name="id" value="1003"&gt;Charlie Brown&lt;br /&gt;</programlisting>
  </example>
 </sect1>
 <!-- Keep this comment at the end of the file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-variables/language-variables-smarty.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-variables/language-variables-smarty.xml
diff -u smarty/docs/fr/designers/language-variables/language-variables-smarty.xml:1.5 smarty/docs/fr/designers/language-variables/language-variables-smarty.xml:1.6
--- smarty/docs/fr/designers/language-variables/language-variables-smarty.xml:1.5	Thu Oct 28 10:58:37 2004
+++ smarty/docs/fr/designers/language-variables/language-variables-smarty.xml	Sun Nov  7 21:10:34 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
 <sect1 id="language.variables.smarty">
  <title>Variable réservée {$smarty}</title>
  <para>
@@ -119,16 +119,16 @@
  <sect2 id="language.variables.smarty.ldelim">
   <title>{$smarty.ldelim}</title>
   <para>
-   This variable is used for printing the left-delimiter value
-   literally. See also <link
+   Cette variable est utilisé pour afficher le délémiteur gauche. Lisez aussi
+   la partie <link
    linkend="language.function.ldelim">{ldelim},{rdelim}</link>.
   </para>
  </sect2>
  <sect2 id="language.variables.smarty.rdelim">
   <title>{$smarty.rdelim}</title>
   <para>
-   This variable is used for printing the right-delimiter value literally.
-   See also <link linkend="language.function.ldelim">{rdelim},{rdelim}</link>.
+   Cette variable est utilisé pour afficher le délémiteur droit. Lisez aussi
+   la partie <link linkend="language.function.ldelim">{ldelim},{rdelim}</link>.
   </para>
  </sect2>
 </sect1>
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.