{$topic.title|escape} {* @event frontend_topic.%plugin_id%.title_suffix *} {foreach $frontend_topic as $_}{$_.title_suffix}{/foreach} {if $topic.badge} {$topic.badge.name} {/if} {if !empty($types[$topic.type_id].settings.voting)} {if !empty($types[$topic.type_id].settings.voting['-'])}{/if} {if !empty($types[$topic.type_id].settings.voting['+'])}{/if} {$topic.votes_sum} {/if} {$topic.content} {* @event frontend_topic.%plugin_id%.body *} {foreach $frontend_topic as $_}{$_.body}{/foreach} [`Posted`]: {$topic.create_datetime|wa_date:'humandate'} {if !empty($topic.author)} {$topic.author.name|escape} {if !empty($topic.author.badge)} {$topic.author.badge} {/if} {/if} {foreach $tags as $tag}{if !$tag@first}, {/if}{$tag.name|escape}{/foreach} {if !empty($topic.editable) || !empty($topic.deletable)} {if !empty($topic.editable)} [`Edit topic`] {/if} {if !empty($topic.deletable)} [`Delete`] {/if} {/if}
{_w('%d comment', '%d comments', $comments_count)}
{if $wa->userId()}{/section} {$depth=$comment.depth} {/if} {if $comment.depth == $depth}
-
{$depth=$comment.depth}
{/if}
{include file="comment.html" comment=$comment inline}
{/foreach}
{section name="end-comment" loop=$depth + 1}
{/section} {else} {/if}