cvs: smarty /docs/fr/designers language-modifiers.xml

"gerald croes" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsgerald1107452498@cvsserver>
gerald		Thu Feb  3 12:41:38 2005 EDT

  Modified files:              
    /smarty/docs/fr/designers	language-modifiers.xml 
  Log:
  Sync with en
  
  
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-modifiers.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/fr/designers/language-modifiers.xml
diff -u smarty/docs/fr/designers/language-modifiers.xml:1.5 smarty/docs/fr/designers/language-modifiers.xml:1.6
--- smarty/docs/fr/designers/language-modifiers.xml:1.5	Sat Jul  3 04:43:11 2004
+++ smarty/docs/fr/designers/language-modifiers.xml	Thu Feb  3 12:41:38 2005
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.14 Maintainer: gerald Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.15 Maintainer: gerald Status: ready -->
 <chapter id="language.modifiers">
  <title>Modificateurs de variables</title>
  <para>
@@ -16,17 +16,25 @@
   <title>Exemple de modificateur</title>
   <programlisting>
 <![CDATA[
-{* Met le titre en majuscule *}
-<h2>{$title|upper}</h2>
+{* applique un modificateur à une variable *}
+{$titre|upper}
 
-{* Tronque le sujet à 40 caractères,  place des "..." à la fin *}
-Sujet: {$sujet|truncate:40:"..."}
+{* modificateur avec paramètres *}
+{$titre|truncate:40:"..."}
 
-{* formatage en chaîne *}
-{"now"|date_format:"%Y/%m/%d"}
+{* applique un modificateur à un paramètre de fonction *}
+{html_table loop=$mavariable|upper}
+{* avec paramètres *}
+{html_table loop=$mavariable|truncate:40:"..."}
 
-{* application d'un modificateur à une fonction utilisateur *}
-{mailto|upper address="[email protected]"}
+{* applique un modificateur à une chaine de caractères *}
+{"foobar"|upper}
+
+{* utilise date_format pour mettre en forme la date *}
+{$smarty.now|date_format:"%d/%m/%Y"}
+
+{* applique un modificateur à une fonction utilisateur *}
+{mailto|upper address="[email protected]"}
 ]]>
   </programlisting>
  </example>


-- 
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.