PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
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.
Beispiel 42-1. Setting variables for if
|
Beispiel 42-2. The template
|
Beispiel 42-3. The compiled template
|
Beispiel 42-4. The output
|
Zurück | Zum Anfang | Nach vorne |
{if:variable} | Nach oben | {else:} |