Files
smarty/docs/ru/programmers/api-variables/variable-config-booleanize.xml
2008-05-25 15:06:11 +00:00

34 lines
1.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 0 Maintainer: tony2001 Status: ready -->
<sect1 id="variable.config.booleanize">
<title>$config_booleanize</title>
<para>
Если установлено в true, значения параметров конфигурационных файлов
on/true/yes и off/false/no будут конвертированы в булевы значения автоматически.
В этом случае вы можете использовать в шаблоне конструкции, подобные этой:
{if #foobar#} ... {/if}. Если foobar равно on, true или yes, будет осуществлен
переход по условию {if}. По умолчанию равно true.
</para>
</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
-->