<xen:require css="node_list.css" />
<xen:require css="node_category.css" />
<li class="node category_forum level_{$level} node_{$category.node_id}">
<div class="nodeInfo categoryForumNodeInfo {xen:if $category.hasNew, 'unread'}">
<span class="nodeIcon" title="{xen:if $category.hasNew, '{xen:phrase unread_messages}', ''}"></span>
<span class="nodeIconlmsnode" title=""><img src="./styles/default/xenforo/IconThreads/{$category.node_id}.png" /></span>
<div class="nodeText">
<h3 class="nodeTitle"><a href="{xen:link categories, $category}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$category.node_id}'}">{$category.title}</a></h3>
<xen:if is="{$category.description} AND @nodeListDescriptions">
<blockquote class="nodeDescription {xen:if @nodeListDescriptionTooltips, nodeDescriptionTooltip} baseHtml" id="nodeDescription-{$category.node_id}">{xen:raw $category.description}</blockquote>
</xen:if>
<div class="nodeStats pairsInline">
<dl>
<dt>{xen:phrase discussions}:</dt> <dd>{xen:number $category.discussion_count}</dd>
<dt>{xen:phrase messages}:</dt> <dd>{xen:number $category.message_count}</dd>
</dl>
<xen:if is="{$renderedChildren} AND {$level} == 2">
<div class="Popup subForumsPopup">
<a href="{xen:link categories, $category}" rel="Menu" class="cloaked" data-closemenu="true"><span class="dt">{xen:phrase sub_forums}:</span> {xen:number $category.childCount}</a>
<div class="Menu JsOnly subForumsMenu">
<div class="primaryContent menuHeader">
<h3><img src="./styles/default/xenforo/IconThreads/{$category.node_id}.png" />{$category.title}</h3>
<div class="muted">{xen:phrase sub_forums}</div>
</div>
<ol class="secondaryContent blockLinksList">
<xen:foreach loop="$renderedChildren" value="$child">
{xen:raw $child}
</xen:foreach>
</ol>
</div>
</div>
</xen:if>
</div>
</div>
<div class="nodeLastPost">
<xen:if is="{$category.lastPost.date}">
{xen:phrase latest}: <a href="{xen:link posts, $category.lastPost}" title="{$category.lastPost.title}">{xen:string wordTrim, $category.lastPost.title, 30}</a>
<span class="lastThreadMeta"><xen:username user="$category.lastPost" />, <xen:datetime time="$category.lastPost.date" class="muted" /></span>
<xen:else />
<span class="noMessages muted">({xen:phrase contains_no_messages})</span>
</xen:if>
</div>
</div>
</li>