mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
sync with EN
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
|
||||
<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
|
||||
<sect1 id="language.function.assign">
|
||||
<title>assign</title>
|
||||
<informaltable frame="all">
|
||||
@@ -38,7 +38,7 @@
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<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>
|
||||
<example>
|
||||
<title>assign</title>
|
||||
@@ -54,9 +54,15 @@ La valeur de $name est {$name}.
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
La valeur de $name est Bob.]]>
|
||||
La valeur de $name est Bob.
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
<para>
|
||||
Voir aussi
|
||||
<link linkend="api.assign">assign()</link> et
|
||||
<link linkend="api.get.template.vars">get_template_vars()</link>.
|
||||
</para>
|
||||
</sect1>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
|
||||
<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
|
||||
<sect1 id="language.function.debug">
|
||||
<title>debug</title>
|
||||
<informaltable frame="all">
|
||||
@@ -24,7 +24,7 @@
|
||||
<entry>output</entry>
|
||||
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
||||
<entry>Non</entry>
|
||||
<entry><emphasis>html</emphasis></entry>
|
||||
<entry><emphasis>javascript</emphasis></entry>
|
||||
<entry>Type de sortie, html ou javascript</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
@@ -39,6 +39,10 @@
|
||||
les templates en cours d'utilisation. Toutefois, vous voyez toutes
|
||||
les variables disponibles pour le template courant.
|
||||
</para>
|
||||
<para>
|
||||
Voir aussi
|
||||
<link linkend="chapter.debugging.console">la console de d<>bogage</link>.
|
||||
</para>
|
||||
</sect1>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.5 Maintainer: gerald Status: ready -->
|
||||
<!-- EN-Revision: 1.7 Maintainer: gerald Status: ready -->
|
||||
<sect1 id="language.function.fetch">
|
||||
<title>fetch</title>
|
||||
<informaltable frame="all">
|
||||
@@ -40,7 +40,7 @@
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<para>
|
||||
fetch est utilis<69> pour r<>cup<75>rer des fichiers depuis le syst<73>me de
|
||||
{fetch} est utilis<69> pour r<>cup<75>rer des fichiers depuis le syst<73>me de
|
||||
fichier local, depuis un serveur http ou ftp, et en afficher le contenu.
|
||||
Si le nom du fichier commence par "http://", la page internet sera
|
||||
r<>cup<75>r<EFBFBD>e, puis affich<63>e. Si le nom du fichier commence par "ftp://",
|
||||
@@ -51,7 +51,7 @@
|
||||
<para>
|
||||
Vous pouvez sp<73>cifier l'attribut optionnel <emphasis>assign</emphasis>
|
||||
qui d<>fini une variable de template dans laquelle la sortie
|
||||
sera stock<63>e plut<75>t qude d'<27>tre affich<63>e (nouveau dans Smarty 1.5.0).
|
||||
sera stock<63>e plut<75>t que d'<27>tre affich<63>e (nouveau dans Smarty 1.5.0).
|
||||
</para>
|
||||
<note>
|
||||
<title>Note technique</title>
|
||||
@@ -64,7 +64,7 @@
|
||||
<para>
|
||||
Si la s<>curit<69> est activ<69>e, vous ne pourez r<>cup<75>rer les
|
||||
fichiers du syst<73>me local que s'ils sont situ<74>s dans l'un des
|
||||
r<>pertoires s<>curis<69> ($secure_dir).
|
||||
r<>pertoires s<>curis<69> (<link linkend="variable.secure.dir">$secure_dir</link>).
|
||||
</para>
|
||||
</note>
|
||||
<example>
|
||||
@@ -88,6 +88,12 @@
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
<para>
|
||||
Voir aussi
|
||||
<link linkend="language.function.capture">{capture}</link>,
|
||||
<link linkend="language.function.eval">{eval}</link> et
|
||||
<link linkend="api.fetch">fetch()</link>.
|
||||
</para>
|
||||
</sect1>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.5 Maintainer: gerald Status: partial -->
|
||||
<!-- EN-Revision: 1.6 Maintainer: gerald Status: partial -->
|
||||
<sect1 id="language.function.html.select.date">
|
||||
<title>html_select_date</title>
|
||||
<informaltable frame="all">
|
||||
@@ -238,7 +238,7 @@
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<para>
|
||||
html_select_date est une fonction utilisateur qui cr<63>e des listes
|
||||
{html_select_date} est une fonction utilisateur qui cr<63>e des listes
|
||||
d<>roulantes pour saisir la date. Elle peut afficher n'importe quel
|
||||
jour, mois et ann<6E>e.
|
||||
</para>
|
||||
@@ -349,7 +349,7 @@
|
||||
</example>
|
||||
<para>
|
||||
Voir aussi
|
||||
<link linkend="language.function.html.select.time">html_select_time</link>,
|
||||
<link linkend="language.function.html.select.time">{html_select_time}</link>,
|
||||
<link linkend="language.modifier.date.format">date_format</link>,
|
||||
<link linkend="language.variables.smarty.now">$smarty.now</link> et
|
||||
les <link linkend="tips.dates">astuces sur les dates</link>.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
|
||||
<!-- EN-Revision: 1.5 Maintainer: gerald Status: ready -->
|
||||
<sect1 id="language.function.html.select.time">
|
||||
<title>html_select_time</title>
|
||||
<informaltable frame="all">
|
||||
@@ -137,12 +137,12 @@
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<para>
|
||||
html_select_time est une fonction utilisateur qui cr<63>e des listes
|
||||
{html_select_time} est une fonction utilisateur qui cr<63>e des listes
|
||||
d<>roulantes pour saisir une heure. Elle prends en charge l'heure,
|
||||
les minutes, les secondes et le m<>ridian.
|
||||
Elle accepte comme param<61>tre diff<66>rents formats. Ils peuvent <20>tre
|
||||
un timestamp, une chaine respectant le format AAAAMMJJHHMMSS ou une chaine
|
||||
correcte pour la fonction php strtotime().
|
||||
correcte pour la fonction php <ulink url="&url.php-manual;strtotime">strtotime()</ulink>.
|
||||
</para>
|
||||
<example>
|
||||
<title>html_select_time</title>
|
||||
@@ -313,6 +313,12 @@
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
<para>
|
||||
Voir aussi
|
||||
<link linkend="language.variables.smarty.now">$smarty.now</link>,
|
||||
<link linkend="language.function.html.select.date">{html_select_date}</link>
|
||||
et les <link linkend="tips.dates">astuces sur les dates</link>.
|
||||
</para>
|
||||
</sect1>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.3 Maintainer: gerald Status: ready -->
|
||||
<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
|
||||
<sect1 id="language.function.popup">
|
||||
<title>popup</title>
|
||||
<informaltable frame="all">
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.1 Maintainer: gerald Status: ready -->
|
||||
<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
|
||||
<sect1 id="language.function.textformat">
|
||||
<title>textformat</title>
|
||||
<informaltable frame="all">
|
||||
@@ -99,7 +99,8 @@
|
||||
</para>
|
||||
<example>
|
||||
<title>textformat</title>
|
||||
<programlisting>
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
{textformat wrap=40}
|
||||
|
||||
This is foo.
|
||||
@@ -121,7 +122,13 @@ bar foo bar foo foo.
|
||||
|
||||
{/textformat}
|
||||
|
||||
SORTIE:
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
L'exemple ci-dessus affichera :
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
|
||||
This is foo. This is foo. This is foo.
|
||||
This is foo. This is foo. This is foo.
|
||||
@@ -132,8 +139,10 @@ bar foo bar foo foo. bar foo bar foo
|
||||
foo. bar foo bar foo foo. bar foo bar
|
||||
foo foo. bar foo bar foo foo. bar foo
|
||||
bar foo foo. bar foo bar foo foo.
|
||||
|
||||
|
||||
]]>
|
||||
</screen>
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
{textformat wrap=40 indent=4}
|
||||
|
||||
This is foo.
|
||||
@@ -155,7 +164,13 @@ bar foo bar foo foo.
|
||||
|
||||
{/textformat}
|
||||
|
||||
SORTIE:
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
L'exemple ci-dessus affichera :
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
|
||||
This is foo. This is foo. This is
|
||||
foo. This is foo. This is foo. This
|
||||
@@ -168,7 +183,10 @@ SORTIE:
|
||||
bar foo foo. bar foo bar foo foo.
|
||||
bar foo bar foo foo. bar foo bar
|
||||
foo foo.
|
||||
|
||||
]]>
|
||||
</screen>
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
{textformat wrap=40 indent=4 indent_first=4}
|
||||
|
||||
This is foo.
|
||||
@@ -190,20 +208,29 @@ bar foo bar foo foo.
|
||||
|
||||
{/textformat}
|
||||
|
||||
SORTIE:
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
L'exemple ci-dessus affichera :
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
|
||||
This is foo. This is foo. This
|
||||
This is foo. This is foo. This
|
||||
is foo. This is foo. This is foo.
|
||||
This is foo.
|
||||
|
||||
This is bar.
|
||||
This is bar.
|
||||
|
||||
bar foo bar foo foo. bar foo bar
|
||||
bar foo bar foo foo. bar foo bar
|
||||
foo foo. bar foo bar foo foo. bar
|
||||
foo bar foo foo. bar foo bar foo
|
||||
foo. bar foo bar foo foo. bar foo
|
||||
bar foo foo.
|
||||
|
||||
]]>
|
||||
</screen>
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
{textformat style="email"}
|
||||
|
||||
This is foo.
|
||||
@@ -225,7 +252,13 @@ bar foo bar foo foo.
|
||||
|
||||
{/textformat}
|
||||
|
||||
SORTIE:
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
L'exemple ci-dessus affichera :
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
|
||||
This is foo. This is foo. This is foo. This is foo. This is foo. This is
|
||||
foo.
|
||||
@@ -235,10 +268,11 @@ This is bar.
|
||||
bar foo bar foo foo. bar foo bar foo foo. bar foo bar foo foo. bar foo
|
||||
bar foo foo. bar foo bar foo foo. bar foo bar foo foo. bar foo bar foo
|
||||
foo.
|
||||
|
||||
</programlisting>
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</sect1>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
Reference in New Issue
Block a user