mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-04 22:31:37 +01:00
53 lines
1.2 KiB
XML
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
|
|
-->
|