XF 2.2 Code style

Kirby

Well-known member
account_details
Code:
<xf:if is="{{ $xf.visitor.Profile.dob_day && $xf.visitor.Profile.dob_month && $xf.visitor.Profile.dob_year }}">

account_preferences
Code:
<xf:if is="$xf.options.enableNotices && (count($xf.session.dismissedNotices) > 0)">

approval_item_user
Code:
<xf:if is="$preRegAction AND $preRegHandler">

custom_fields_display_thread
Code:
<xf:if is="{{ $post.position < 1 AND $customFields is not empty }}">

So we've got 4 different styles here in standard XenForo templates, which one is the preferred/recommended style @Chris D?
 
Top Bottom