TheLord
Member

Templates: node_forum_level_2
find:
<xen:if is="{$renderedChildren} AND {$level} == 2">
many text here
</xen:if>
replace for:
<xen:if is="{$renderedChildren} AND {$level} == 2">
<div class="subForumsPopup" style="width:100%">
<div class="subForumsMenu">
<ol class="secondaryContent">
<xen:foreach loop="$renderedChildren" value="$child">
{xen:raw $child}
</xen:foreach>
</ol>
</div>
</div>
</xen:if>
find:
replace for:<div class="nodeInfo forumNodeInfo {xen:if '{$forum.hasNew} OR !{$visitor.user_id}', 'unread'}">
<div class="nodeInfo forumNodeInfo">
find:
<h3 class="nodeTitle"><a href="{xen:link forums, $forum}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$forum.node_id}'}">{$forum.title}</a></h3>
replace for:
<h3 class="nodeTitle"><a href="{xen:link forums, $forum}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$forum.node_id}'}" {xen:if '{$forum.hasNew} OR !{$visitor.user_id}', 'style="font-weight: bold;"'}>{$forum.title}</a></h3>
find:
Code:
<span class="nodeIcon" title="{xen:if '{$forum.hasNew} OR !{$visitor.user_id}', '{xen:phrase unread_messages}', ''}"></span>
replace for:
Code:
<span class="{xen:if '{$forum.hasNew} OR !{$visitor.user_id}', 'nodeIcon2', 'nodeIcon'}" title="{xen:if '{$forum.hasNew} OR !{$visitor.user_id}', '{xen:phrase unread_messages}', ''}"></span>
in node_list.css add:
.nodeIcon2
{
@property "nodeIcon";
background: transparent none no-repeat center center;
margin: 10px 0 10px 10px;
float: left;
width: 36px;
height: 36px;
@property "/nodeIcon";
background-image: url(@forumIconUnreadPath);
}
happy fun!