XF 1.5 Conditional help - does ! apply to both elements or do they both need ! in front of them?

CTXMedia

Well-known member
I want to make selected content visible to everyone except mods and admins, so do I need an ! in front of both conditions, or just the first?

Code:
<xen:if is="!{$visitor.is_admin} OR {$visitor.is_moderator}">
... or ...
Code:
<xen:if is="!{$visitor.is_admin} OR !{$visitor.is_moderator}">

Thanks,
Shaun :D
 
Back
Top Bottom