mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
sync with EN
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready -->
|
<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready -->
|
||||||
|
|
||||||
<sect1 id="language.syntax.variables">
|
<sect1 id="language.syntax.variables">
|
||||||
<title>Variables</title>
|
<title>Variables</title>
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready -->
|
<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready -->
|
||||||
|
|
||||||
<sect1 id="language.function.html.checkboxes">
|
<sect1 id="language.function.html.checkboxes">
|
||||||
<title>{html_checkboxes}</title>
|
<title>{html_checkboxes}</title>
|
||||||
@@ -76,6 +76,13 @@
|
|||||||
<entry><emphasis>empty</emphasis></entry>
|
<entry><emphasis>empty</emphasis></entry>
|
||||||
<entry>cha<EFBFBD>ne de caract<63>re pour s<>parer chaque case
|
<entry>cha<EFBFBD>ne de caract<63>re pour s<>parer chaque case
|
||||||
<20> cocher</entry>
|
<20> cocher</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>assign</entry>
|
||||||
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
||||||
|
<entry>Non</entry>
|
||||||
|
<entry><emphasis>empty</emphasis></entry>
|
||||||
|
<entry>Assigne les balises d'un checkbox <20> un tableau plut<75>t que de les afficher</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>labels</entry>
|
<entry>labels</entry>
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready -->
|
<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready -->
|
||||||
|
|
||||||
<sect1 id="language.function.html.radios">
|
<sect1 id="language.function.html.radios">
|
||||||
<title>{html_radios}</title>
|
<title>{html_radios}</title>
|
||||||
@@ -74,6 +74,13 @@
|
|||||||
<entry><emphasis>empty</emphasis></entry>
|
<entry><emphasis>empty</emphasis></entry>
|
||||||
<entry>cha<EFBFBD>ne de s<>paration <20> placer entre les
|
<entry>cha<EFBFBD>ne de s<>paration <20> placer entre les
|
||||||
boutons radio</entry>
|
boutons radio</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>assign</entry>
|
||||||
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
||||||
|
<entry>Non</entry>
|
||||||
|
<entry><emphasis>empty</emphasis></entry>
|
||||||
|
<entry>Assigne les balises des boutons radio <20> un tableau plut<75>t que de les afficher</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready -->
|
<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready -->
|
||||||
|
|
||||||
<sect1 id="language.modifier.escape">
|
<sect1 id="language.modifier.escape">
|
||||||
<title>escape</title>
|
<title>escape</title>
|
||||||
|
@@ -1,18 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.3 Maintainer: didou Status: ready -->
|
<!-- EN-Revision: 1.4 Maintainer: didou Status: ready -->
|
||||||
|
|
||||||
<sect1 id="variable.cache.lifetime">
|
<sect1 id="variable.cache.lifetime">
|
||||||
<title>$cache_lifetime</title>
|
<title>$cache_lifetime</title>
|
||||||
<para>
|
<para>
|
||||||
Il s'agit de la dur<75>e en secondes pendant laquelle un cache de template
|
Il s'agit de la dur<75>e en secondes pendant laquelle un cache de template
|
||||||
est valide. Une fois cette dur<75>e d<>pass<73>e, le cache est reg<65>n<EFBFBD>r<EFBFBD>.
|
est valide. Une fois cette dur<75>e d<>pass<73>e, le cache est reg<65>n<EFBFBD>r<EFBFBD>.
|
||||||
$caching doit <20>tre a "true" pour que $cache_lifetime ait une
|
$caching doit <20>tre activ<EFBFBD> (soit 1 ou 2) pour que $cache_lifetime ait une
|
||||||
quelconque utilit<69>. Avec une valeur de -1, le cache n'expire jamais.
|
quelconque utilit<69>. Avec une valeur de -1, le cache n'expire jamais.
|
||||||
Avec une valeur de 0, le cache est toujours reg<65>n<EFBFBD>r<EFBFBD> (utile
|
Avec une valeur de 0, le cache est toujours reg<65>n<EFBFBD>r<EFBFBD> (utile
|
||||||
a des fins de tests seulement. Une meilleure fa<66>on de d<>sactiver
|
a des fins de tests seulement. Une meilleure fa<66>on de d<>sactiver
|
||||||
le cache est de mettre <link
|
le cache est de mettre <link
|
||||||
linkend="variable.caching">$caching</link> a "false").
|
linkend="variable.caching">$caching</link> = 0).
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Si <link linkend="variable.force.compile">$force_compile</link> est
|
Si <link linkend="variable.force.compile">$force_compile</link> est
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
|
<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready -->
|
||||||
|
|
||||||
<sect1 id="caching.setting.up">
|
<sect1 id="caching.setting.up">
|
||||||
<title>Param<EFBFBD>trer le cache</title>
|
<title>Param<EFBFBD>trer le cache</title>
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
require('Smarty.class.php');
|
require('Smarty.class.php');
|
||||||
$smarty = new Smarty;
|
$smarty = new Smarty;
|
||||||
|
|
||||||
$smarty->caching = true;
|
$smarty->caching = 1;
|
||||||
|
|
||||||
$smarty->display('index.tpl');
|
$smarty->display('index.tpl');
|
||||||
?>
|
?>
|
||||||
@@ -37,7 +37,7 @@ $smarty->display('index.tpl');
|
|||||||
<para>
|
<para>
|
||||||
Les fichiers situ<74>s dans <link linkend="variable.cache.dir">$cache_dir</link>
|
Les fichiers situ<74>s dans <link linkend="variable.cache.dir">$cache_dir</link>
|
||||||
sont nomm<6D>s de la m<>me fa<66>on que les templates.
|
sont nomm<6D>s de la m<>me fa<66>on que les templates.
|
||||||
Bien qu'ils aient une extension ".php", ils ne sont pas vraiment ex<65>cutable.
|
Bien qu'ils aient une extension ".php", ils ne sont pas vraiment directement ex<EFBFBD>cutable.
|
||||||
N'<27>ditez surtout pas ces fichiers !
|
N'<27>ditez surtout pas ces fichiers !
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
@@ -97,7 +97,7 @@ $smarty->display('home.tpl');
|
|||||||
require('Smarty.class.php');
|
require('Smarty.class.php');
|
||||||
$smarty = new Smarty;
|
$smarty = new Smarty;
|
||||||
|
|
||||||
$smarty->caching = true;
|
$smarty->caching = 1;
|
||||||
$smarty->compile_check = true;
|
$smarty->compile_check = true;
|
||||||
|
|
||||||
$smarty->display('index.tpl');
|
$smarty->display('index.tpl');
|
||||||
@@ -111,7 +111,7 @@ $smarty->display('index.tpl');
|
|||||||
d<>sactiver le cache. <link linkend="variable.force.compile">$force_compile</link>
|
d<>sactiver le cache. <link linkend="variable.force.compile">$force_compile</link>
|
||||||
est utilis<69> <20> des fins de <link linkend="chapter.debugging.console">d<EFBFBD>bogage</link>,
|
est utilis<69> <20> des fins de <link linkend="chapter.debugging.console">d<EFBFBD>bogage</link>,
|
||||||
un moyen plus efficace de d<>sactiver le cache est de r<>gler
|
un moyen plus efficace de d<>sactiver le cache est de r<>gler
|
||||||
<link linkend="variable.caching">$caching</link> = false (ou 0).
|
<link linkend="variable.caching">$caching</link> = 0.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
La fonction <link linkend="api.is.cached">is_cached()</link> permet
|
La fonction <link linkend="api.is.cached">is_cached()</link> permet
|
||||||
@@ -128,7 +128,7 @@ $smarty->display('index.tpl');
|
|||||||
require('Smarty.class.php');
|
require('Smarty.class.php');
|
||||||
$smarty = new Smarty;
|
$smarty = new Smarty;
|
||||||
|
|
||||||
$smarty->caching = true;
|
$smarty->caching = 1;
|
||||||
|
|
||||||
if(!$smarty->is_cached('index.tpl')) {
|
if(!$smarty->is_cached('index.tpl')) {
|
||||||
// pas de cache disponible, on assigne
|
// pas de cache disponible, on assigne
|
||||||
@@ -167,7 +167,7 @@ $smarty->display('index.tpl');
|
|||||||
require('Smarty.class.php');
|
require('Smarty.class.php');
|
||||||
$smarty = new Smarty;
|
$smarty = new Smarty;
|
||||||
|
|
||||||
$smarty->caching = true;
|
$smarty->caching = 1;
|
||||||
|
|
||||||
// efface tous les fichiers du cache
|
// efface tous les fichiers du cache
|
||||||
$smarty->clear_all_cache();
|
$smarty->clear_all_cache();
|
||||||
|
Reference in New Issue
Block a user