Re: [SMARTY] switch instruction in smarty?
| From: | Łukasz 'nostra' Wojciechowski | Date: | Sun, 23 Oct 2005 19:19:43 +0000 |
| Subject: | Re: [SMARTY] switch instruction in smarty? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13114@lists.php.net to get a copy of this message | ||
another method:
{if $var == foo1}
foo1
{elseif $var == foo2}
foo2
{else}
default
{/if}
--
pozdrawiam
Łukasz "nostra" Wojciechowski
gg.1028640 * icq.23059512