Jason,
I have the following code in a template of mine
<%elsif Link_Type ne 'sh' and $detailed_view%>
This is true if e.g. Link_Type eq 'ys' and detailed_view is true. With the same values of the two variables, the following lines are both not true
<%elsif detailed_view and $Link_Type ne 'sh'%>
<%elsif $detailed_view and $Link_Type ne 'sh'%>
And I just found out that
<%elsif detailed_view and Link_Type ne 'sh'%>
is true!!! What are the rules?
BTW: I know it's a Links SQL template, but you are The Template Parser Man, aren't you?
Ivan
-----
Iyengar Yoga Resources / GT Plugins
I have the following code in a template of mine
<%elsif Link_Type ne 'sh' and $detailed_view%>
This is true if e.g. Link_Type eq 'ys' and detailed_view is true. With the same values of the two variables, the following lines are both not true
<%elsif detailed_view and $Link_Type ne 'sh'%>
<%elsif $detailed_view and $Link_Type ne 'sh'%>
And I just found out that
<%elsif detailed_view and Link_Type ne 'sh'%>
is true!!! What are the rules?
BTW: I know it's a Links SQL template, but you are The Template Parser Man, aren't you?
Ivan
-----
Iyengar Yoga Resources / GT Plugins