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"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.11 Maintainer: gerald Status: ready -->
|
||||
<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready -->
|
||||
|
||||
<sect1 id="language.function.include.php">
|
||||
<title>{include_php}</title>
|
||||
@@ -92,7 +92,7 @@
|
||||
</para>
|
||||
<example>
|
||||
<title>Fonction {include_php}</title>
|
||||
<para>Le template <filename>load_nav.php</filename></para>
|
||||
<para>Le fichier <filename>load_nav.php</filename></para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
@@ -114,8 +114,8 @@ $this->assign('sections',$sql->record);
|
||||
{* chemin absolu, ou relatif <20> $trusted_dir *}
|
||||
{include_php file='/chemin/vers/load_nav.php'}
|
||||
|
||||
{foreach item='curr_section' from=$sections}
|
||||
<a href="{$curr_section.url}">{$curr_section.name}</a><br />
|
||||
{foreach item='nav' from=$navigation}
|
||||
<a href="{$nav.url}">{$nav.name}</a><br />
|
||||
{/foreach}
|
||||
]]>
|
||||
</programlisting>
|
||||
@@ -124,6 +124,8 @@ $this->assign('sections',$sql->record);
|
||||
<para>
|
||||
Voir aussi
|
||||
<link linkend="language.function.include"><varname>{include}</varname></link>,
|
||||
<link linkend="variable.security"><parameter>$security</parameter></link>,
|
||||
<link linkend="variable.trusted.dir"><parameter>$trusted_dir</parameter></link>,
|
||||
<link linkend="language.function.php"><varname>{php}</varname></link>,
|
||||
<link linkend="language.function.capture"><varname>{capture}</varname></link>, les
|
||||
<link linkend="template.resources">ressources de template</link> et les
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready -->
|
||||
<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready -->
|
||||
|
||||
<sect1 id="language.modifier.truncate">
|
||||
<title>truncate</title>
|
||||
@@ -43,7 +43,7 @@
|
||||
<entry>cha<EFBFBD>ne de caract<63>re</entry>
|
||||
<entry>Non</entry>
|
||||
<entry>...</entry>
|
||||
<entry>Le texte qui remplace le texte tronqu<71>. Sa longueur n'est PAS
|
||||
<entry>Le texte qui remplace le texte tronqu<71>. Sa longueur est
|
||||
incluse dans la configuration de la longueur <20> tronquer.</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.17 Maintainer: yannick Status: ready -->
|
||||
<!-- EN-Revision: 1.18 Maintainer: yannick Status: ready -->
|
||||
|
||||
<sect1 id="language.variables.smarty">
|
||||
<title>Variable r<>serv<72>e {$smarty}</title>
|
||||
@@ -164,7 +164,7 @@ define('_MY_CONST_VAL','CHERRIES');
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
<b>Le conteneur principal est {$smarty.template}</b>
|
||||
{include file='banner.tpl}
|
||||
{include file='banner.tpl'}
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
|
||||
<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready -->
|
||||
|
||||
<!ENTITY note.parameter.merge '<note>
|
||||
<title>Note technique</title>
|
||||
@@ -44,7 +44,7 @@ fois plut
|
||||
|
||||
<listitem><para>
|
||||
Un tableau sous la forme
|
||||
<literal>array(&$class, $method)</literal> o<>
|
||||
<literal>array($class, $method)</literal> o<>
|
||||
<literal>$class</literal> est le nom de la classe et
|
||||
<literal>$method</literal> est une m<>thode de la classe.
|
||||
</para></listitem>
|
||||
|
Reference in New Issue
Block a user