{style} {literal} .ow_forum_attachment_icon { display: inline-block; background-repeat: no-repeat; cursor: pointer; width: 14px; height: 17px; } {/literal} {/style} {if empty($authError)} {script} {literal} $(".btn_add_topic").click(function(){ window.location.href='{/literal}{$addTopicUrl}{literal}'; }); {/literal} {/script} {/if} {if !empty($showCaption)} {if $isHidden}
{$componentForumCaption}
{else} {$breadcrumb} {/if} {/if} {if !empty($authError)}
{$authError}
{else}
{$paging}
{$search}
{if $canEdit} {decorator name='button' langLabel='forum+new_topic_btn' class='ow_ic_add btn_add_topic'} {/if}
{foreach from=$topicList item=topic name=topic} {/foreach} {if !$topicList} {/if}
{text key='forum+topic'} {text key='forum+replies'} {text key='forum+views'} {text key='forum+last_reply'}
{if $topic.new}{text key='forum+new'}{/if} {if $topic.locked}{text key='forum+locked'}{/if} {if $topic.sticky}{text key='forum+sticky'}{/if} {if isset($attachments[$topic.id])}   {/if} {$topic.title} {if $topic.replyCount}{$topic.replyCount}{else}-{/if} {$topic.viewCount} {if isset($topic.lastPost)} {text key='forum+last_reply'} {text key='forum+by'} {user_link username=$usernames[$topic.lastPost.userId] name=$displayNames[$topic.lastPost.userId]} {$topic.lastPost.createStamp} {/if}
{text key='forum+no_topic'}
{$paging}
{if $canEdit} {decorator name='button' langLabel='forum+new_topic_btn' class='ow_ic_add btn_add_topic'} {/if}
{/if}