<#include "header.htm"/> <#import "../macros/pagination.ftl" as pagination> <#import "../macros/presentation.ftl" as presentation/> <#if logged> <#if moderator>
${I18n.getMessage("ForumListing.forumIndex")} » ${forum.name?html} <#if rssEnabled> [XML]
<#if logged> ${I18n.getMessage("ForumIndex.setAllTopicsAsRead")} <#if moderator>
<#if openModeration?default(false)> <#assign link = ""/> <#if (start > 0)> <#assign link = JForumContext.encodeURL("/forums/show/" + start + "/" + forum.id)/> <#else> <#assign link = JForumContext.encodeURL("/forums/show/" + forum.id)/> ${I18n.getMessage("Moderation.CloseModeration")} <#else> ${I18n.getMessage("Moderation.OpenModeration")}
<#if !readonly && !replyOnly>
<#if (canApproveMessages && topicsToApprove.size() > 0)>
<#list topicsToApprove.values() as topic> <#if topic_index % 2 == 0> <#assign rowColor = ""> <#else> <#assign rowColor = "bg_small_yellow">
${I18n.getMessage("Moderation.checkQueue")}
<#if (topic.topicReplies > 0)> ${topic.topicTitle?html} <#else> ${topic.topicTitle?html} ${I18n.getMessage("Moderation.Admin.view")}
<#if moderator>
<#if moderator && openModeration?default(false)> <#list topics as topic> <#assign class1>class="<@presentation.row1Class topic/>" <#assign class2>class="<@presentation.row2Class topic/>" <#assign class3>class="<@presentation.row3Class topic/>" <#if canApproveMessages> <#if topicsToApprove.containsKey(topic.id)> <#assign class1 = "class='bg_yellow'"/> <#assign class2 = class1/> <#assign class3 = class1/> <#if moderator && openModeration?default(false)>
 ${I18n.getMessage("ForumIndex.topics")}   ${I18n.getMessage("ForumIndex.answers")}   ${I18n.getMessage("ForumIndex.author")}   ${I18n.getMessage("ForumIndex.views")}   ${I18n.getMessage("ForumIndex.lastMessage")}  ${I18n.getMessage("ForumIndex.moderation")} 
<@presentation.folderImage topic/> <#if topic.hasAttach() && attachmentsEnabled>[Clip] <#if topic.vote>${I18n.getMessage("ForumListing.pollLabel")} <#if (topic.title?length == 0)> No Subject <#else> ${topic.title?html} <#if topic.paginate>
<@pagination.littlePostPagination topic.id, postsPerPage, topic.totalReplies/>
${topic.totalReplies} ${topic.postedBy.username} ${topic.totalViews} <#if (topic.lastPostTime?length > 0)> ${topic.lastPostTime}
${topic.lastPostBy.username} <#assign startPage = ""/> <#if (topic.totalReplies + 1 > postsPerPage?number)> <#assign startPage = ((topic.totalReplies / postsPerPage?number)?int * postsPerPage?number) +"/"/> [Latest Reply]
disabled="disabled" name="topic_id" value="${topic.id}" onclick="changeTrClass(this, ${topic_index});"/>
 <@presentation.moderationButtons/>
<#if moderator>
<#if !readonly && !replyOnly> <#else> <#assign colspan = "2"/>
${I18n.getMessage("ForumListing.forumIndex")} » ${forum.name?html}
<#if logged> <#if !watching> <#assign watchMessage = I18n.getMessage("ForumShow.watch")/> <#else> <#assign watchMessage = I18n.getMessage("ForumShow.unwatch")/> Watch ${watchMessage} <@presentation.forumsComboTable/>
<#assign moderators = forum.getModeratorList()/> <#if (moderators.size() > 0)>
<#include "folder_descriptions.htm"/> ${I18n.getMessage("ForumIndex.forumAdmins")}: <#list moderators as m> ${m.name?html}
<#include "bottom.htm"/>