I'm trying to make a template where I want to display different values depending on the user group.
So basically this is the part of the template which fails:
XenForo always reports there is an error on line 9, which is the last line here. But I have no idea what's wrong with this line...
So basically this is the part of the template which fails:
HTML:
<xen:if is="{$visitor.is_admin}">
<p>admin</p>
<xen:elseif is="{$visitor.is_moderator}">
<p>mod</p>
<xen:elseif is="{$visitor.user_id}">
<p>registered</p>
<xen:else />
<p>visitor</p>
</xen:if>
XenForo always reports there is an error on line 9, which is the last line here. But I have no idea what's wrong with this line...