cvs: smarty /docs/fr/designers/language-basic-syntax language-syntax-attributes.xml language-syntax-comments.xml language-syntax-functions.xml language-syntax-quotes.xml
"gerald croes" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsgerald1088797772@cvsserver> |
gerald Fri Jul 2 15:49:32 2004 EDT
Modified files:
/smarty/docs/fr/designers/language-basic-syntax
language-syntax-attributes.xml
language-syntax-comments.xml
language-syntax-functions.xml
language-syntax-quotes.xml
Log:
Ctags, <g & stuff
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-basic-syntax/language-syntax-attributes.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/fr/designers/language-basic-syntax/language-syntax-attributes.xml
diff -u smarty/docs/fr/designers/language-basic-syntax/language-syntax-attributes.xml:1.2 smarty/docs/fr/designers/language-basic-syntax/language-syntax-attributes.xml:1.3
--- smarty/docs/fr/designers/language-basic-syntax/language-syntax-attributes.xml:1.2 Sun May 23 11:50:22 2004
+++ smarty/docs/fr/designers/language-basic-syntax/language-syntax-attributes.xml Fri Jul 2 15:49:32 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
<sect1 id="language.syntax.attributes">
<title>Paramètres</title>
<para>
@@ -20,6 +20,7 @@
<example>
<title>Paramètres de fonction, syntaxe</title>
<programlisting>
+<![CDATA[
{include file="header.tpl"}
{include file=$includeFile}
@@ -28,9 +29,11 @@
{html_select_date display_days=yes}
-<SELECT name=company>
+<select name="company">
{html_options values=$vals selected=$selected output=$output}
-</SELECT></programlisting>
+</select>
+]]>
+</programlisting>
</example>
</sect1>
<!-- Keep this comment at the end of the file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-basic-syntax/language-syntax-comments.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/fr/designers/language-basic-syntax/language-syntax-comments.xml
diff -u smarty/docs/fr/designers/language-basic-syntax/language-syntax-comments.xml:1.2 smarty/docs/fr/designers/language-basic-syntax/language-syntax-comments.xml:1.3
--- smarty/docs/fr/designers/language-basic-syntax/language-syntax-comments.xml:1.2 Sun May 23 11:50:22 2004
+++ smarty/docs/fr/designers/language-basic-syntax/language-syntax-comments.xml Fri Jul 2 15:49:32 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
<sect1 id="language.syntax.comments">
<title>Commentaires</title>
<para>
@@ -14,6 +14,7 @@
<example>
<title>Commentaires</title>
<programlisting>
+<![CDATA[
{* Smarty *}
{* Inclusion de l'en tête *}
@@ -24,9 +25,11 @@
{include file=#includeFile#}
{* affiche des listes déroulantes *}
-<SELECT name=company>
+<SELECT name=company>
{html_options values=$vals selected=$selected output=$output}
-</SELECT></programlisting>
+</SELECT>
+]]>
+</programlisting>
</example>
</sect1>
<!-- Keep this comment at the end of the file
http://cvs.php.net/diff.php/smarty/docs/fr/designers/language-basic-syntax/language-syntax-functions.xml?r1=1.2&r2=1.3&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.2 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.2 Sun May 23 11:50:22 2004
+++ smarty/docs/fr/designers/language-basic-syntax/language-syntax-functions.xml Fri Jul 2 15:49:32 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
<sect1 id="language.syntax.functions">
<title>Fonctions</title>
<para>
@@ -12,6 +12,8 @@
<example>
<title>syntaxe des fonctions</title>
<programlisting>
+<![CDATA[
+
{config_load file="colors.conf"}
{include file="header.tpl"}
@@ -22,7 +24,9 @@
Bienvenue, <font color="{#fontColor#}">{$name}!</font>
{/if}
-{include file="footer.tpl"}</programlisting>
+{include file="footer.tpl"}
+]]>
+</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.2&r2=1.3&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.2 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.2 Sun May 23 11:50:22 2004
+++ smarty/docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml Fri Jul 2 15:49:32 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
<sect1 id="language.syntax.quotes">
<title>Variables insérées dans des chaînes de caractères</title>
<para>
@@ -13,18 +13,21 @@
<example>
<title>Syntaxe d'insertion de variables dans des chaînes</title>
<programlisting>
+<![CDATA[
EXEMPLE DE SYNTAXE:
-{func var="test $foo test"} <-- comprends $foo
-{func var="test $foo_bar test"} <-- comprends $foo_bar
-{func var="test $foo[0] test"} <-- comprends $foo[0]
-{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 test"} <-- comprends $foo
+{func var="test $foo_bar test"} <-- comprends $foo_bar
+{func var="test $foo[0] test"} <-- comprends $foo[0]
+{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
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</programlisting>
+{include file="subdir/$tpl_name.tpl"} <-- remplace $tpl_name avec la valeur
+{cycle values="one,two,`$smarty.config.myval`"} <-- doit comporter les
+apostrophes inverses
+]]>
+</programlisting>
</example>
</sect1>
<!-- Keep this comment at the end of the file
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php