2004-04-13 15:43:47 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
|
|
<!-- $Revision$ -->
|
2004-07-02 19:49:32 +00:00
|
|
|
|
<!-- EN-Revision: 1.2 Maintainer: gerald Status: ready -->
|
2004-05-23 15:50:53 +00:00
|
|
|
|
<sect1 id="language.syntax.comments">
|
|
|
|
|
|
<title>Commentaires</title>
|
|
|
|
|
|
<para>
|
|
|
|
|
|
Les commentaires dans Smarty sont entour<75>s d'asterisques, de cette
|
|
|
|
|
|
fa<66>on : {* voici un commentaire *}
|
|
|
|
|
|
Les commentaires Smarty ne sont pas affich<63>s dans la sortie finale du
|
|
|
|
|
|
template.
|
|
|
|
|
|
Ils sont utilis<69>s pour des notes internes, dans le template, pour aider
|
|
|
|
|
|
les d<>veloppeurs <20> en comprendre le fonctionnement.
|
|
|
|
|
|
</para>
|
|
|
|
|
|
<example>
|
|
|
|
|
|
<title>Commentaires</title>
|
|
|
|
|
|
<programlisting>
|
2004-07-02 19:49:32 +00:00
|
|
|
|
<![CDATA[
|
2004-04-13 15:43:47 +00:00
|
|
|
|
{* Smarty *}
|
|
|
|
|
|
|
|
|
|
|
|
{* Inclusion de l'en t<>te *}
|
|
|
|
|
|
{include file="header.tpl"}
|
|
|
|
|
|
|
|
|
|
|
|
{include file=$includeFile}
|
|
|
|
|
|
|
|
|
|
|
|
{include file=#includeFile#}
|
|
|
|
|
|
|
|
|
|
|
|
{* affiche des listes d<>roulantes *}
|
2004-07-02 19:49:32 +00:00
|
|
|
|
<SELECT name=company>
|
2004-04-13 15:43:47 +00:00
|
|
|
|
{html_options values=$vals selected=$selected output=$output}
|
2004-07-02 19:49:32 +00:00
|
|
|
|
</SELECT>
|
|
|
|
|
|
]]>
|
|
|
|
|
|
</programlisting>
|
2004-05-23 15:50:53 +00:00
|
|
|
|
</example>
|
2004-04-13 15:43:47 +00:00
|
|
|
|
</sect1>
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
|
|
Local variables:
|
|
|
|
|
|
mode: sgml
|
|
|
|
|
|
sgml-omittag:t
|
|
|
|
|
|
sgml-shorttag:t
|
|
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
|
|
sgml-indent-step:1
|
|
|
|
|
|
sgml-indent-data:t
|
|
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
|
|
sgml-parent-document:nil
|
|
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
|
|
End:
|
|
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
|
|
vi: ts=1 sw=1
|
2004-05-23 15:50:53 +00:00
|
|
|
|
-->
|