What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
Если установлено в true, значения параметров конфигурационных файлов on/true/yes и off/false/no будут конвертированы в булевы значения автоматически. В этом случае вы можете использовать в шаблоне конструкции, подобные этой: {if #foobar#} ... {/if}. Если foobar равно on, true или yes, будет осуществлен переход по условию {if}. По умолчанию равно true.