mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-11-03 22:01:36 +01:00 
			
		
		
		
	Sorry for such a big commit, but this should be done only once. And please, don't kill me if I did a stupid thing :)
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="windows-1251"?>
 | 
						|
<!-- $Revision$ -->
 | 
						|
<!-- EN-Revision: 1.2 Maintainer: tony2001 Status: ready -->
 | 
						|
<sect1 id="language.syntax.attributes">
 | 
						|
 <title>Ïàðàìåòðû</title>
 | 
						|
 <para>
 | 
						|
  Áîëüøèíñòâî ôóíêöèé ïðèíèìàåò ïàðàìåòðû, êîòîðûå óòî÷íÿþò èëè
 | 
						|
  èçìåíÿþò åå ïîâåäåíèå. Ïàðàìåòðû â Smarty î÷åíü ïîõîæè íà
 | 
						|
  ïàðàìåòðû â HTML. Íå îáÿçàòåëüíî çàêëþ÷àòü ñòàòè÷åñêèå çíà÷åíèÿ
 | 
						|
  â êàâû÷êè, õîòÿ òåêñò ðåêîìåíäóåòñÿ çàêëþ÷àòü â êàâû÷êè. Ïåðåìåííûå
 | 
						|
  òàêæå ìîãóò áûòü èñïîëüçîâàíû â êà÷åñòâå ïàðàìåòðîâ, è íå äîëæíû
 | 
						|
  çàêëþ÷àòüñÿ â êàâû÷êè.
 | 
						|
 </para>
 | 
						|
 <para>
 | 
						|
  Íåêîòîðûå ïàðàìåòðû ïðèíèìàþò ëîãè÷åñêèå çíà÷åíèÿ (ïðàâäà èëè ëîæü).
 | 
						|
  Îíè ìîãóò áûòü óêàçàíû ñëîâàìè <literal>true</literal>,
 | 
						|
  <literal>on</literal>, è <literal>yes</literal>, èëè
 | 
						|
  <literal>false</literal>, <literal>off</literal>, è
 | 
						|
  <literal>no</literal> áåç êàâû÷åê.
 | 
						|
 </para>
 | 
						|
 <example>
 | 
						|
  <title>Ñèíòàêñèñ ïàðàìåòðîâ ôóíêöèè</title>
 | 
						|
  <programlisting>
 | 
						|
<![CDATA[
 | 
						|
{include file="header.tpl"}
 | 
						|
 | 
						|
{include file=$includeFile}
 | 
						|
 | 
						|
{include file=#includeFile#}
 | 
						|
 | 
						|
{html_select_date display_days=yes}
 | 
						|
 | 
						|
<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
 | 
						|
-->
 |