Help me combine IF statements

akia

Well-known member
I'm currently using the following statements:

Code:
<xen:if is="{$visitor.user_id}">
<xen:if is="!{xen:helper ismemberof, $visitor, 14, 15}">
<xen:if is="in_array({$contentTemplate}, array('online_list','conversation_view','member_list'))">

I'm guessing this is quite a inefficeent way to do this.

Could someone help me combine it so that its just the one if?

Ta
 
Top Bottom