Re: [SMARTY] switch instruction in smarty?

=?Windows-1250?Q?=A3ukasz_'nostra'_Wojciechowski?= <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
another method:

{if $var == foo1}
    foo1
{elseif $var == foo2}
    foo2
{else}
    default
{/if}

-- 
pozdrawiam
Ĺukasz "nostra" Wojciechowski
gg.1028640 * icq.23059512

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.