WS and added revcheck

This commit is contained in:
didou
2004-05-23 15:50:53 +00:00
parent c060c07ab8
commit cc2404234f
164 changed files with 6870 additions and 6437 deletions

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<chapter id="bugs"> <chapter id="bugs">
<title>BUGS</title> <title>BUGS</title>
<para> <para>

View File

@@ -1,3 +1,7 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> <!-- EN-Revision: 1.4 Maintainer: didou Status: ready -->
@@ -44,15 +48,15 @@
Vous pouvez rem<65>dier <20> cela en lui assignant une valeur par d<>faut Vous pouvez rem<65>dier <20> cela en lui assignant une valeur par d<>faut
avec la fonction <link linkend="language.function.assign">assign</link>. avec la fonction <link linkend="language.function.assign">assign</link>.
</para> </para>
<example> <example>
<title>assigner une valeur par d<>faut <20> une variable de template</title> <title>assigner une valeur par d<>faut <20> une variable de template</title>
<programlisting> <programlisting>
{* faites cela qq part en haut de votre template *} {* faites cela qq part en haut de votre template *}
{assign var="title" value=$title|default:"no title"} {assign var="title" value=$title|default:"no title"}
{* si $title est vide, il contiendra alors no "no title" *} {* si $title est vide, il contiendra alors no "no title" *}
{$title}</programlisting> {$title}</programlisting>
</example> </example>
</sect1> </sect1>
<sect1 id="tips.passing.vars"> <sect1 id="tips.passing.vars">
<title>Passage du titre <20> un template d'en-t<>te</title> <title>Passage du titre <20> un template d'en-t<>te</title>
@@ -62,8 +66,8 @@
Mais comment faire si l'en-t<>te doit avoir un titre diff<66>rent, selon la page Mais comment faire si l'en-t<>te doit avoir un titre diff<66>rent, selon la page
d'o<> on vient ? Vous pouvez passer le titre <20> l'en-t<>te quand il est inclus. d'o<> on vient ? Vous pouvez passer le titre <20> l'en-t<>te quand il est inclus.
</para> </para>
<example> <example>
<title>passer le titre au template d'en-t<>te</title> <title>passer le titre au template d'en-t<>te</title>
<programlisting> <programlisting>
mainpage.tpl mainpage.tpl
@@ -96,7 +100,7 @@ footer.tpl
---------- ----------
&lt;/BODY&gt; &lt;/BODY&gt;
&lt;/HTML&gt;</programlisting> &lt;/HTML&gt;</programlisting>
</example> </example>
<para> <para>
Quand la page principale est con<6F>ue, le titre "Main page" est pass<73> <20> header.tpl Quand la page principale est con<6F>ue, le titre "Main page" est pass<73> <20> header.tpl
et sera donc utilis<69> pour le titre. Quand la page d'archive est con<6F>ue, et sera donc utilis<69> pour le titre. Quand la page d'archive est con<6F>ue,
@@ -120,8 +124,8 @@ footer.tpl
sous la forme de timestamps Unix ou MySQL, ou tout autre format de dates sous la forme de timestamps Unix ou MySQL, ou tout autre format de dates
que comprend strtotime(). que comprend strtotime().
</para> </para>
<example> <example>
<title>utilisation de date_format</title> <title>utilisation de date_format</title>
<programlisting> <programlisting>
{$startDate|date_format} {$startDate|date_format}
@@ -140,14 +144,14 @@ OUTPUT:
{if $date1 &lt; $date2} {if $date1 &lt; $date2}
... ...
{/if}</programlisting> {/if}</programlisting>
</example> </example>
<para> <para>
En utilisant la fonction {html_select_date} dans un template, le programmeur En utilisant la fonction {html_select_date} dans un template, le programmeur
veut en g<>n<EFBFBD>ral convertir le r<>sultat d'un formulaire en un timestamp. veut en g<>n<EFBFBD>ral convertir le r<>sultat d'un formulaire en un timestamp.
Voici une fonction qui devrait vous <20>tre utile. Voici une fonction qui devrait vous <20>tre utile.
</para> </para>
<example> <example>
<title>conversion des <20>l<EFBFBD>ments date d'un formulaire en timestamp</title> <title>conversion des <20>l<EFBFBD>ments date d'un formulaire en timestamp</title>
<programlisting> <programlisting>
// cela suppose que vos <20>l<EFBFBD>ments de formulaire soient nomm<6D>s // cela suppose que vos <20>l<EFBFBD>ments de formulaire soient nomm<6D>s
// startDate_Day, startDate_Month, startDate_Year // startDate_Day, startDate_Month, startDate_Year
@@ -165,7 +169,7 @@ function makeTimeStamp($year="",$month="",$day="")
return mktime(0,0,0,$month,$day,$year); return mktime(0,0,0,$month,$day,$year);
}</programlisting> }</programlisting>
</example> </example>
</sect1> </sect1>
<sect1 id="tips.wap"> <sect1 id="tips.wap">
<title>WAP/WML</title> <title>WAP/WML</title>
@@ -179,8 +183,8 @@ function makeTimeStamp($year="",$month="",$day="")
rien n'est transmise au navigateur avant l'appel du template, sans quoi rien n'est transmise au navigateur avant l'appel du template, sans quoi
la modification de l'en-t<>te <20>chouera. la modification de l'en-t<>te <20>chouera.
</para> </para>
<example> <example>
<title>utilisation d'insert pour <20>crire un en-t<>te Content-Type WML</title> <title>utilisation d'insert pour <20>crire un en-t<>te Content-Type WML</title>
<programlisting> <programlisting>
// assurez-vous que Apache est configur<75> pour les extensions .wml ! // assurez-vous que Apache est configur<75> pour les extensions .wml !
// mettez cette fonction qq part dans votre applications // mettez cette fonction qq part dans votre applications
@@ -218,7 +222,7 @@ Pretty easy isn't it?
&lt;/p&gt; &lt;/p&gt;
&lt;/card&gt; &lt;/card&gt;
&lt;/wml&gt;</programlisting> &lt;/wml&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<sect1 id="tips.componentized.templates"> <sect1 id="tips.componentized.templates">
<title>Templates composants</title> <title>Templates composants</title>
@@ -247,8 +251,8 @@ Pretty easy isn't it?
Ainsi, on ne se soucie plus d'o<> vient le contenu du template, Ainsi, on ne se soucie plus d'o<> vient le contenu du template,
tout vient comme un seul et unique composant. tout vient comme un seul et unique composant.
</para> </para>
<example> <example>
<title>template composant</title> <title>template composant</title>
<programlisting> <programlisting>
{* Smarty *} {* Smarty *}
@@ -270,7 +274,7 @@ Pretty easy isn't it?
{/php} {/php}
Stock Name: {$ticker_name} Stock Price: {$ticker_price}</programlisting> Stock Name: {$ticker_name} Stock Price: {$ticker_price}</programlisting>
</example> </example>
<para> <para>
A partir de Smarty 1.5.0, il y a m<>me un moyen plus propre. Vous A partir de Smarty 1.5.0, il y a m<>me un moyen plus propre. Vous
pouvez inclure du PHP dans votre template avec la balise {include_php ...}. pouvez inclure du PHP dans votre template avec la balise {include_php ...}.
@@ -279,8 +283,8 @@ Stock Name: {$ticker_name} Stock Price: {$ticker_price}</programlisting>
linkend="language.function.include.php">include_php</link> pour plus linkend="language.function.include.php">include_php</link> pour plus
d'informations. d'informations.
</para> </para>
<example> <example>
<title>template composant avec include_php</title> <title>template composant avec include_php</title>
<programlisting> <programlisting>
load_ticker.php load_ticker.php
--------------- ---------------
@@ -309,7 +313,7 @@ index.tpl
{include_php file="load_ticker.php"} {include_php file="load_ticker.php"}
Stock Name: {$ticker_name} Stock Price: {$ticker_price}</programlisting> Stock Name: {$ticker_name} Stock Price: {$ticker_price}</programlisting>
</example> </example>
</sect1> </sect1>
<sect1 id="tips.obfuscating.email"> <sect1 id="tips.obfuscating.email">
<title>Dissimuler les adresses email</title> <title>Dissimuler les adresses email</title>
@@ -321,8 +325,8 @@ Stock Name: {$ticker_name} Stock Price: {$ticker_price}</programlisting>
au milieu de votre source HTML, sans que cela ne g<>ne l'affichage sur le au milieu de votre source HTML, sans que cela ne g<>ne l'affichage sur le
navigateur Web. Cela est fait gr<67>ce au plugin mailto. navigateur Web. Cela est fait gr<67>ce au plugin mailto.
</para> </para>
<example> <example>
<title>exemple de dissimulation d'une adresse email</title> <title>exemple de dissimulation d'une adresse email</title>
<programlisting> <programlisting>
index.tpl index.tpl
@@ -332,7 +336,7 @@ Send inquiries to
{mailto address=$EmailAddress encode="javascript" subject="Hello"} {mailto address=$EmailAddress encode="javascript" subject="Hello"}
</programlisting> </programlisting>
</example> </example>
<note> <note>
<title>Note technique</title> <title>Note technique</title>
<para> <para>
@@ -342,24 +346,24 @@ Send inquiries to
</para> </para>
</note> </note>
</sect1> </sect1>
</chapter> </chapter>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<chapter id="troubleshooting"> <chapter id="troubleshooting">
<title>Diagnostic des erreurs</title> <title>Diagnostic des erreurs</title>
<para></para> <para></para>
@@ -10,15 +11,15 @@
balises manquants ou de noms de variables malform<72>s. Dans ce cas-l<>, balises manquants ou de noms de variables malform<72>s. Dans ce cas-l<>,
vous verrez appara<72>tre une erreur semblable <20> : vous verrez appara<72>tre une erreur semblable <20> :
</para> </para>
<example> <example>
<title>erreurs Smarty</title> <title>erreurs Smarty</title>
<programlisting> <programlisting>
Warning: Smarty: [in index.tpl line 4]: syntax error: unknown tag - '%blah' Warning: Smarty: [in index.tpl line 4]: syntax error: unknown tag - '%blah'
in /path/to/smarty/Smarty.class.php on line 1041 in /path/to/smarty/Smarty.class.php on line 1041
Fatal error: Smarty: [in index.tpl line 28]: syntax error: missing section name Fatal error: Smarty: [in index.tpl line 28]: syntax error: missing section name
in /path/to/smarty/Smarty.class.php on line 1041</programlisting> in /path/to/smarty/Smarty.class.php on line 1041</programlisting>
</example> </example>
<para> <para>
Smarty vous indique le nom du template, le num<75>ro de la ligne et l'erreur. Smarty vous indique le nom du template, le num<75>ro de la ligne et l'erreur.
@@ -32,11 +33,11 @@ Fatal error: Smarty: [in index.tpl line 28]: syntax error: missing section name
rep<65>r<EFBFBD> dans la phase de compilation PHP du template compil<69>. rep<65>r<EFBFBD> dans la phase de compilation PHP du template compil<69>.
</para> </para>
<example> <example>
<title>erreur d'analyse PHP</title> <title>erreur d'analyse PHP</title>
<programlisting> <programlisting>
Parse error: parse error in /path/to/smarty/templates_c/index.tpl.php on line 75</programlisting> Parse error: parse error in /path/to/smarty/templates_c/index.tpl.php on line 75</programlisting>
</example> </example>
<para> <para>
Quand vous rencontrez une erreur d'analyse PHP, le num<75>ro de la ligne Quand vous rencontrez une erreur d'analyse PHP, le num<75>ro de la ligne

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<bookinfo id="bookinfo"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<bookinfo id="bookinfo">
<title>Smarty - le moteur et compilateur de templates PHP</title> <title>Smarty - le moteur et compilateur de templates PHP</title>
<authorgroup id="authors"> <authorgroup id="authors">
<author> <author>
@@ -26,7 +27,7 @@
<year>2001-2004</year> <year>2001-2004</year>
<holder>ispi of Lincoln, Inc.</holder> <holder>ispi of Lincoln, Inc.</holder>
</copyright> </copyright>
</bookinfo> </bookinfo>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<chapter id="chapter.debugging.console"> <chapter id="chapter.debugging.console">
<title>Console de d<>bogage</title> <title>Console de d<>bogage</title>
<para> <para>
Il existe une console de d<>bogage dans Smarty. La console vous indique Il existe une console de d<>bogage dans Smarty. La console vous indique
@@ -39,23 +39,23 @@
</para> </para>
</note> </note>
</chapter> </chapter>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<chapter id="config.files"> <chapter id="config.files">
<title>Fichiers de configuration</title> <title>Fichiers de configuration</title>
<para> <para>
Les fichiers de configuration sont un moyen interressant pour g<>rer Les fichiers de configuration sont un moyen interressant pour g<>rer
@@ -77,7 +77,7 @@ pass=foobar
<20>tes s<>r que ces derniers n'acc<63>deront pas <20> ces donn<6E>es de configuration <20>tes s<>r que ces derniers n'acc<63>deront pas <20> ces donn<6E>es de configuration
en les chargeant depuis le template. en les chargeant depuis le template.
</para> </para>
</chapter> </chapter>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<chapter id="language.basic.syntax"> <chapter id="language.basic.syntax">
<title>Bases syntaxiques</title> <title>Bases syntaxiques</title>
<para> <para>
Toutes les balises Smarty sont entour<75>es de d<>limiteurs. Par d<>faut, Toutes les balises Smarty sont entour<75>es de d<>limiteurs. Par d<>faut,

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> <!-- EN-Revision: 1.1 Maintainer: didou Status: ready -->
<sect1 id="language.escaping"> <sect1 id="language.escaping">
<title>D<EFBFBD>sactiver l'analyse de Smarty</title> <title>D<EFBFBD>sactiver l'analyse de Smarty</title>
<para> <para>
Il est quelquesfois bien ou m<>me n<>cessaire de faire ignorer certaines sections Il est quelquesfois bien ou m<>me n<>cessaire de faire ignorer certaines sections
@@ -53,24 +53,24 @@ dosomething();
]]> ]]>
</programlisting> </programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> <!-- EN-Revision: 1.1 Maintainer: didou Status: ready -->
<sect1 id="language.math"> <sect1 id="language.math">
<title>Math<EFBFBD>matiques</title> <title>Math<EFBFBD>matiques</title>
<para> <para>
Les math<74>matiques peuvent <20>tre directement appliqu<71>es aux Les math<74>matiques peuvent <20>tre directement appliqu<71>es aux

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.syntax.attributes"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.syntax.attributes">
<title>Param<EFBFBD>tres</title> <title>Param<EFBFBD>tres</title>
<para> <para>
La plupart des fonctions attendent des param<61>tres qui r<>gissent leur La plupart des fonctions attendent des param<61>tres qui r<>gissent leur
@@ -18,7 +19,7 @@
</para> </para>
<example> <example>
<title>Param<EFBFBD>tres de fonction, syntaxe</title> <title>Param<EFBFBD>tres de fonction, syntaxe</title>
<programlisting> <programlisting>
{include file="header.tpl"} {include file="header.tpl"}
{include file=$includeFile} {include file=$includeFile}
@@ -30,7 +31,7 @@
&lt;SELECT name=company&gt; &lt;SELECT name=company&gt;
{html_options values=$vals selected=$selected output=$output} {html_options values=$vals selected=$selected output=$output}
&lt;/SELECT&gt;</programlisting> &lt;/SELECT&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.syntax.comments"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.syntax.comments">
<title>Commentaires</title> <title>Commentaires</title>
<para> <para>
Les commentaires dans Smarty sont entour<75>s d'asterisques, de cette Les commentaires dans Smarty sont entour<75>s d'asterisques, de cette
@@ -12,7 +13,7 @@
</para> </para>
<example> <example>
<title>Commentaires</title> <title>Commentaires</title>
<programlisting> <programlisting>
{* Smarty *} {* Smarty *}
{* Inclusion de l'en t<>te *} {* Inclusion de l'en t<>te *}

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.syntax.functions"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.syntax.functions">
<title>Fonctions</title> <title>Fonctions</title>
<para> <para>
Les balises Smarty affichent une <link linkend="language.variables">variable</link> Les balises Smarty affichent une <link linkend="language.variables">variable</link>
@@ -10,7 +11,7 @@
</para> </para>
<example> <example>
<title>syntaxe des fonctions</title> <title>syntaxe des fonctions</title>
<programlisting> <programlisting>
{config_load file="colors.conf"} {config_load file="colors.conf"}
{include file="header.tpl"} {include file="header.tpl"}

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.syntax.quotes"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.syntax.quotes">
<title>Variables ins<6E>r<EFBFBD>es dans des cha<68>nes de caract<63>res</title> <title>Variables ins<6E>r<EFBFBD>es dans des cha<68>nes de caract<63>res</title>
<para> <para>
Smarty est capable d'interpr<70>ter les variables ins<6E>r<EFBFBD>es <20> l'int<6E>rieur de Smarty est capable d'interpr<70>ter les variables ins<6E>r<EFBFBD>es <20> l'int<6E>rieur de
@@ -11,7 +12,7 @@
</para> </para>
<example> <example>
<title>Syntaxe d'insertion de variables dans des cha<68>nes</title> <title>Syntaxe d'insertion de variables dans des cha<68>nes</title>
<programlisting> <programlisting>
EXEMPLE DE SYNTAXE: EXEMPLE DE SYNTAXE:
{func var="test $foo test"} &lt;-- comprends $foo {func var="test $foo test"} &lt;-- comprends $foo
{func var="test $foo_bar test"} &lt;-- comprends $foo_bar {func var="test $foo_bar test"} &lt;-- comprends $foo_bar
@@ -24,7 +25,7 @@ EXEMPLE PRATIQUE:
{include file="subdir/$tpl_name.tpl"} &lt;-- remplace $tpl_name avec la valeur {include file="subdir/$tpl_name.tpl"} &lt;-- remplace $tpl_name avec la valeur
{cycle values="one,two,`$smarty.config.myval`"} &lt;-- doit comporter les {cycle values="one,two,`$smarty.config.myval`"} &lt;-- doit comporter les
apostrophes inverses</programlisting> apostrophes inverses</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<chapter id="language.builtin.functions"> <chapter id="language.builtin.functions">
<title>Fonctions natives</title> <title>Fonctions natives</title>
<para> <para>
Smarty est fourni en standard avec plusieurs fonctions natives. Smarty est fourni en standard avec plusieurs fonctions natives.
@@ -24,7 +24,7 @@
&designers.language-builtin-functions.language-function-section; &designers.language-builtin-functions.language-function-section;
&designers.language-builtin-functions.language-function-strip; &designers.language-builtin-functions.language-function-strip;
</chapter> </chapter>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml

View File

@@ -1,4 +1,14 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/designers/language-builtin-functions/clean.php on line 56 Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/designers/language-builtin-functions/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/designers/language-builtin-functions/clean.php on line 56 Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/designers/language-builtin-functions/clean.php on line 56
@@ -9,9 +19,9 @@ Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/designers/l
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/designers/language-builtin-functions/clean.php on line 56 Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/designers/language-builtin-functions/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.insert"> <sect1 id="language.function.insert">
<title>insert</title> <title>insert</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.assign"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.assign">
<title>assign</title> <title>assign</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -39,8 +40,8 @@
<para> <para>
Assign est utilis<69> pour d<>clarer ou modifier des variables de template. Assign est utilis<69> pour d<>clarer ou modifier des variables de template.
</para> </para>
<example> <example>
<title>assign</title> <title>assign</title>
<programlisting> <programlisting>
{assign var="name" value="Bob"} {assign var="name" value="Bob"}
@@ -49,7 +50,7 @@ La valeur de $name est {$name}.
SORTIE: SORTIE:
La valeur de $name est Bob.</programlisting> La valeur de $name est Bob.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.counter"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.counter">
<title>counter</title> <title>counter</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -78,8 +79,8 @@
fonction counter sera assign<67>e <20> la variable de template donn<6E>e plut<75>t fonction counter sera assign<67>e <20> la variable de template donn<6E>e plut<75>t
que d'<27>tre directement affich<63>e. que d'<27>tre directement affich<63>e.
</para> </para>
<example> <example>
<title>counter</title> <title>counter</title>
<programlisting> <programlisting>
{* initialisation du compteur *} {* initialisation du compteur *}
{counter start=0 skip=2 print=false} {counter start=0 skip=2 print=false}
@@ -95,7 +96,7 @@ SORTIE:
4&lt;br&gt; 4&lt;br&gt;
6&lt;br&gt; 6&lt;br&gt;
8&lt;br&gt;</programlisting> 8&lt;br&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.cycle"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.cycle">
<title>cycle</title> <title>cycle</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -89,8 +90,8 @@
Si vous d<>finissez l'attribut sp<73>cial "assign", la sortie de la fonction Si vous d<>finissez l'attribut sp<73>cial "assign", la sortie de la fonction
cycle y sera assign<67>e plut<75>t que d'<27>tre directement affich<63>e. cycle y sera assign<67>e plut<75>t que d'<27>tre directement affich<63>e.
</para> </para>
<example> <example>
<title>cycle</title> <title>cycle</title>
<programlisting> <programlisting>
{section name=rows loop=$data} {section name=rows loop=$data}
&lt;tr bgcolor="{cycle values="#eeeeee,#d0d0d0"}"&gt; &lt;tr bgcolor="{cycle values="#eeeeee,#d0d0d0"}"&gt;
@@ -110,7 +111,7 @@ SORTIE:
&lt;td&gt;3&lt;/td&gt; &lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt; &lt;/tr&gt;
</programlisting> </programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.debug"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.debug">
<title>debug</title> <title>debug</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.eval"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.eval">
<title>eval</title> <title>eval</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -64,8 +65,8 @@
la sortie sera plac<61>e en cache avec le reste du template. la sortie sera plac<61>e en cache avec le reste du template.
</para> </para>
</note> </note>
<example> <example>
<title>eval</title> <title>eval</title>
<programlisting> <programlisting>
setup.conf setup.conf
---------- ----------
@@ -96,7 +97,7 @@ Vous devez sp
Vous devez sp<73>cifier un &lt;b&gt;d<EFBFBD>partement&lt;/b&gt;. Vous devez sp<73>cifier un &lt;b&gt;d<EFBFBD>partement&lt;/b&gt;.
</programlisting> </programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.fetch"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.fetch">
<title>fetch</title> <title>fetch</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -66,8 +67,8 @@
r<>pertoires s<>curis<69> ($secure_dir). r<>pertoires s<>curis<69> ($secure_dir).
</para> </para>
</note> </note>
<example> <example>
<title>fetch</title> <title>fetch</title>
<programlisting> <programlisting>
{* Inclus du javascript dans votre template *} {* Inclus du javascript dans votre template *}
{fetch file="/export/httpd/www.domain.com/docs/navbar.js"} {fetch file="/export/httpd/www.domain.com/docs/navbar.js"}
@@ -83,7 +84,7 @@
{if $weather ne ""} {if $weather ne ""}
&lt;b&gt;{$weather}&lt;/b&gt; &lt;b&gt;{$weather}&lt;/b&gt;
{/if}</programlisting> {/if}</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.html.checkboxes"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.html.checkboxes">
<title>html_checkboxes</title> <title>html_checkboxes</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -81,8 +82,8 @@
Tous les param<61>tres qui ne sont pas list<73>s ci-dessus sont affich<63>s Tous les param<61>tres qui ne sont pas list<73>s ci-dessus sont affich<63>s
en tant que paires nom/valeur dans chaque balise &lt;input&gt; cr<63>e. en tant que paires nom/valeur dans chaque balise &lt;input&gt; cr<63>e.
</para> </para>
<example> <example>
<title>html_checkboxes</title> <title>html_checkboxes</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -122,7 +123,7 @@ SORTIE: (pour les deux exemples)
&lt;input type="checkbox" name="id[]" value="1001" checked="checked"&gt;&lt;br /&gt; &lt;input type="checkbox" name="id[]" value="1001" checked="checked"&gt;&lt;br /&gt;
&lt;input type="checkbox" name="id[]" value="1002"&gt;Jane Johnson&lt;br /&gt; &lt;input type="checkbox" name="id[]" value="1002"&gt;Jane Johnson&lt;br /&gt;
&lt;input type="checkbox" name="id[]" value="1003"&gt;Charlie Brown&lt;br /&gt;</programlisting> &lt;input type="checkbox" name="id[]" value="1003"&gt;Charlie Brown&lt;br /&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.html.image"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.html.image">
<title>html_image</title> <title>html_image</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -91,8 +92,8 @@
performances. performances.
</para> </para>
</note> </note>
<example> <example>
<title>html_image</title> <title>html_image</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -111,7 +112,7 @@ SORTIE: (possible)
&lt;img src="pumpkin.jpg" border="0" width="44" height="68"&gt; &lt;img src="pumpkin.jpg" border="0" width="44" height="68"&gt;
&lt;img src="/path/under/docroot/pumpkin.jpg" border="0" width="44" height="68"&gt; &lt;img src="/path/under/docroot/pumpkin.jpg" border="0" width="44" height="68"&gt;
&lt;img src="../path/relative/to/currdir/pumpkin.jpg" border="0" width="44" height="68"&gt;</programlisting> &lt;img src="../path/relative/to/currdir/pumpkin.jpg" border="0" width="44" height="68"&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.html.options"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.html.options">
<title>html_options</title> <title>html_options</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -83,8 +84,8 @@
affich<63>s en tant que paires nom / valeur. Ils sont ignor<6F>s si affich<63>s en tant que paires nom / valeur. Ils sont ignor<6F>s si
le param<61>tre optionnel <emphasis>name</emphasis> n'est pas donn<6E>. le param<61>tre optionnel <emphasis>name</emphasis> n'est pas donn<6E>.
</para> </para>
<example> <example>
<title>html_options</title> <title>html_options</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -130,7 +131,7 @@ SORTIE: (valable pour les deux exemples)
&lt;option value="1002"&gt;Jane Johnson&lt;/option&gt; &lt;option value="1002"&gt;Jane Johnson&lt;/option&gt;
&lt;option value="1003"&gt;Charlie Brown&lt;/option&gt; &lt;option value="1003"&gt;Charlie Brown&lt;/option&gt;
&lt;/select&gt;</programlisting> &lt;/select&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.html.radios"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.html.radios">
<title>html_radios</title> <title>html_radios</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -81,8 +82,8 @@
cr<63><72>e. cr<63><72>e.
</para> </para>
<example> <example>
<title>html_radios</title> <title>html_radios</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -124,7 +125,7 @@ SORTIE: (both examples)
&lt;input type="radio" name="id[]" value="1001" checked="checked"&gt;&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="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="1003"&gt;Charlie Brown&lt;br /&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.html.select.date"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.html.select.date">
<title>html_select_date</title> <title>html_select_date</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -208,8 +209,8 @@
d<>roulantes pour saisir la date. Elle peut afficher n'importe quel d<>roulantes pour saisir la date. Elle peut afficher n'importe quel
jour, mois et ann<6E>e. jour, mois et ann<6E>e.
</para> </para>
<example> <example>
<title>html_select_date</title> <title>html_select_date</title>
<programlisting> <programlisting>
{html_select_date} {html_select_date}
@@ -266,11 +267,11 @@ SORTIE:
&lt;select name="Date_Year"&gt; &lt;select name="Date_Year"&gt;
&lt;option value="2001" selected&gt;2001&lt;/option&gt; &lt;option value="2001" selected&gt;2001&lt;/option&gt;
&lt;/select&gt;</programlisting> &lt;/select&gt;</programlisting>
</example> </example>
<example> <example>
<title>html_select_date</title> <title>html_select_date</title>
<programlisting> <programlisting>
{* le d<>marage et la fin de l'ann<6E>e peuvent <20>tre relatif <20> l'ann<6E>e courante *} {* le d<>marage et la fin de l'ann<6E>e peuvent <20>tre relatif <20> l'ann<6E>e courante *}
@@ -301,7 +302,7 @@ SORTIE: (current year is 2000)
&lt;option value="2000" selected&gt;2000&lt;/option&gt; &lt;option value="2000" selected&gt;2000&lt;/option&gt;
&lt;option value="2001"&gt;2001&lt;/option&gt; &lt;option value="2001"&gt;2001&lt;/option&gt;
&lt;/select&gt;</programlisting> &lt;/select&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.html.select.time"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.html.select.time">
<title>html_select_time</title> <title>html_select_time</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -140,8 +141,8 @@
d<>roulantes pour saisir une heure. Elle prends en charge l'heure, d<>roulantes pour saisir une heure. Elle prends en charge l'heure,
les minutes, les secondes et le m<>ridian. les minutes, les secondes et le m<>ridian.
</para> </para>
<example> <example>
<title>html_select_time</title> <title>html_select_time</title>
<programlisting> <programlisting>
{html_select_time use_24_hours=true} {html_select_time use_24_hours=true}
@@ -302,7 +303,7 @@ SORTIE:
&lt;option value="am" selected&gt;AM&lt;/option&gt; &lt;option value="am" selected&gt;AM&lt;/option&gt;
&lt;option value="pm"&gt;PM&lt;/option&gt; &lt;option value="pm"&gt;PM&lt;/option&gt;
&lt;/select&gt;</programlisting> &lt;/select&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.html.table"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.html.table">
<title>html_table</title> <title>html_table</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -78,8 +79,8 @@
<emphasis>trailpad</emphasis> est la valeur avec laquelle remplir <emphasis>trailpad</emphasis> est la valeur avec laquelle remplir
les cellules restantes de la derni<6E>re ligne, s'il y en a une. les cellules restantes de la derni<6E>re ligne, s'il y en a une.
</para> </para>
<example> <example>
<title>html_table</title> <title>html_table</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -112,7 +113,7 @@ SORTIE:
&lt;tr bgcolor="#dddddd"&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;/tr&gt; &lt;tr bgcolor="#dddddd"&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor="#eeeeee"&gt;&lt;td&gt;9&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt; &lt;tr bgcolor="#eeeeee"&gt;&lt;td&gt;9&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</programlisting> &lt;/table&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.mailto"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.mailto">
<title>mailto</title> <title>mailto</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -104,8 +105,8 @@
Vous pouvez <20>galement utiliser un encodage hexad<61>cimal. Vous pouvez <20>galement utiliser un encodage hexad<61>cimal.
</para> </para>
</note> </note>
<example> <example>
<title>mailto</title> <title>mailto</title>
<programlisting> <programlisting>
{mailto address="me@domain.com"} {mailto address="me@domain.com"}
{mailto address="moi@domaine.com" text="send me some mail"} {mailto address="moi@domaine.com" text="send me some mail"}
@@ -128,7 +129,7 @@ SORTIE:
&lt;a href="mailto:moi@domaine.com?subject=Hello%20to%20you%21" &gt;moi@domaine.com&lt;/a&gt; &lt;a href="mailto:moi@domaine.com?subject=Hello%20to%20you%21" &gt;moi@domaine.com&lt;/a&gt;
&lt;a href="mailto:moi@domaine.com?cc=you@domain.com%2Cthey@domain.com" &gt;moi@domaine.com&lt;/a&gt; &lt;a href="mailto:moi@domaine.com?cc=you@domain.com%2Cthey@domain.com" &gt;moi@domaine.com&lt;/a&gt;
&lt;a href="mailto:moi@domaine.com" class="email"&gt;moi@domaine.com&lt;/a&gt;</programlisting> &lt;a href="mailto:moi@domaine.com" class="email"&gt;moi@domaine.com&lt;/a&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.math"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.math">
<title>math</title> <title>math</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -86,8 +87,8 @@
une boucle section. une boucle section.
</para> </para>
</note> </note>
<example> <example>
<title>math</title> <title>math</title>
<programlisting> <programlisting>
{* $height=4, $width=5 *} {* $height=4, $width=5 *}
@@ -126,7 +127,7 @@ SORTIE:
SORTIE: SORTIE:
9.44</programlisting> 9.44</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.popup.init"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.popup.init">
<title>popup_init</title> <title>popup_init</title>
<para> <para>
popup est une int<6E>gration de overLib, une librairie capable de r<>aliser popup est une int<6E>gration de overLib, une librairie capable de r<>aliser
@@ -18,12 +19,12 @@
indiquez le chemin relatif <20> ce fichier dans l'attribut src de indiquez le chemin relatif <20> ce fichier dans l'attribut src de
popup_init. popup_init.
</para> </para>
<example> <example>
<title>popup_init</title> <title>popup_init</title>
<programlisting> <programlisting>
{* popup_init doit <20>tre appel<65> une fois en d<>but de page. *} {* popup_init doit <20>tre appel<65> une fois en d<>but de page. *}
{popup_init src="/javascripts/overlib.js"}</programlisting> {popup_init src="/javascripts/overlib.js"}</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.popup"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.popup">
<title>popup</title> <title>popup</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -403,8 +404,8 @@
<para> <para>
popup est utilis<69> pour cr<63>er une fen<65>tre popup javascript. popup est utilis<69> pour cr<63>er une fen<65>tre popup javascript.
</para> </para>
<example> <example>
<title>popup</title> <title>popup</title>
<programlisting> <programlisting>
{* popup_init doit <20>tre appel<65> en haut de votre page *} {* popup_init doit <20>tre appel<65> en haut de votre page *}
{popup_init src="/javascripts/overlib.js"} {popup_init src="/javascripts/overlib.js"}
@@ -419,7 +420,7 @@ text="&lt;UL&gt;&lt;LI&gt;links&lt;LI&gt;pages&lt;LI&gt;images&lt;/UL&gt;" snapx
SORTIE: SORTIE:
(allez sur le site officiel de Smarty pour des exemples.)</programlisting> (allez sur le site officiel de Smarty pour des exemples.)</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.function.textformat"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.function.textformat">
<title>textformat</title> <title>textformat</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -96,8 +97,8 @@
chaque attribut. Actuellement, seul le style pr<70>d<EFBFBD>fini "email" est chaque attribut. Actuellement, seul le style pr<70>d<EFBFBD>fini "email" est
disponible. disponible.
</para> </para>
<example> <example>
<title>textformat</title> <title>textformat</title>
<programlisting> <programlisting>
{textformat wrap=40} {textformat wrap=40}
@@ -236,7 +237,7 @@ bar foo foo. bar foo bar foo foo. bar foo bar foo foo. bar foo bar foo
foo. foo.
</programlisting> </programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.capitalize"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.capitalize">
<title>capitalize</title> <title>capitalize</title>
<para> <para>
Met la premi<6D>re lettre de chaque mot d'une variable en majuscule. Met la premi<6D>re lettre de chaque mot d'une variable en majuscule.
</para> </para>
<example> <example>
<title>capitalize</title> <title>capitalize</title>
<programlisting> <programlisting>
index.php: index.php:
$smarty = new Smarty; $smarty = new Smarty;
@@ -23,7 +24,7 @@ SORTIE:
La police commence une campagne de sensibilisation contre la violence routi<74>re. La police commence une campagne de sensibilisation contre la violence routi<74>re.
La Police Commence Une Campagne De Sensibilisation Contre La Violence Routi<74>re.</programlisting> La Police Commence Une Campagne De Sensibilisation Contre La Violence Routi<74>re.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.cat"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.cat">
<title>cat</title> <title>cat</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -32,8 +33,8 @@
<para> <para>
Cette valeur est concat<61>n<EFBFBD>e <20> la variable donn<6E>e. Cette valeur est concat<61>n<EFBFBD>e <20> la variable donn<6E>e.
</para> </para>
<example> <example>
<title>cat</title> <title>cat</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -48,7 +49,7 @@ index.tpl:
SORTIE: SORTIE:
Les devins ont pr<70>vus que le monde existera toujours demain.</programlisting> Les devins ont pr<70>vus que le monde existera toujours demain.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.count.characters"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.count.characters">
<title>count_characters</title> <title>count_characters</title>
<para> <para>
Compte le nombre de caract<63>res dans une variable. Compte le nombre de caract<63>res dans une variable.
</para> </para>
<example> <example>
<title>count_characters</title> <title>count_characters</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -24,7 +25,7 @@ SORTIE:
Vagues de froid li<6C>es <20> la temp<6D>rature. Vagues de froid li<6C>es <20> la temp<6D>rature.
39 39
</programlisting> </programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.count.paragraphs"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.count.paragraphs">
<title>count_paragraphs</title> <title>count_paragraphs</title>
<para> <para>
Compte le nombre de paragraphes dans une variable. Compte le nombre de paragraphes dans une variable.
</para> </para>
<example> <example>
<title>count_paragraphs</title> <title>count_paragraphs</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -23,7 +24,7 @@ SORTIE:
La guerre apporte la paix, au prix de la vie des innocents. La guerre apporte la paix, au prix de la vie des innocents.
1</programlisting> 1</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.count.sentences"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.count.sentences">
<title>count_sentences</title> <title>count_sentences</title>
<para> <para>
Compte le nombre de phrases dans une variable. Compte le nombre de phrases dans une variable.
</para> </para>
<example> <example>
<title>count_sentences</title> <title>count_sentences</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -27,7 +28,7 @@ Deux navires rentrent en collision
<EFBFBD> coups de haches. <EFBFBD> coups de haches.
2</programlisting> 2</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.count.words"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.count.words">
<title>count_words</title> <title>count_words</title>
<para> <para>
Compte le nombre de mots dans une variable. Compte le nombre de mots dans une variable.
</para> </para>
<example> <example>
<title>count_words</title> <title>count_words</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -23,7 +24,7 @@ SORTIE:
Un anneau pour les gouverner tous. Un anneau pour les gouverner tous.
6</programlisting> 6</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.date.format"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.date.format">
<title>date_format</title> <title>date_format</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -45,8 +46,8 @@
Si la date pass<73>e <20> date_format est vide, et qu'un second param<61>tre Si la date pass<73>e <20> date_format est vide, et qu'un second param<61>tre
est donn<6E>, ce dernier sera utilis<69> comme <20>tant la date <20> formater. est donn<6E>, ce dernier sera utilis<69> comme <20>tant la date <20> formater.
</para> </para>
<example> <example>
<title>date_format</title> <title>date_format</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -72,9 +73,9 @@ Tuesday, February 6, 2001
Feb 5, 2001 Feb 5, 2001
Monday, February 5, 2001 Monday, February 5, 2001
14:33:00</programlisting> 14:33:00</programlisting>
</example> </example>
<example> <example>
<title>date_format indicateurs de convertion</title> <title>date_format indicateurs de convertion</title>
<programlisting> <programlisting>
%a - Abr<62>viation du jour de la semaine, selon les param<61>tres locaux. %a - Abr<62>viation du jour de la semaine, selon les param<61>tres locaux.
@@ -162,7 +163,7 @@ PHP strftime(). Il est probable que vous disposiez de plus ou moins d'options
disponibles selon le syst<73>me sur lequel PHP a <20>t<EFBFBD> compil<69> (strftime ()). disponibles selon le syst<73>me sur lequel PHP a <20>t<EFBFBD> compil<69> (strftime ()).
Reportez vous <20> l'aide de votre syst<73>me pour une liste compl<70>te des Reportez vous <20> l'aide de votre syst<73>me pour une liste compl<70>te des
param<EFBFBD>tres disponibles.</programlisting> param<EFBFBD>tres disponibles.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.default"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.default">
<title>default</title> <title>default</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -35,8 +36,8 @@
Si la variable est vide ou ind<6E>finie, la valeur donn<6E>e est affich<63>e Si la variable est vide ou ind<6E>finie, la valeur donn<6E>e est affich<63>e
en lieu et place. Default attends un seul argument. en lieu et place. Default attends un seul argument.
</para> </para>
<example> <example>
<title>default</title> <title>default</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -53,7 +54,7 @@ SORTIE:
Les portes de la moria restent ferm<72>es. Les portes de la moria restent ferm<72>es.
pas de titre</programlisting> pas de titre</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.escape"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.escape">
<title>escape</title> <title>escape</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="6"> <tgroup cols="6">
@@ -39,8 +40,8 @@
hexad<61>cimales, les entit<69>s hexad<61>cimales ou javascript. hexad<61>cimales, les entit<69>s hexad<61>cimales ou javascript.
Par d<>faut, ce param<61>tre est html. Par d<>faut, ce param<61>tre est html.
</para> </para>
<example> <example>
<title>escape</title> <title>escape</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -67,7 +68,7 @@ SORTIE:
%27Stiff+Opposition+Expected+to+Casketless+Funeral+Plan%27 %27Stiff+Opposition+Expected+to+Casketless+Funeral+Plan%27
\'Stiff Opposition Expected to Casketless Funeral Plan\' \'Stiff Opposition Expected to Casketless Funeral Plan\'
&lt;a href=&quot;mailto:%62%6f%62%40%6d%65%2e%6e%65%74&quot;&gt;&amp;#x62;&amp;#x6f;&amp;#x62;&amp;#x40;&amp;#x6d;&amp;#x65;&amp;#x2e;&amp;#x6e;&amp;#x65;&amp;#x74;&lt;/a&gt;</programlisting> &lt;a href=&quot;mailto:%62%6f%62%40%6d%65%2e%6e%65%74&quot;&gt;&amp;#x62;&amp;#x6f;&amp;#x62;&amp;#x40;&amp;#x6d;&amp;#x65;&amp;#x2e;&amp;#x6e;&amp;#x65;&amp;#x74;&lt;/a&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.indent"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.indent">
<title>indent</title> <title>indent</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -43,8 +44,8 @@
pouvez sp<73>cifier le caract<63>re <20> utiliser pour l'indentation (utilisez pouvez sp<73>cifier le caract<63>re <20> utiliser pour l'indentation (utilisez
"\t" pour les tabulations). "\t" pour les tabulations).
</para> </para>
<example> <example>
<title>indent</title> <title>indent</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -72,7 +73,7 @@ Il fera noir cette nuit.
Il fera noir cette nuit. Il fera noir cette nuit.
</programlisting> </programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.lower"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.lower">
<title>lower</title> <title>lower</title>
<para> <para>
Met une variable en minuscules. Met une variable en minuscules.
</para> </para>
<example> <example>
<title>lower</title> <title>lower</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -23,7 +24,7 @@ SORTIE:
Deux Suspects Se Sont Sauv<75>s. Deux Suspects Se Sont Sauv<75>s.
deux suspects se sont sauv<75>s.</programlisting> deux suspects se sont sauv<75>s.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.nl2br"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.nl2br">
<title>nl2br</title> <title>nl2br</title>
<para> <para>
Transforme toutes les fins de lignes en balises &lt;br /&gt;. Transforme toutes les fins de lignes en balises &lt;br /&gt;.
Equivalent <20> la fonction PHP nl2br(). Equivalent <20> la fonction PHP nl2br().
</para> </para>
<example> <example>
<title>nl2br</title> <title>nl2br</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -22,7 +23,7 @@ index.tpl:
SORTIE: SORTIE:
Pluie ou soleil attendu&lt;br /&gt;aujourd'hui, nuit noire</programlisting> Pluie ou soleil attendu&lt;br /&gt;aujourd'hui, nuit noire</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.regex.replace"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.regex.replace">
<title>regex_replace</title> <title>regex_replace</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -40,8 +41,8 @@
Un rechercher / remplacer avec une expression r<>guli<6C>re. Utilise la m<>me Un rechercher / remplacer avec une expression r<>guli<6C>re. Utilise la m<>me
syntaxe que la fonction PHP preg_replace. syntaxe que la fonction PHP preg_replace.
</para> </para>
<example> <example>
<title>regex_replace</title> <title>regex_replace</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -61,7 +62,7 @@ SORTIE:
L'infertilit<69> est un maux grandissant L'infertilit<69> est un maux grandissant
, disent les experts. , disent les experts.
L'infertilit<69> est un maux grandissant, disent les experts.</programlisting> L'infertilit<69> est un maux grandissant, disent les experts.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.replace"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.replace">
<title>replace</title> <title>replace</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -39,8 +40,8 @@
<para> <para>
Un simple remplacement de cha<68>ne de caract<63>res. Un simple remplacement de cha<68>ne de caract<63>res.
</para> </para>
<example> <example>
<title>replace</title> <title>replace</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -59,7 +60,7 @@ SORTIE:
Child's Stool Great for Use in Garden. Child's Stool Great for Use in Garden.
Child's Stool Great for Use in Vineyard. Child's Stool Great for Use in Vineyard.
Child's Stool Great for Use in Garden.</programlisting> Child's Stool Great for Use in Garden.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.spacify"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.spacify">
<title>spacify</title> <title>spacify</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -34,8 +35,8 @@
d'une variable. Optionnellement, vous pouvez lui passer un caract<63>re d'une variable. Optionnellement, vous pouvez lui passer un caract<63>re
(ou une cha<68>ne) diff<66>rent de espace <20> ins<6E>rer. (ou une cha<68>ne) diff<66>rent de espace <20> ins<6E>rer.
</para> </para>
<example> <example>
<title>spacify</title> <title>spacify</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -55,7 +56,7 @@ SORTIE:
Quelquechose s'est mal pass<73> et <20> provoqu<71> cet accident, disent les experts. Quelquechose s'est mal pass<73> et <20> provoqu<71> cet accident, disent les experts.
Q u e l q u e c h o s e s ' e s t m a l p a s s <20> e t <20> p r o v o q u <20> c e t a c c i d e n t , d i s e n t l e s e x p e r t s . Q u e l q u e c h o s e s ' e s t m a l p a s s <20> e t <20> p r o v o q u <20> c e t a c c i d e n t , d i s e n t l e s e x p e r t s .
Q^^u^^e^^l^^q^^u^^e^^c^^h^^o^^s^^e^^ ^^s^^'^^e^^s^^t^^ ^^m^^a^^l^^ ^^p^^a^^s^^s^^<5E>^^ ^^e^^t^^ ^^<5E>^^ ^^p^^r^^o^^v^^o^^q^^u^^<5E>^^ ^^c^^e^^t^^ ^^a^^c^^c^^i^^d^^e^^n^^t^^,^^ ^^d^^i^^s^^e^^n^^t^^ ^^l^^e^^s^^ ^^e^^x^^p^^e^^r^^t^^s^^.</programlisting> Q^^u^^e^^l^^q^^u^^e^^c^^h^^o^^s^^e^^ ^^s^^'^^e^^s^^t^^ ^^m^^a^^l^^ ^^p^^a^^s^^s^^<5E>^^ ^^e^^t^^ ^^<5E>^^ ^^p^^r^^o^^v^^o^^q^^u^^<5E>^^ ^^c^^e^^t^^ ^^a^^c^^c^^i^^d^^e^^n^^t^^,^^ ^^d^^i^^s^^e^^n^^t^^ ^^l^^e^^s^^ ^^e^^x^^p^^e^^r^^t^^s^^.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.string.format"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.string.format">
<title>string_format</title> <title>string_format</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -33,8 +34,8 @@
Un moyen pour formater les cha<68>nes de caract<63>res, comme par exemple les Un moyen pour formater les cha<68>nes de caract<63>res, comme par exemple les
nombres d<>cimaux. Utilise la syntaxe de sprintf pour formater les <20>l<EFBFBD>ments. nombres d<>cimaux. Utilise la syntaxe de sprintf pour formater les <20>l<EFBFBD>ments.
</para> </para>
<example> <example>
<title>string_format</title> <title>string_format</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -53,7 +54,7 @@ SORTIE:
23.5787446 23.5787446
23.58 23.58
24</programlisting> 24</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.strip.tags"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.strip.tags">
<title>strip_tags</title> <title>strip_tags</title>
<para> <para>
Supprime toutes les balises, et plus g<>n<EFBFBD>ralement tout ce qui se trouve Supprime toutes les balises, et plus g<>n<EFBFBD>ralement tout ce qui se trouve
entre &lt; et &gt;. entre &lt; et &gt;.
</para> </para>
<example> <example>
<title>strip_tags</title> <title>strip_tags</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -27,7 +28,7 @@ Une femme aveugle obtient un nouveau &lt;font face=\"helvetica\"&gt;
rein&lt;/font&gt; d'un p<>re qu'elle n'a pas vu depuis&lt;b&gt; des ann<6E>es&lt;/b&gt;. rein&lt;/font&gt; d'un p<>re qu'elle n'a pas vu depuis&lt;b&gt; des ann<6E>es&lt;/b&gt;.
Une femme aveugle obtient un nouveau rein d'un p<>re Une femme aveugle obtient un nouveau rein d'un p<>re
qu'elle n'a pas vu depuis des ann<6E>es.</programlisting> qu'elle n'a pas vu depuis des ann<6E>es.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.strip"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.strip">
<title>strip</title> <title>strip</title>
<para> <para>
Remplace les espaces multiples, les nouvelles lignes et les tabulations Remplace les espaces multiples, les nouvelles lignes et les tabulations
@@ -14,8 +15,8 @@
linkend="language.function.strip">fonction strip</link>. linkend="language.function.strip">fonction strip</link>.
</para> </para>
</note> </note>
<example> <example>
<title>strip</title> <title>strip</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -37,7 +38,7 @@ Une r
Une r<>union autour d'un feu de chemin<69>e est toujours agr<67>able. Une r<>union autour d'un feu de chemin<69>e est toujours agr<67>able.
Une&amp;nbsp;r<>union&amp;nbsp;autour&amp;nbsp;d'un&amp;nbsp;feu&amp;nbsp;de&amp;nbsp;chemin<69>e&amp;nbsp;est&amp;nbsp;toujours Une&amp;nbsp;r<>union&amp;nbsp;autour&amp;nbsp;d'un&amp;nbsp;feu&amp;nbsp;de&amp;nbsp;chemin<69>e&amp;nbsp;est&amp;nbsp;toujours
&amp;nbsp;agr<67>able.</programlisting> &amp;nbsp;agr<67>able.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.truncate"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.truncate">
<title>truncate</title> <title>truncate</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -56,8 +57,8 @@
tronquer la cha<68>ne au caract<63>re exact, donnez la valeur true au tronquer la cha<68>ne au caract<63>re exact, donnez la valeur true au
dernier param<61>tre optionnel. dernier param<61>tre optionnel.
</para> </para>
<example> <example>
<title>truncate</title> <title>truncate</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -84,7 +85,7 @@ Deux soeurs r
Deux soeurs r<>unies apr<70>s 18 a Deux soeurs r<>unies apr<70>s 18 a
Deux soeurs r<>unies apr<70>s 1... Deux soeurs r<>unies apr<70>s 1...
</programlisting> </programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.upper"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.upper">
<title>upper</title> <title>upper</title>
<para> <para>
Met une variable en majuscules. Met une variable en majuscules.
</para> </para>
<example> <example>
<title>upper</title> <title>upper</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -24,7 +25,7 @@ SORTIE:
Si l'attaque n'est pas mise en place rapidement, cela risque de durer longtemps. Si l'attaque n'est pas mise en place rapidement, cela risque de durer longtemps.
SI L'ATTAQUE N'EST PAS MISE EN PLACE RAPIDEMENT, CELA RISQUE DE DURER LONGTEMPS.</programlisting> SI L'ATTAQUE N'EST PAS MISE EN PLACE RAPIDEMENT, CELA RISQUE DE DURER LONGTEMPS.</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.modifier.wordwrap"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.modifier.wordwrap">
<title>wordwrap</title> <title>wordwrap</title>
<informaltable frame="all"> <informaltable frame="all">
<tgroup cols="5"> <tgroup cols="5">
@@ -52,8 +53,8 @@
autoriser le d<>coupage des mots pour un ajustement au caract<63>re pr<70>s, autoriser le d<>coupage des mots pour un ajustement au caract<63>re pr<70>s,
passez true au troisi<73>me param<61>tre optionnel. passez true au troisi<73>me param<61>tre optionnel.
</para> </para>
<example> <example>
<title>wordwrap</title> <title>wordwrap</title>
<programlisting> <programlisting>
index.php: index.php:
@@ -98,7 +99,7 @@ Une femme aveugle obtient un n
ouveau rein d'un p<>re qu'elle ouveau rein d'un p<>re qu'elle
n'a pas vu depuis des ann<6E>es. n'a pas vu depuis des ann<6E>es.
</programlisting> </programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,5 +1,8 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.assigned.variables"> <sect1 id="language.assigned.variables">
<title>Variables assign<67>es depuis PHP</title> <title>Variables assign<67>es depuis PHP</title>
<para> <para>
@@ -87,7 +90,7 @@ zaphod@slartibartfast.com<br />
</para> </para>
<example> <example>
<title>Acc<EFBFBD>s aux tableaux gr<67>ce <20> l'index</title> <title>Acc<EFBFBD>s aux tableaux gr<67>ce <20> l'index</title>
<programlisting> <programlisting>
index.php: index.php:
$smarty = new Smarty; $smarty = new Smarty;
@@ -112,7 +115,7 @@ SORTIE:
zaphod@slartibartfast.com&lt;br&gt; zaphod@slartibartfast.com&lt;br&gt;
555-444-3333&lt;br&gt; 555-444-3333&lt;br&gt;
555-111-1234&lt;br&gt;</programlisting> 555-111-1234&lt;br&gt;</programlisting>
</example> </example>
</sect2> </sect2>
<sect2 id="language.variables.objects"> <sect2 id="language.variables.objects">
<title>Objets</title> <title>Objets</title>
@@ -120,8 +123,8 @@ zaphod@slartibartfast.com&lt;br&gt;
Les attributs des objets assign<67>s depuis PHP peuvent <20>tre utilis<69>es en Les attributs des objets assign<67>s depuis PHP peuvent <20>tre utilis<69>es en
en sp<73>cifiant le nom apr<70>s le symbole '-&gt;'. en sp<73>cifiant le nom apr<70>s le symbole '-&gt;'.
</para> </para>
<example> <example>
<title>acc<EFBFBD>der aux attributs des objets</title> <title>acc<EFBFBD>der aux attributs des objets</title>
<programlisting> <programlisting>
nom: {$person-&gt;name}&lt;br&gt; nom: {$person-&gt;name}&lt;br&gt;
email: {$person-&gt;email}&lt;br&gt; email: {$person-&gt;email}&lt;br&gt;
@@ -130,26 +133,26 @@ SORTIE:
nom: Zaphod Beeblebrox&lt;br&gt; nom: Zaphod Beeblebrox&lt;br&gt;
email: zaphod@slartibartfast.com&lt;br&gt;</programlisting> email: zaphod@slartibartfast.com&lt;br&gt;</programlisting>
</example> </example>
</sect2> </sect2>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.config.variables"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.config.variables">
<title>Variables charg<72>es depuis des fichiers de configuration</title> <title>Variables charg<72>es depuis des fichiers de configuration</title>
<para> <para>
Les variables r<>cup<75>r<EFBFBD>es depuis un fichier de configuration sont utilis<69>es Les variables r<>cup<75>r<EFBFBD>es depuis un fichier de configuration sont utilis<69>es
@@ -8,9 +9,9 @@
<link <link
linkend="language.variables.smarty.config">$smarty.config</link>. linkend="language.variables.smarty.config">$smarty.config</link>.
</para> </para>
<example> <example>
<title>variables de fichiers de configuration</title> <title>variables de fichiers de configuration</title>
<programlisting> <programlisting>
foo.conf: foo.conf:
@@ -67,30 +68,30 @@ SORTIE: (same for both examples)
&lt;/table&gt; &lt;/table&gt;
&lt;/body&gt; &lt;/body&gt;
&lt;/html&gt;</programlisting> &lt;/html&gt;</programlisting>
</example> </example>
<para> <para>
Les variables de fichier de configuration ne peuvent <20>tre utilis<69>s tant Les variables de fichier de configuration ne peuvent <20>tre utilis<69>s tant
qu'elles n'ont pas <20>t<EFBFBD> charg<72>es. Cette proc<6F>dure est expliqu<71>e qu'elles n'ont pas <20>t<EFBFBD> charg<72>es. Cette proc<6F>dure est expliqu<71>e
plus loin dans le document, voir <command>config_load</command>. plus loin dans le document, voir <command>config_load</command>.
</para> </para>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,9 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="language.variables.smarty"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="language.variables.smarty">
<title>Variable r<>serv<72>e {$smarty}</title> <title>Variable r<>serv<72>e {$smarty}</title>
<para> <para>
La variable r<>serv<72>e {$smarty} peut <20>tre utilis<69>e pour acc<63>der <20> plusieurs La variable r<>serv<72>e {$smarty} peut <20>tre utilis<69>e pour acc<63>der <20> plusieurs
@@ -16,7 +19,7 @@
<example> <example>
<title>Afficher des variables de requ<71>te</title> <title>Afficher des variables de requ<71>te</title>
<programlisting> <programlisting>
{* Affiche la valeur de page dans l'url (GET) http://www.domain.com/index.php?page=foo *} {* Affiche la valeur de page dans l'url (GET) http://www.domain.com/index.php?page=foo *}
{$smarty.get.page} {$smarty.get.page}
@@ -37,7 +40,7 @@
{* affiche la variable "utilisateur" du regroupement de get/post/cookies/server/env *} {* affiche la variable "utilisateur" du regroupement de get/post/cookies/server/env *}
{$smarty.request.utilisateur}</programlisting> {$smarty.request.utilisateur}</programlisting>
</example> </example>
</sect2> </sect2>
<sect2 id="language.variables.smarty.now"> <sect2 id="language.variables.smarty.now">
@@ -48,25 +51,25 @@
Epoch (1 Janvier 1970) et peut <20>tre pass<73> directement au modificateur Epoch (1 Janvier 1970) et peut <20>tre pass<73> directement au modificateur
de variable date <20> des fins d'affichage. de variable date <20> des fins d'affichage.
</para> </para>
<example> <example>
<title>utilisation de {$smarty.now}</title> <title>utilisation de {$smarty.now}</title>
<programlisting> <programlisting>
{* utilise le modificateur de variable date_format pour afficher la date et heure *} {* utilise le modificateur de variable date_format pour afficher la date et heure *}
{$smarty.now|date_format:"%d-%m-%Y %H:%M:%S"}</programlisting> {$smarty.now|date_format:"%d-%m-%Y %H:%M:%S"}</programlisting>
</example> </example>
</sect2> </sect2>
<sect2 id="language.variables.smarty.const"> <sect2 id="language.variables.smarty.const">
<title>{$smarty.const}</title> <title>{$smarty.const}</title>
<para> <para>
Vous pouvez directement acc<63>der aux constantes PHP. Vous pouvez directement acc<63>der aux constantes PHP.
</para> </para>
<example> <example>
<title>Utiliser {$smarty.const}</title> <title>Utiliser {$smarty.const}</title>
<programlisting> <programlisting>
{$smarty.const._MA_CONSTANTE_}</programlisting> {$smarty.const._MA_CONSTANTE_}</programlisting>
</example> </example>
</sect2> </sect2>
<sect2 id="language.variables.smarty.capture"> <sect2 id="language.variables.smarty.capture">
@@ -107,24 +110,24 @@
</para> </para>
</sect2> </sect2>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<part id="getting.started"> <part id="getting.started">
<title>Pour commencer</title> <title>Pour commencer</title>
@@ -107,11 +108,11 @@
<example> <example>
<title>fichiers de la biblioth<74>que SMARTY</title> <title>fichiers de la biblioth<74>que SMARTY</title>
<screen> <screen>
Smarty.class.php Smarty.class.php
Smarty_Compiler.class.php Smarty_Compiler.class.php
Config_File.class.php Config_File.class.php
debug.tpl debug.tpl
/plugins/*.php (tous !)</screen> /plugins/*.php (tous !)</screen>
</example> </example>
<para> <para>
@@ -135,8 +136,8 @@ debug.tpl
<example> <example>
<title>cr<EFBFBD>er une instance de Smarty</title> <title>cr<EFBFBD>er une instance de Smarty</title>
<screen> <screen>
require('Smarty.class.php'); require('Smarty.class.php');
$smarty = new Smarty;</screen> $smarty = new Smarty;</screen>
</example> </example>
<para> <para>
@@ -148,26 +149,26 @@ $smarty = new Smarty;</screen>
<example> <example>
<title>fournir un chemin absolu vers la biblioth<74>que Smarty</title> <title>fournir un chemin absolu vers la biblioth<74>que Smarty</title>
<screen> <screen>
require('/usr/local/lib/php/Smarty/Smarty.class.php'); require('/usr/local/lib/php/Smarty/Smarty.class.php');
$smarty = new Smarty;</screen> $smarty = new Smarty;</screen>
</example> </example>
<example> <example>
<title>Ajouter le r<>pertoire de la biblioth<74>que au chemin de php_include</title> <title>Ajouter le r<>pertoire de la biblioth<74>que au chemin de php_include</title>
<screen> <screen>
// Editez le fichier php.ini, ajoutez le r<>pertoire de la // Editez le fichier php.ini, ajoutez le r<>pertoire de la
// biblioth<74>que Smarty au include_path et red<65>marrez le serveur Web. // biblioth<74>que Smarty au include_path et red<65>marrez le serveur Web.
// Cela devrait ensuite fonctionner : // Cela devrait ensuite fonctionner :
require('Smarty.class.php'); require('Smarty.class.php');
$smarty = new Smarty;</screen> $smarty = new Smarty;</screen>
</example> </example>
<example> <example>
<title>D<EFBFBD>finir explicitement la constante SMARTY_DIR</title> <title>D<EFBFBD>finir explicitement la constante SMARTY_DIR</title>
<screen> <screen>
define('SMARTY_DIR','/usr/local/lib/php/Smarty/'); define('SMARTY_DIR','/usr/local/lib/php/Smarty/');
require(SMARTY_DIR.'Smarty.class.php'); require(SMARTY_DIR.'Smarty.class.php');
$smarty = new Smarty;</screen> $smarty = new Smarty;</screen>
</example> </example>
<para> <para>
@@ -223,18 +224,18 @@ $smarty = new Smarty;</screen>
<example> <example>
<title>exemple de structure de fichiers</title> <title>exemple de structure de fichiers</title>
<screen> <screen>
/usr/local/lib/php/Smarty/Smarty.class.php /usr/local/lib/php/Smarty/Smarty.class.php
/usr/local/lib/php/Smarty/Smarty_Compiler.class.php /usr/local/lib/php/Smarty/Smarty_Compiler.class.php
/usr/local/lib/php/Smarty/Config_File.class.php /usr/local/lib/php/Smarty/Config_File.class.php
/usr/local/lib/php/Smarty/debug.tpl /usr/local/lib/php/Smarty/debug.tpl
/usr/local/lib/php/Smarty/plugins/*.php /usr/local/lib/php/Smarty/plugins/*.php
/web/www.mydomain.com/smarty/livredor/templates/ /web/www.mydomain.com/smarty/livredor/templates/
/web/www.mydomain.com/smarty/livredor/templates_c/ /web/www.mydomain.com/smarty/livredor/templates_c/
/web/www.mydomain.com/smarty/livredor/configs/ /web/www.mydomain.com/smarty/livredor/configs/
/web/www.mydomain.com/smarty/livredor/cache/ /web/www.mydomain.com/smarty/livredor/cache/
/web/www.mydomain.com/docs/livredor/index.php</screen> /web/www.mydomain.com/docs/livredor/index.php</screen>
</example> </example>
<para> <para>
@@ -254,11 +255,11 @@ $smarty = new Smarty;</screen>
<title>r<EFBFBD>gler les permissions d'acc<63>s</title> <title>r<EFBFBD>gler les permissions d'acc<63>s</title>
<screen> <screen>
chown nobody:nobody /web/www.mydomain.com/smarty/templates_c/ chown nobody:nobody /web/www.mydomain.com/smarty/templates_c/
chmod 770 /web/www.mydomain.com/smarty/templates_c/ chmod 770 /web/www.mydomain.com/smarty/templates_c/
chown nobody:nobody /web/www.mydomain.com/smarty/cache/ chown nobody:nobody /web/www.mydomain.com/smarty/cache/
chmod 770 /web/www.mydomain.com/smarty/cache/</screen> chmod 770 /web/www.mydomain.com/smarty/cache/</screen>
</example> </example>
<note> <note>
@@ -281,9 +282,9 @@ chmod 770 /web/www.mydomain.com/smarty/cache/</screen>
<title>Edition de /web/www.mydomain.com/smarty/templates/index.tpl</title> <title>Edition de /web/www.mydomain.com/smarty/templates/index.tpl</title>
<screen> <screen>
{* Smarty *} {* Smarty *}
Hello, {$name}!</screen> Hello, {$name}!</screen>
</example> </example>
@@ -311,19 +312,19 @@ Hello, {$name}!</screen>
<example> <example>
<title><EFBFBD>dition de /web/www.mydomain.com/docs/livredor/index.php</title> <title><EFBFBD>dition de /web/www.mydomain.com/docs/livredor/index.php</title>
<screen> <screen>
// charge la biblioth<74>que Smarty // charge la biblioth<74>que Smarty
require('Smarty.class.php'); require('Smarty.class.php');
$smarty = new Smarty; $smarty = new Smarty;
$smarty->template_dir = '/web/www.mydomain.com/smarty/livredor/templates/'; $smarty->template_dir = '/web/www.mydomain.com/smarty/livredor/templates/';
$smarty->compile_dir = '/web/www.mydomain.com/smarty/livredor/templates_c/'; $smarty->compile_dir = '/web/www.mydomain.com/smarty/livredor/templates_c/';
$smarty->config_dir = '/web/www.mydomain.com/smarty/livredor/configs/'; $smarty->config_dir = '/web/www.mydomain.com/smarty/livredor/configs/';
$smarty->cache_dir = '/web/www.mydomain.com/smarty/livredor/cache/'; $smarty->cache_dir = '/web/www.mydomain.com/smarty/livredor/cache/';
$smarty->assign('name','Ned'); $smarty->assign('name','Ned');
$smarty->display('index.tpl');</screen> $smarty->display('index.tpl');</screen>
</example> </example>
<note> <note>
@@ -371,16 +372,16 @@ $smarty->display('index.tpl');</screen>
<title><EFBFBD>dition de /php/includes/livredor/setup.php</title> <title><EFBFBD>dition de /php/includes/livredor/setup.php</title>
<screen> <screen>
// charge la librairie Smarty // charge la librairie Smarty
require('Smarty.class.php'); require('Smarty.class.php');
// le fichier setup.php est un bon // le fichier setup.php est un bon
// endroit pour charger les fichiers // endroit pour charger les fichiers
// de librairies de l'application et vous pouvez // de librairies de l'application et vous pouvez
// faire cela juste ici. Par exemple : // faire cela juste ici. Par exemple :
// require('livredor/livredor.lib.php'); // require('livredor/livredor.lib.php');
class Smarty_livredor extends Smarty { class Smarty_livredor extends Smarty {
function Smarty_livredor() { function Smarty_livredor() {
@@ -398,7 +399,7 @@ class Smarty_livredor extends Smarty {
$this->assign('app_name','Guest Book'); $this->assign('app_name','Guest Book');
} }
}</screen> }</screen>
</example> </example>
<para> <para>
@@ -409,13 +410,13 @@ class Smarty_livredor extends Smarty {
<title><EFBFBD>dition de /web/www.mydomain.com/docs/livredor/index.php</title> <title><EFBFBD>dition de /web/www.mydomain.com/docs/livredor/index.php</title>
<screen> <screen>
require('livredor/setup.php'); require('livredor/setup.php');
$smarty = new Smarty_livredor; $smarty = new Smarty_livredor;
$smarty->assign('name','Ned'); $smarty->assign('name','Ned');
$smarty->display('index.tpl');</screen> $smarty->display('index.tpl');</screen>
</example> </example>
<para> <para>

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<preface id="preface"> <preface id="preface">
<title>Pr<EFBFBD>face</title> <title>Pr<EFBFBD>face</title>
<para> <para>
@@ -76,7 +77,7 @@
plus simple. Et si nous combinions les deux forces ? Ainsi, Smarty plus simple. Et si nous combinions les deux forces ? Ainsi, Smarty
<20>tait n<>... <20>tait n<>...
</para> </para>
</preface> </preface>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml

View File

@@ -1,17 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<chapter id="advanced.features"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<chapter id="advanced.features">
<title>Fonctionnalit<EFBFBD>s avanc<6E>es</title> <title>Fonctionnalit<EFBFBD>s avanc<6E>es</title>
&programmers.advanced-features.advanced-features-objects; &programmers.advanced-features.advanced-features-objects;
&programmers.advanced-features.advanced-features-prefilters; &programmers.advanced-features.advanced-features-prefilters;
&programmers.advanced-features.advanced-features-postfilters; &programmers.advanced-features.advanced-features-postfilters;
&programmers.advanced-features.advanced-features-outputfilters; &programmers.advanced-features.advanced-features-outputfilters;
&programmers.advanced-features.section-template-cache-handler-func; &programmers.advanced-features.section-template-cache-handler-func;
&programmers.advanced-features.template-resources; &programmers.advanced-features.template-resources;
</chapter> </chapter>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="advanced.features.objects"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="advanced.features.objects">
<title>Objets</title> <title>Objets</title>
<para> <para>
Smarty donne l'acc<63>s aux objets PHP a travers les templates. Il y Smarty donne l'acc<63>s aux objets PHP a travers les templates. Il y
@@ -36,7 +37,7 @@
</para> </para>
<example> <example>
<title>utilisation d'un objet allou<6F> ou assign<67></title> <title>utilisation d'un objet allou<6F> ou assign<67></title>
<programlisting> <programlisting>
&lt;?php &lt;?php
// la classe // la classe

View File

@@ -1,6 +1,19 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="advanced.features.outputfilters"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="advanced.features.outputfilters">
<title>Filtres de sortie</title> <title>Filtres de sortie</title>
<para> <para>
Quand le template est appel<65> via les fonctions display() ou fetch(), Quand le template est appel<65> via les fonctions display() ou fetch(),
@@ -21,7 +34,7 @@
</para> </para>
<example> <example>
<title>utilisation d'un filtre de sortie</title> <title>utilisation d'un filtre de sortie</title>
<programlisting> <programlisting>
&lt;?php &lt;?php
// mettez ceci dans votre application // mettez ceci dans votre application
function protect_email($tpl_output, &amp;$smarty) function protect_email($tpl_output, &amp;$smarty)
@@ -40,24 +53,24 @@ $smarty->display("index.tpl");
// aura un protection simple contre les robots spammers // aura un protection simple contre les robots spammers
?&gt;</programlisting> ?&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,13 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="advanced.features.postfilters"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="advanced.features.postfilters">
<title>Filtres de post-compilation</title> <title>Filtres de post-compilation</title>
<para> <para>
Les filtres de post-compilation sont des fonctions PHP que vos templates Les filtres de post-compilation sont des fonctions PHP que vos templates
@@ -14,7 +21,7 @@
</para> </para>
<example> <example>
<title>utilisation d'un filtre de post-compilation de templates</title> <title>utilisation d'un filtre de post-compilation de templates</title>
<programlisting> <programlisting>
&lt;?php &lt;?php
// mettez cela dans votre application // mettez cela dans votre application
function add_header_comment($tpl_source, &amp;$smarty) function add_header_comment($tpl_source, &amp;$smarty)
@@ -31,24 +38,24 @@ $smarty->display("index.tpl");
&lt;!-- Created by Smarty! --&gt; &lt;!-- Created by Smarty! --&gt;
{* reste du contenu du template... *}</programlisting> {* reste du contenu du template... *}</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,19 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="advanced.features.prefilters"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="advanced.features.prefilters">
<title>Filtres de pr<70>-compilation</title> <title>Filtres de pr<70>-compilation</title>
<para> <para>
Les filtres de pr<70>-compilation sont des fonctions PHP que vos templates Les filtres de pr<70>-compilation sont des fonctions PHP que vos templates
@@ -18,7 +31,7 @@
</para> </para>
<example> <example>
<title>Utilisation un filtre de pr<70>-compilation de template</title> <title>Utilisation un filtre de pr<70>-compilation de template</title>
<programlisting> <programlisting>
&lt;?php &lt;?php
// mettre ceci dans votre application // mettre ceci dans votre application
function remove_dw_comments($tpl_source, &amp;$smarty) function remove_dw_comments($tpl_source, &amp;$smarty)
@@ -34,24 +47,24 @@ $smarty->display("index.tpl");
{* template Smarty index.tpl *} {* template Smarty index.tpl *}
&lt;!--# cette ligne va <20>tre supprim<69>e par le filtre de pr<70>-compilation --&gt;</programlisting> &lt;!--# cette ligne va <20>tre supprim<69>e par le filtre de pr<70>-compilation --&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,27 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="section.template.cache.handler.func"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="section.template.cache.handler.func">
<title>Fonction de gestion du cache</title> <title>Fonction de gestion du cache</title>
<para> <para>
Une alternative au m<>canisme de cache par d<>faut (bas<61> sur des fichiers Une alternative au m<>canisme de cache par d<>faut (bas<61> sur des fichiers
@@ -25,7 +46,7 @@
</para> </para>
<example> <example>
<title>exemple d'utilisation de MySQL pour la source du cache</title> <title>exemple d'utilisation de MySQL pour la source du cache</title>
<programlisting> <programlisting>
&lt;?php &lt;?php
/* /*
@@ -129,24 +150,24 @@ function mysql_cache_handler($action, &amp;$smarty_obj, &amp;$cache_content, $tp
?&gt;</programlisting> ?&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="template.resources"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="template.resources">
<title>Ressources</title> <title>Ressources</title>
<para> <para>
Les templates peuvent provenir d'une grande vari<72>t<EFBFBD> de ressources. Quand vous Les templates peuvent provenir d'une grande vari<72>t<EFBFBD> de ressources. Quand vous
@@ -19,7 +20,7 @@
</para> </para>
<example> <example>
<title>Utilisation de templates depuis $template_dir</title> <title>Utilisation de templates depuis $template_dir</title>
<programlisting> <programlisting>
// le script PHP // le script PHP
$smarty->display("index.tpl"); $smarty->display("index.tpl");
$smarty->display("admin/menu.tpl"); $smarty->display("admin/menu.tpl");
@@ -39,7 +40,7 @@ $smarty->display("file:admin/menu.tpl"); // le m
</para> </para>
<example> <example>
<title>utilisation d'un template depuis n'importe quel r<>pertoire</title> <title>utilisation d'un template depuis n'importe quel r<>pertoire</title>
<programlisting> <programlisting>
// le script PHP // le script PHP
$smarty->display("file:/export/templates/index.tpl"); $smarty->display("file:/export/templates/index.tpl");
$smarty->display("file:/path/to/my/templates/menu.tpl"); $smarty->display("file:/path/to/my/templates/menu.tpl");
@@ -58,7 +59,7 @@ $smarty->display("file:/path/to/my/templates/menu.tpl");
</para> </para>
<example> <example>
<title>utilisation de templates avec des chemins de fichiers Windows</title> <title>utilisation de templates avec des chemins de fichiers Windows</title>
<programlisting> <programlisting>
// le script PHP // le script PHP
$smarty->display("file:C:/export/templates/index.tpl"); $smarty->display("file:C:/export/templates/index.tpl");
$smarty->display("file:F:/path/to/my/templates/menu.tpl"); $smarty->display("file:F:/path/to/my/templates/menu.tpl");
@@ -91,7 +92,7 @@ $smarty->display("file:F:/path/to/my/templates/menu.tpl");
</note> </note>
<example> <example>
<title>utilisation de ressources utilisateurs</title> <title>utilisation de ressources utilisateurs</title>
<programlisting> <programlisting>
// le script PHP // le script PHP
// mettez ces fonctions quelque part dans votre application // mettez ces fonctions quelque part dans votre application
@@ -161,7 +162,7 @@ $smarty->display("db:index.tpl");
</para> </para>
<example> <example>
<title>utilisation de la fonction de gestion de template par d<>faut</title> <title>utilisation de la fonction de gestion de template par d<>faut</title>
<programlisting> <programlisting>
&lt;?php &lt;?php
// mettez cette fonction quelque part dans votre application // mettez cette fonction quelque part dans votre application

View File

@@ -1,46 +1,47 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<chapter id="api.functions"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<chapter id="api.functions">
<title>M<EFBFBD>thodes</title> <title>M<EFBFBD>thodes</title>
&programmers.api-functions.api-append; &programmers.api-functions.api-append;
&programmers.api-functions.api-append-by-ref; &programmers.api-functions.api-append-by-ref;
&programmers.api-functions.api-assign; &programmers.api-functions.api-assign;
&programmers.api-functions.api-assign-by-ref; &programmers.api-functions.api-assign-by-ref;
&programmers.api-functions.api-clear-all-assign; &programmers.api-functions.api-clear-all-assign;
&programmers.api-functions.api-clear-all-cache; &programmers.api-functions.api-clear-all-cache;
&programmers.api-functions.api-clear-assign; &programmers.api-functions.api-clear-assign;
&programmers.api-functions.api-clear-cache; &programmers.api-functions.api-clear-cache;
&programmers.api-functions.api-clear-compiled-tpl; &programmers.api-functions.api-clear-compiled-tpl;
&programmers.api-functions.api-clear-config; &programmers.api-functions.api-clear-config;
&programmers.api-functions.api-config-load; &programmers.api-functions.api-config-load;
&programmers.api-functions.api-display; &programmers.api-functions.api-display;
&programmers.api-functions.api-fetch; &programmers.api-functions.api-fetch;
&programmers.api-functions.api-get-config-vars; &programmers.api-functions.api-get-config-vars;
&programmers.api-functions.api-get-registered-object; &programmers.api-functions.api-get-registered-object;
&programmers.api-functions.api-get-template-vars; &programmers.api-functions.api-get-template-vars;
&programmers.api-functions.api-is-cached; &programmers.api-functions.api-is-cached;
&programmers.api-functions.api-load-filter; &programmers.api-functions.api-load-filter;
&programmers.api-functions.api-register-block; &programmers.api-functions.api-register-block;
&programmers.api-functions.api-register-compiler-function; &programmers.api-functions.api-register-compiler-function;
&programmers.api-functions.api-register-function; &programmers.api-functions.api-register-function;
&programmers.api-functions.api-register-modifier; &programmers.api-functions.api-register-modifier;
&programmers.api-functions.api-register-object; &programmers.api-functions.api-register-object;
&programmers.api-functions.api-register-outputfilter; &programmers.api-functions.api-register-outputfilter;
&programmers.api-functions.api-register-postfilter; &programmers.api-functions.api-register-postfilter;
&programmers.api-functions.api-register-prefilter; &programmers.api-functions.api-register-prefilter;
&programmers.api-functions.api-register-resource; &programmers.api-functions.api-register-resource;
&programmers.api-functions.api-trigger-error; &programmers.api-functions.api-trigger-error;
&programmers.api-functions.api-template-exists; &programmers.api-functions.api-template-exists;
&programmers.api-functions.api-unregister-block; &programmers.api-functions.api-unregister-block;
&programmers.api-functions.api-unregister-compiler-function; &programmers.api-functions.api-unregister-compiler-function;
&programmers.api-functions.api-unregister-function; &programmers.api-functions.api-unregister-function;
&programmers.api-functions.api-unregister-modifier; &programmers.api-functions.api-unregister-modifier;
&programmers.api-functions.api-unregister-object; &programmers.api-functions.api-unregister-object;
&programmers.api-functions.api-unregister-outputfilter; &programmers.api-functions.api-unregister-outputfilter;
&programmers.api-functions.api-unregister-postfilter; &programmers.api-functions.api-unregister-postfilter;
&programmers.api-functions.api-unregister-prefilter; &programmers.api-functions.api-unregister-prefilter;
&programmers.api-functions.api-unregister-resource; &programmers.api-functions.api-unregister-resource;
</chapter> </chapter>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.append.by.ref"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.append.by.ref">
<title>append_by_ref</title> <title>append_by_ref</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -37,11 +38,11 @@
</note> </note>
<example> <example>
<title>append_by_ref</title> <title>append_by_ref</title>
<programlisting> <programlisting>
// ajoute des paires nom/valeur // ajoute des paires nom/valeur
$smarty->append_by_ref("Name",$myname); $smarty->append_by_ref("Name",$myname);
$smarty->append_by_ref("Address",$address);</programlisting> $smarty->append_by_ref("Address",$address);</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.append"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.append">
<title>append</title> <title>append</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -39,14 +40,14 @@
</note> </note>
<example> <example>
<title>append</title> <title>append</title>
<programlisting> <programlisting>
// passe des paires nom/valeur // passe des paires nom/valeur
$smarty->append("Name","Fred"); $smarty->append("Name","Fred");
$smarty->append("Address",$address); $smarty->append("Address",$address);
// passe un tableau associatif // passe un tableau associatif
$smarty->append(array("city" => "Lincoln","state" => "Nebraska"));</programlisting> $smarty->append(array("city" => "Lincoln","state" => "Nebraska"));</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.assign.by.ref"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.assign.by.ref">
<title>assign_by_ref</title> <title>assign_by_ref</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -26,11 +27,11 @@
</note> </note>
<example> <example>
<title>assign_by_ref</title> <title>assign_by_ref</title>
<programlisting> <programlisting>
// passe des paires noms/valeurs // passe des paires noms/valeurs
$smarty->assign_by_ref("Name",$myname); $smarty->assign_by_ref("Name",$myname);
$smarty->assign_by_ref("Address",$address);</programlisting> $smarty->assign_by_ref("Address",$address);</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.assign"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.assign">
<title>assign</title> <title>assign</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -20,14 +21,14 @@
</para> </para>
<example> <example>
<title>assign</title> <title>assign</title>
<programlisting> <programlisting>
// passe des paires nom/valeur // passe des paires nom/valeur
$smarty->assign("Name","Fred"); $smarty->assign("Name","Fred");
$smarty->assign("Address",$address); $smarty->assign("Address",$address);
// passe un tableau associatif // passe un tableau associatif
$smarty->assign(array("city" => "Lincoln","state" => "Nebraska"));</programlisting> $smarty->assign(array("city" => "Lincoln","state" => "Nebraska"));</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.clear.all.assign"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.clear.all.assign">
<title>clear_all_assign</title> <title>clear_all_assign</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -11,12 +12,12 @@
<para> <para>
Utilis<69>e pour effacer les valeurs de toutes les variables assign<67>es. Utilis<69>e pour effacer les valeurs de toutes les variables assign<67>es.
</para> </para>
<example> <example>
<title>clear_all_assign</title> <title>clear_all_assign</title>
<programlisting> <programlisting>
// efface toutes les variables assign<67>es // efface toutes les variables assign<67>es
$smarty->clear_all_assign();</programlisting> $smarty->clear_all_assign();</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.clear.all.cache"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.clear.all.cache">
<title>clear_all_cache</title> <title>clear_all_cache</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -13,12 +14,12 @@
param<61>tre optionnel afin d'indiquer l'Gge minimun que doivent avoir param<61>tre optionnel afin d'indiquer l'Gge minimun que doivent avoir
les fichiers de cache pour qu'ils soient effac<61>s. les fichiers de cache pour qu'ils soient effac<61>s.
</para> </para>
<example> <example>
<title>clear_all_cache</title> <title>clear_all_cache</title>
<programlisting> <programlisting>
// efface le cache // efface le cache
$smarty->clear_all_cache();</programlisting> $smarty->clear_all_cache();</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.clear.assign"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.clear.assign">
<title>clear_assign</title> <title>clear_assign</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -12,15 +13,15 @@
Efface la valeur d'une variable assign<67>e. Il peut s'agir Efface la valeur d'une variable assign<67>e. Il peut s'agir
d'une simple valeur ou d'un tableau de valeur. d'une simple valeur ou d'un tableau de valeur.
</para> </para>
<example> <example>
<title>clear_assign</title> <title>clear_assign</title>
<programlisting> <programlisting>
// efface une variable // efface une variable
$smarty->clear_assign("Name"); $smarty->clear_assign("Name");
// efface plusieurs variables // efface plusieurs variables
$smarty->clear_assign(array("Name","Address","Zip"));</programlisting> $smarty->clear_assign(array("Name","Address","Zip"));</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,13 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.clear.cache"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.clear.cache">
<title>clear_cache</title> <title>clear_cache</title>
<methodsynopsis> <methodsynopsis>
<type>void</type><methodname>clear_cache</methodname> <type>void</type><methodname>clear_cache</methodname>
@@ -22,33 +29,33 @@
pour indiquer un Gge minimum en secondes que le fichier en cache doit pour indiquer un Gge minimum en secondes que le fichier en cache doit
avoir avant d'<27>tre effac<61>. avoir avant d'<27>tre effac<61>.
</para> </para>
<example> <example>
<title>clear_cache</title> <title>clear_cache</title>
<programlisting> <programlisting>
// efface le fichier de cache de ce template // efface le fichier de cache de ce template
$smarty->clear_cache("index.tpl"); $smarty->clear_cache("index.tpl");
// efface un fichier de cache grGce a son identifiant de cache // efface un fichier de cache grGce a son identifiant de cache
$smarty->clear_cache("index.tpl","CACHEID");</programlisting> $smarty->clear_cache("index.tpl","CACHEID");</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.clear.compiled.tpl"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.clear.compiled.tpl">
<title>clear_compiled_tpl</title> <title>clear_compiled_tpl</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -13,15 +14,15 @@
de tous les templates si aucun n'est sp<73>cifi<66>. Cette fonction de tous les templates si aucun n'est sp<73>cifi<66>. Cette fonction
est destin<69>e a un usage avanc<6E> et n'est pas habituellement utilis<69>e. est destin<69>e a un usage avanc<6E> et n'est pas habituellement utilis<69>e.
</para> </para>
<example> <example>
<title>clear_compiled_tpl</title> <title>clear_compiled_tpl</title>
<programlisting> <programlisting>
// efface la version compil<69>e du template sp<73>cifi<66> // efface la version compil<69>e du template sp<73>cifi<66>
$smarty->clear_compiled_tpl("index.tpl"); $smarty->clear_compiled_tpl("index.tpl");
// efface tout le contenu du r<>pertoire des templates compil<69>s // efface tout le contenu du r<>pertoire des templates compil<69>s
$smarty->clear_compiled_tpl();</programlisting> $smarty->clear_compiled_tpl();</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.clear.config"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.clear.config">
<title>clear_config</title> <title>clear_config</title>
<methodsynopsis> <methodsynopsis>
<type>void</type><methodname>clear_config</methodname> <type>void</type><methodname>clear_config</methodname>
@@ -11,15 +12,15 @@
vues assigner une valeur. Si une variable est sp<73>cifi<66>e, seule cette vues assigner une valeur. Si une variable est sp<73>cifi<66>e, seule cette
variable est effac<61>e. variable est effac<61>e.
</para> </para>
<example> <example>
<title>clear_config</title> <title>clear_config</title>
<programlisting> <programlisting>
// efface toutes les variables de configuration assign<67>es // efface toutes les variables de configuration assign<67>es
$smarty->clear_config(); $smarty->clear_config();
// efface une seule variable // efface une seule variable
$smarty->clear_config('foobar');</programlisting> $smarty->clear_config('foobar');</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.config.load"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.config.load">
<title>config_load</title> <title>config_load</title>
<methodsynopsis> <methodsynopsis>
<type>void</type><methodname>config_load</methodname> <type>void</type><methodname>config_load</methodname>
@@ -25,15 +26,15 @@
linkend="variable.compile.check">compile_check</link>. linkend="variable.compile.check">compile_check</link>.
</para> </para>
</note> </note>
<example> <example>
<title>config_load</title> <title>config_load</title>
<programlisting> <programlisting>
// charge les variables de configuration et les assigne // charge les variables de configuration et les assigne
$smarty->config_load('my.conf'); $smarty->config_load('my.conf');
// charge une section // charge une section
$smarty->config_load('my.conf','foobar');</programlisting> $smarty->config_load('my.conf','foobar');</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.display"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.display">
<title>display</title> <title>display</title>
<methodsynopsis> <methodsynopsis>
<type>void</type><methodname>display</methodname> <type>void</type><methodname>display</methodname>
@@ -27,8 +28,8 @@
linkend="variable.compile.id">$compile_id</link> une seule linkend="variable.compile.id">$compile_id</link> une seule
fois au lieu de la passer a chaque appel. fois au lieu de la passer a chaque appel.
</para> </para>
<example> <example>
<title>affichage</title> <title>affichage</title>
<programlisting> <programlisting>
include("Smarty.class.php"); include("Smarty.class.php");
$smarty = new Smarty; $smarty = new Smarty;
@@ -55,7 +56,7 @@ if(!$smarty->is_cached("index.tpl"))
// display the output // display the output
$smarty->display("index.tpl");</programlisting> $smarty->display("index.tpl");</programlisting>
</example> </example>
<para> <para>
Utilisez la syntaxe des <link Utilisez la syntaxe des <link
linkend="template.resources">ressources templates</link> linkend="template.resources">ressources templates</link>
@@ -63,8 +64,8 @@ $smarty->display("index.tpl");</programlisting>
$template_dir $template_dir
</para> </para>
<example> <example>
<title>exemples de fonction d'affichage de ressources templates</title> <title>exemples de fonction d'affichage de ressources templates</title>
<programlisting> <programlisting>
// chemin absolu // chemin absolu
$smarty->display("/usr/local/include/templates/header.tpl"); $smarty->display("/usr/local/include/templates/header.tpl");
@@ -77,26 +78,26 @@ $smarty->display("file:C:/www/pub/templates/header.tpl");
// inclue a partir de la ressource template "db" // inclue a partir de la ressource template "db"
$smarty->display("db:header.tpl");</programlisting> $smarty->display("db:header.tpl");</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,49 @@
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 63
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.fetch"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.fetch">
<title>fetch</title> <title>fetch</title>
<methodsynopsis> <methodsynopsis>
<type>string</type><methodname>fetch</methodname> <type>string</type><methodname>fetch</methodname>
@@ -15,8 +58,8 @@
valides. Vous pouvez passer un identifiant de cache en deuxi<78>me valides. Vous pouvez passer un identifiant de cache en deuxi<78>me
param<61>tre. Reportez-vous a la section <link linkend="caching">cache param<61>tre. Reportez-vous a la section <link linkend="caching">cache
</link> pour plus de renseignements. </link> pour plus de renseignements.
</para> </para>
<para> <para>
Un troisi<73>me param<61>tre optionnel est un identifiant de compilation. Un troisi<73>me param<61>tre optionnel est un identifiant de compilation.
Cela s'av<61>re utile quand vous voulez compiler diff<66>rentes versions Cela s'av<61>re utile quand vous voulez compiler diff<66>rentes versions
d'un m<>me template, pour par exemple avoir des templates d'un m<>me template, pour par exemple avoir des templates
@@ -26,9 +69,9 @@
s'<27>craseraient entre eux. Vous pouvez aussi r<>gler la variable <link s'<27>craseraient entre eux. Vous pouvez aussi r<>gler la variable <link
linkend="variable.compile.id">$compile_id</link> une seule linkend="variable.compile.id">$compile_id</link> une seule
fois plut(t que de la passer a chaque appel. fois plut(t que de la passer a chaque appel.
</para> </para>
<example> <example>
<title>fetch</title> <title>fetch</title>
<programlisting> <programlisting>
include("Smarty.class.php"); include("Smarty.class.php");
$smarty = new Smarty; $smarty = new Smarty;

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.get.config.vars"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.get.config.vars">
<title>get_config_vars</title> <title>get_config_vars</title>
<methodsynopsis> <methodsynopsis>
<type>array</type><methodname>get_config_vars</methodname> <type>array</type><methodname>get_config_vars</methodname>
@@ -11,8 +12,8 @@
Si aucun param<61>tre n'est donn<6E>, un tableau de toutes les variables de Si aucun param<61>tre n'est donn<6E>, un tableau de toutes les variables de
configuration charg<72>es est renvoy<6F>. configuration charg<72>es est renvoy<6F>.
</para> </para>
<example> <example>
<title>get_config_vars</title> <title>get_config_vars</title>
<programlisting> <programlisting>
// r<>cup<75>re la variable de configuration charg<72>e 'foo' // r<>cup<75>re la variable de configuration charg<72>e 'foo'
$foo = $smarty->get_config_vars('foo'); $foo = $smarty->get_config_vars('foo');
@@ -22,7 +23,7 @@ $config_vars = $smarty->get_config_vars();
// les affiche a l'<27>cran // les affiche a l'<27>cran
print_r($config_vars);</programlisting> print_r($config_vars);</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.get.registered.object"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.get.registered.object">
<title>get_registered_object</title> <title>get_registered_object</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -13,8 +14,8 @@
voulez acc<63>der directement a un objet enregistr<74> avec une voulez acc<63>der directement a un objet enregistr<74> avec une
fonction utilisateur. fonction utilisateur.
</para> </para>
<example> <example>
<title>get_registered_object</title> <title>get_registered_object</title>
<programlisting> <programlisting>
function smarty_block_foo($params, &amp;$smarty) { function smarty_block_foo($params, &amp;$smarty) {
if (isset[$params['object']]) { if (isset[$params['object']]) {
@@ -23,7 +24,7 @@ function smarty_block_foo($params, &amp;$smarty) {
// $obj_ref est maintenant une r<>f<EFBFBD>rence vers l'objet // $obj_ref est maintenant une r<>f<EFBFBD>rence vers l'objet
} }
}</programlisting> }</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.get.template.vars"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.get.template.vars">
<title>get_template_vars</title> <title>get_template_vars</title>
<methodsynopsis> <methodsynopsis>
<type>array</type><methodname>get_template_vars</methodname> <type>array</type><methodname>get_template_vars</methodname>
@@ -11,8 +12,8 @@
n'est donn<6E>, un tableau de toutes les variables assign<67>es est n'est donn<6E>, un tableau de toutes les variables assign<67>es est
renvoy<6F>. renvoy<6F>.
</para> </para>
<example> <example>
<title>get_template_vars</title> <title>get_template_vars</title>
<programlisting> <programlisting>
// r<>cup<75>re la variable 'foo' assign<67>e au template // r<>cup<75>re la variable 'foo' assign<67>e au template
// get assigned template var 'foo' // get assigned template var 'foo'
@@ -23,7 +24,7 @@ $tpl_vars = $smarty->get_template_vars();
// les affiche a l'<27>cran // les affiche a l'<27>cran
print_r($tpl_vars);</programlisting> print_r($tpl_vars);</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.is.cached"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.is.cached">
<title>is_cached</title> <title>is_cached</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -14,8 +15,8 @@
Cela fonctionne seulement si <link Cela fonctionne seulement si <link
linkend="variable.caching">caching</link> est a vrai. linkend="variable.caching">caching</link> est a vrai.
</para> </para>
<example> <example>
<title>is_cached</title> <title>is_cached</title>
<programlisting> <programlisting>
$smarty->caching = true; $smarty->caching = true;
@@ -25,14 +26,14 @@ if(!$smarty->is_cached("index.tpl")) {
} }
$smarty->display("index.tpl");</programlisting> $smarty->display("index.tpl");</programlisting>
</example> </example>
<para> <para>
Vous pouvez aussi passer en second param<61>tre un identifiant Vous pouvez aussi passer en second param<61>tre un identifiant
de cache au cas o<> vous voudriez plusieurs fichiers de cache de cache au cas o<> vous voudriez plusieurs fichiers de cache
pour ce template. pour ce template.
</para> </para>
<example> <example>
<title>is_cached with multiple-cache template</title> <title>is_cached with multiple-cache template</title>
<programlisting> <programlisting>
$smarty->caching = true; $smarty->caching = true;
@@ -42,7 +43,7 @@ if(!$smarty->is_cached("index.tpl","FrontPage")) {
} }
$smarty->display("index.tpl","FrontPage");</programlisting> $smarty->display("index.tpl","FrontPage");</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.load.filter"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.load.filter">
<title>load_filter</title> <title>load_filter</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -16,13 +17,13 @@
ou 'output'. Le second argument sp<73>cifie le nom du plugin ou 'output'. Le second argument sp<73>cifie le nom du plugin
de filtrage, par exemple 'trim'. de filtrage, par exemple 'trim'.
</para> </para>
<example> <example>
<title>Chargement de plugins de filtrage</title> <title>Chargement de plugins de filtrage</title>
<programlisting> <programlisting>
$smarty->load_filter('pre', 'trim'); // charge le filtre 'trim' de type 'pre' $smarty->load_filter('pre', 'trim'); // charge le filtre 'trim' de type 'pre'
$smarty->load_filter('pre', 'datefooter'); // charge un autre filtre de type 'pre' appel<65> 'datefooter' $smarty->load_filter('pre', 'datefooter'); // charge un autre filtre de type 'pre' appel<65> 'datefooter'
$smarty->load_filter('output', 'compress'); // charge le filtre 'compress' de type 'output'</programlisting> $smarty->load_filter('output', 'compress'); // charge le filtre 'compress' de type 'output'</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.register.block"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.register.block">
<title>register_block</title> <title>register_block</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -14,8 +15,8 @@
de blocs. Il faut passer en param<61>tre le nom de la fonction de blocs. Il faut passer en param<61>tre le nom de la fonction
de blocs, suivi du nom de la fonction PHP qui l'impl<70>mente. de blocs, suivi du nom de la fonction PHP qui l'impl<70>mente.
</para> </para>
<example> <example>
<title>register_block</title> <title>register_block</title>
<programlisting> <programlisting>
/* PHP */ /* PHP */
$smarty->register_block("translate", "do_translation"); $smarty->register_block("translate", "do_translation");
@@ -32,7 +33,7 @@ function do_translation ($params, $content, &amp;$smarty) {
{translate lang="br"} {translate lang="br"}
Hello, world! Hello, world!
{/translate}</programlisting> {/translate}</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.register.compiler.function"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.register.compiler.function">
<title>register_compiler_function</title> <title>register_compiler_function</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.register.function"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.register.function">
<title>register_function</title> <title>register_function</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -14,8 +15,8 @@
de templates. Il faut passer en param<61>tres le nom de la fonction de templates. Il faut passer en param<61>tres le nom de la fonction
de templates, suivi par le nom de la fonction PHP qui l'impl<70>mente. de templates, suivi par le nom de la fonction PHP qui l'impl<70>mente.
</para> </para>
<example> <example>
<title>register_function</title> <title>register_function</title>
<programlisting> <programlisting>
$smarty->register_function("date_now", "print_current_date"); $smarty->register_function("date_now", "print_current_date");
@@ -29,7 +30,7 @@ function print_current_date ($params) {
// vous pouvez maintenant utiliser ceci dans Smarty pour afficher // vous pouvez maintenant utiliser ceci dans Smarty pour afficher
// la date actuelle : {date_now} ou {date_now format="%Y/%m/%d"} // la date actuelle : {date_now} ou {date_now format="%Y/%m/%d"}
// pour la formater</programlisting> // pour la formater</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.register.modifier"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.register.modifier">
<title>register_modifier</title> <title>register_modifier</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -14,15 +15,15 @@
Il faut passer en param<61>tre le nom du modificateur de variables, Il faut passer en param<61>tre le nom du modificateur de variables,
suivi de la fonction PHP qui l'impl<70>mente. suivi de la fonction PHP qui l'impl<70>mente.
</para> </para>
<example> <example>
<title>register_modifier</title> <title>register_modifier</title>
<programlisting> <programlisting>
// associons la fonction PHP stripslashes a un modificateur Smarty. // associons la fonction PHP stripslashes a un modificateur Smarty.
$smarty->register_modifier("sslash","stripslashes"); $smarty->register_modifier("sslash","stripslashes");
// vous pouvez maintenant utiliser {$var|sslash} pour supprimer les slash des variables</programlisting> // vous pouvez maintenant utiliser {$var|sslash} pour supprimer les slash des variables</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,9 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.register.object"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.register.object">
<title>register_object</title> <title>register_object</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -17,24 +20,24 @@
<link linkend="advanced.features.objects">objet</link> de <link linkend="advanced.features.objects">objet</link> de
ce manuel pour des exemples. ce manuel pour des exemples.
</para> </para>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.register.outputfilter"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.register.outputfilter">
<title>register_outputfilter</title> <title>register_outputfilter</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>

View File

@@ -1,6 +1,11 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.register.postfilter"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.register.postfilter">
<title>register_postfilter</title> <title>register_postfilter</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -16,24 +21,24 @@
pour avoir plus de renseignements sur la faton de param<61>trer les fonctions pour avoir plus de renseignements sur la faton de param<61>trer les fonctions
de post-compilation. de post-compilation.
</para> </para>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,11 @@
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
Warning: Unknown modifier 'l' in /home/user/didou/cvs/smarty/docs/fr/clean.php on line 56
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.register.prefilter"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.register.prefilter">
<title>register_prefilter</title> <title>register_prefilter</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -16,24 +21,24 @@
pour avoir plus de renseignements sur la faton de param<61>trer les fonctions pour avoir plus de renseignements sur la faton de param<61>trer les fonctions
de pr<70>-compilation. de pr<70>-compilation.
</para> </para>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:t
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t
sgml-indent-step:1 sgml-indent-step:1
sgml-indent-data:t sgml-indent-data:t
indent-tabs-mode:nil indent-tabs-mode:nil
sgml-parent-document:nil sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced" sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil sgml-exposed-tags:nil
sgml-local-catalogs:nil sgml-local-catalogs:nil
sgml-local-ecat-files:nil sgml-local-ecat-files:nil
End: End:
vim600: syn=xml fen fdm=syntax fdl=2 si vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml vim: et tw=78 syn=sgml
vi: ts=1 sw=1 vi: ts=1 sw=1
--> -->

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.register.resource"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.register.resource">
<title>register_resource</title> <title>register_resource</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -17,14 +18,14 @@
pour avoir plus d'informations sur la faton de param<61>trer une fonction pour avoir plus d'informations sur la faton de param<61>trer une fonction
r<>cup<75>rant des templates. r<>cup<75>rant des templates.
</para> </para>
<example> <example>
<title>register_resource</title> <title>register_resource</title>
<programlisting> <programlisting>
$smarty->register_resource("db", array("db_get_template", $smarty->register_resource("db", array("db_get_template",
"db_get_timestamp", "db_get_timestamp",
"db_get_secure", "db_get_secure",
"db_get_trusted"));</programlisting> "db_get_trusted"));</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.template.exists"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.template.exists">
<title>template_exists</title> <title>template_exists</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.trigger.error"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.trigger.error">
<title>trigger_error</title> <title>trigger_error</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.unregister.block"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.unregister.block">
<title>unregister_block</title> <title>unregister_block</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.unregister.compiler.function"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.unregister.compiler.function">
<title>unregister_compiler_function</title> <title>unregister_compiler_function</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.unregister.function"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.unregister.function">
<title>unregister_function</title> <title>unregister_function</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -12,14 +13,14 @@
Utilis<69>e pour d<>sallouer dynamiquement un plugin de fonction Utilis<69>e pour d<>sallouer dynamiquement un plugin de fonction
de templates. Passez en param<61>tres le nom de la fonction de templates. de templates. Passez en param<61>tres le nom de la fonction de templates.
</para> </para>
<example> <example>
<title>unregister_function</title> <title>unregister_function</title>
<programlisting> <programlisting>
// nous ne voulons pas que les designers de templates aient acc<63>s // nous ne voulons pas que les designers de templates aient acc<63>s
// au syst<73>me de fichiers. // au syst<73>me de fichiers.
$smarty->unregister_function("fetch");</programlisting> $smarty->unregister_function("fetch");</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ --> <!-- $Revision$ -->
<sect1 id="api.unregister.modifier"> <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<sect1 id="api.unregister.modifier">
<title>unregister_modifier</title> <title>unregister_modifier</title>
<funcsynopsis> <funcsynopsis>
<funcprototype> <funcprototype>
@@ -12,14 +13,14 @@
Utilis<69>e pour d<>sallouer dynamiquement un plugin modificateur de variable. Utilis<69>e pour d<>sallouer dynamiquement un plugin modificateur de variable.
Passez en param<61>tre le nom du modificateur de templates. Passez en param<61>tre le nom du modificateur de templates.
</para> </para>
<example> <example>
<title>unregister_modifier</title> <title>unregister_modifier</title>
<programlisting> <programlisting>
// nous ne voulons pas que les designers de templates // nous ne voulons pas que les designers de templates
// suppriment les balises des <20>lements // suppriment les balises des <20>lements
$smarty->unregister_modifier("strip_tags");</programlisting> $smarty->unregister_modifier("strip_tags");</programlisting>
</example> </example>
</sect1> </sect1>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:

Some files were not shown because too many files have changed in this diff Show More