{end:}
Описание
adds a closing brace in PHP so that blocks of conditional HTML are shown correctly. You do not need to use {end:} tags if you are using HTML tag attributes like IF="a,b", as the closing HTML tag will indicate that.
Пример
Пример 43-1. Setting variables for if
|
Пример 43-2. The template
|
Пример 43-3. The compiled template
|
Пример 43-4. The output
|
Пред. | Начало | След. |
{if:variable} | Уровень выше | {else:} |