Arno Nühm
Active member
I am currently making the final preparations to upgrade from XF1.5 to XF2.2. In one XF1.5 template I am using the following code:
What would the matching XF2.2 variables look like?
HTML:
<xen:if is="{$post.user_id}
AND {$visitor.user_id}
AND ( {$post.message_count} < 10 OR {xen:calc '{$post.register_date} + 2629743'} > {$serverTime} )
AND {$visitor.user_id} != {$post.user_id}">
some text {$post.username} <xen:if is="{$post.message_count} < 10">some text<xen:else />some text</xen:if>some text<xen:if is="{$post.message_count} < 6"> some text <a href="posts/{$post.post_id}/report">some text</a> some text</xen:if>
</xen:if>
What would the matching XF2.2 variables look like?