option #2 is imho the best way to do it. Who said that it must all stand in one line?
--<TD class= <TMPL_IF name="__ODD__">"odd" <TMPL_ELSE>"even" </TMPL_IF> >
In reply to Re: Loop Context Style with HTML::Template
by fruiture
in thread Loop Context Style with HTML::Template
by gryphon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |