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}
- <script language=javascript>
+<script language=javascript>
- <!--
- function isblank(field) {
- if (field.value == '')
- { return false; }
- else
- {
- document.loginform.submit();
- return true;
- }
- }
- // -->
+<!--
+ function isblank(field) {
+ if (field.value == '')
+ { return false; }
+ else
+ {
+ document.loginform.submit();
+ return true;
+ }
+ }
+// -->
- </script>
-{/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]}<br>
- nom: {$nom[client]}<br>
- addresse: {$addresse[client]}<br>
- {section name=contact loop=$type_contact[client]}
- {$type_contact[client][contact]}: {$info_contact[client][contact]}<br>
- {/section}
- <p>
+ id: {$idClient[client]}<br>
+ nom: {$nom[client]}<br>
+ addresse: {$addresse[client]}<br>
+ {section name=contact loop=$type_contact[client]}
+ {$type_contact[client][contact]}: {$info_contact[client][contact]}<br>
+ {/section}
+ <p>
{/section}
@@ -181,21 +179,21 @@
addresse: 253 N 45th<br>
telephone: 555-555-5555<br>
telephone portable: 555-555-5555<br>
-e-mail: [email protected]<br>
+e-mail: [email protected]<br>
<p>
id: 1001<br>
nom: Jack Jones<br>
addresse: 417 Mulberry ln<br>
telephone: 555-555-5555<br>
telephone portable: 555-555-5555<br>
-e-mail: [email protected]<br>
+e-mail: [email protected]<br>
<p>
id: 1002<br>
nom: Jane Munson<br>
addresse: 5605 apple st<br>
telephone: 555-555-5555<br>
telephone portable: 555-555-5555<br>
-e-mail: [email protected]<br>
+e-mail: [email protected]<br>
<p></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}<br>
- telephone: {$contacts[client].home}<br>
- portable: {$contacts[client].cell}<br>
- e-mail: {$contacts[client].email}<p>
+ nom: {$contacts[client].name}<br>
+ telephone: {$contacts[client].home}<br>
+ portable: {$contacts[client].cell}<br>
+ e-mail: {$contacts[client].email}<p>
{/section}
@@ -216,15 +214,15 @@
nom: John Smith<br>
telephone: 555-555-5555<br>
portable: 555-555-5555<br>
-e-mail: [email protected]<p>
+e-mail: [email protected]<p>
nom: Jack Jones<br>
telephone: 555-555-5555<br>
portable: 555-555-5555<br>
-e-mail: [email protected]<p>
+e-mail: [email protected]<p>
nom: Jane Munson<br>
telephone: 555-555-5555<br>
portable: 555-555-5555<br>
-e-mail: [email protected]<p></programlisting>
+e-mail: [email protected]<p></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]}<br>
+ id: {$idClient[client]}<br>
{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]}<br>
- {/section}
+ {section name=client loop=$idClient}
+ {$smarty.section.client.index} id: {$idClient[client]}<br>
+ {/section}
- SORTIE:
+ SORTIE:
- 0 id: 1000<br>
- 1 id: 1001<br>
- 2 id: 1002<br>
+ 0 id: 1000<br>
+ 1 id: 1001<br>
+ 2 id: 1002<br>
</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]}<br>
- {* 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é<br>
- {/if}
- {/section}
-
-
- SORTIE:
-
- 0 id: 1000<br>
- L'id du client à été modifié<br>
- 1 id: 1001<br>
- L'id du client à été modifié<br>
- 2 id: 1002<br>
- L'id du client à été modifié<br>
+ {section name=client loop=$idClient}
+ {$smarty.section.client.index} id: {$idClient[client]}<br>
+ {* 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é<br>
+ {/if}
+ {/section}
+
+
+ SORTIE:
+
+ 0 id: 1000<br>
+ L'id du client à été modifié<br>
+ 1 id: 1001<br>
+ L'id du client à été modifié<br>
+ 2 id: 1002<br>
+ L'id du client à été modifié<br>
</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]}<br>
- {* 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<br>
- {/if}
- {/section}
-
-
- SORTIE:
-
- 0 id: 1000<br>
- L'id du client va changer<br>
- 1 id: 1001<br>
- L'id du client va changer<br>
- 2 id: 1002<br>
- L'id du client va changer<br>
+ {section name=client loop=$idClient}
+ {$smarty.section.client.index} id: {$idClient[client]}<br>
+ {* 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<br>
+ {/if}
+ {/section}
+
+
+ SORTIE:
+
+ 0 id: 1000<br>
+ L'id du client va changer<br>
+ 1 id: 1001<br>
+ L'id du client va changer<br>
+ 2 id: 1002<br>
+ L'id du client va changer<br>
</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}<br>
- {$smarty.section.client.index} id: {$idClient[client]}<br>
- {* 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<br>
- {/if}
- {/section}
-
-
- SORTIE:
-
- Iteration courante: 1
- 5 id: 1000<br>
- L'id du client va changer<br>
- Iteration courante: 2
- 7 id: 1001<br>
- L'id du client va changer<br>
- Iteration courante: 3
- 9 id: 1002<br>
- L'id du client va changer<br>
+ {section name=client loop=$idClient start=5 step=2}
+ Iteration courante: {$smarty.section.client.iteration}<br>
+ {$smarty.section.client.index} id: {$idClient[client]}<br>
+ {* 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<br>
+ {/if}
+ {/section}
+
+
+ SORTIE:
+
+ Iteration courante: 1
+ 5 id: 1000<br>
+ L'id du client va changer<br>
+ Iteration courante: 2
+ 7 id: 1001<br>
+ L'id du client va changer<br>
+ Iteration courante: 3
+ 9 id: 1002<br>
+ L'id du client va changer<br>
</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}
- <table>
- {/if}
-
- <tr><td>{$smarty.section.client.index} id:
- {$idClient[client]}</td></tr>
-
- {if $smarty.section.client.last}
- </table>
- {/if}
- {/section}
-
-
- SORTIE:
-
- <table>
- <tr><td>0 id: 1000</td></tr>
- <tr><td>1 id: 1001</td></tr>
- <tr><td>2 id: 1002</td></tr>
- </table>
+ {section name=client loop=$idClient}
+ {if $smarty.section.client.first}
+ <table>
+ {/if}
+
+ <tr><td>{$smarty.section.client.index} id:
+ {$idClient[client]}</td></tr>
+
+ {if $smarty.section.client.last}
+ </table>
+ {/if}
+ {/section}
+
+
+ SORTIE:
+
+ <table>
+ <tr><td>0 id: 1000</td></tr>
+ <tr><td>1 id: 1001</td></tr>
+ <tr><td>2 id: 1002</td></tr>
+ </table>
</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}
- <table>
- {/if}
-
- <tr><td>{$smarty.section.client.index} id:
- {$idClient[client]}</td></tr>
-
- {if $smarty.section.client.last}
- </table>
- {/if}
- {/section}
-
-
- SORTIE:
-
- <table>
- <tr><td>0 id: 1000</td></tr>
- <tr><td>1 id: 1001</td></tr>
- <tr><td>2 id: 1002</td></tr>
- </table>
+ {section name=client loop=$idClient}
+ {if $smarty.section.client.first}
+ <table>
+ {/if}
+
+ <tr><td>{$smarty.section.client.index} id:
+ {$idClient[client]}</td></tr>
+
+ {if $smarty.section.client.last}
+ </table>
+ {/if}
+ {/section}
+
+
+ SORTIE:
+
+ <table>
+ <tr><td>0 id: 1000</td></tr>
+ <tr><td>1 id: 1001</td></tr>
+ <tr><td>2 id: 1002</td></tr>
+ </table>
</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]}<br>
- {/section}
+ {section name=client loop=$idClient}
+ {$smarty.section.client.rownum} id: {$idClient[client]}<br>
+ {/section}
- SORTIE:
+ SORTIE:
- 1 id: 1000<br>
- 2 id: 1001<br>
- 3 id: 1002<br>
+ 1 id: 1000<br>
+ 2 id: 1001<br>
+ 3 id: 1002<br>
</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]}<br>
- {/section}
+ {section name=client loop=$idClient}
+ {$smarty.section.client.index} id: {$idClient[client]}<br>
+ {/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<br>
- 1 id: 1001<br>
- 2 id: 1002<br>
+ 0 id: 1000<br>
+ 1 id: 1001<br>
+ 2 id: 1002<br>
- 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]}<br>
- {/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<br>
- 2 id: 1001<br>
- 3 id: 1002<br>
+ {* $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]}<br>
+ {/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<br>
+ 2 id: 1001<br>
+ 3 id: 1002<br>
- 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]}<br>
- {/section}
+ {section name=client loop=$idClient step=2}
+ {$smarty.section.client.index} id: {$idClient[client]}<br>
+ {/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<br>
- 2 id: 1001<br>
- 4 id: 1002<br>
+ 0 id: 1000<br>
+ 2 id: 1001<br>
+ 4 id: 1002<br>
- 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>