Files
smarty/docs/ru/designers/language-basic-syntax/language-syntax-comments.xml
tony2001 64e51b0e1e multiple ws fixes
added EN-Revision tags everywhere
2004-07-19 13:11:36 +00:00

53 lines
1.2 KiB
XML

<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.2 Maintainer: tony2001 Status: ready -->
<sect1 id="language.syntax.comments">
<title>Êîììåíòàðèè</title>
<para>
Êîììåíòàðèè â øàáëîíàõ çàêëþ÷àþòñÿ â çâåçäî÷êè(*) îêðóæåííûå .
ðàçäåëèòåëÿìè, íàïðèìåð: {* ýòî êîììåíòàðèé *}. Êîììåíòàðèè íå
îòîáðàæàþòñÿ â âûâîäå øàáëîíà. Îíè èñïîëüçóþòñÿ äëÿ âíóòðåííèõ
ïðèìå÷àíèé â øàáëîíàõ.
</para>
<example>
<title>Êîììåíòàðèè</title>
<programlisting>
<![CDATA[
{* øàáëîí Smarty *}
{* ïîäêëþ÷àåì øàïêó øàáëîíà *}
{include file="header.tpl"}
{include file=$includeFile}
{include file=#includeFile#}
{* âûïàäàþùèé ñïèñîê *}
<SELECT name=company>
{html_options values=$vals selected=$selected output=$output}
</SELECT>
]]>
</programlisting>
</example>
</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
-->