silence
Well-known member
In the ban edit admin template, there is this snippit:
In the line here:
I'm extremely confused as to how that exactly works. Is it checking if $bannedUser.end_date is true?
Could someone be generous enough to explain that, I feel dumb
HTML:
<xen:snippet>
{xen:if {$bannedUser.user_reason}, '{xen:phrase reason}: <span class="muted">{$bannedUser.user_reason}</span>'}
{xen:phrase ban_ends}: <span class="muted">{xen:if $bannedUser.end_date, {xen:datetime $bannedUser.end_date}, '{xen:phrase never}'}</span>
</xen:snippet>
HTML:
{xen:if $bannedUser.end_date, {xen:datetime $bannedUser.end_date}, '{xen:phrase never}'}
Could someone be generous enough to explain that, I feel dumb