{require-css "thread"} {if not $threadsInForum}
{if or or $threadlistActionMarkRead $threadlistActionNew $threadlistPages}
{set $div ""} {if $threadlistActionMarkRead}{$div}{$threadlistActionMarkRead}{set $div " · "}{endif} {if and $threadlistActionMarkRead $threadlistActionNew}{set $div "
"}{endif} {if $threadlistActionNew}{$div}{$threadlistActionNew}{set $div " · "}{endif} {if $threadlistPages}{$div}{$threadlistPages}{set $div " · "}{endif}
{endif} {endif} {if $threadlistEditformLink}
{endif} {if not $threadsInForum} {if not $searchTitle}

{trnum "threadlist.topics" sizeof $threadlist}

{else}

{$searchTitle}

{endif}
{else}
{endif} {set $threadContainerOpen 0} {foreach $t in $threadlist} {if $t.importantDelimiter} {if $threadContainerOpen}
{set $threadContainerOpen 0} {set $ShadowBottomOffset 4} {include "_shadow_bottom.html"} {endif} {endif} {if $t.oldDelimiter} {if $threadContainerOpen}
{set $threadContainerOpen 0} {set $ShadowBottomOffset 4} {include "_shadow_bottom.html"} {endif}
{-- use another text if we're searching for unread threads, in that case the next one will be unread, so use this as identifier} {if $t.flagNew} {tr "thread.following old but still unread"} {else} {tr "thread.following old"} {endif}
{endif} {if $t.editThis}{endif} {if $threadContainerOpen}
{else}
{set $threadContainerOpen 1} {endif}
{if $threadlistShowForum}
{tr "forum"}: {$t.forumName} {$t.forumHiddenImage} {$t.forumIgnoredImage}
{endif}
{$t.pages} {$t.attachImage}{$t.bookmarkImage}{$t.linkEdit}{$t.hiddenImage}{$t.ignoredImage} {$t.addPreSubject} {if $t.isMoved}{tr "moved"}: {endif} {if $t.linkThread} {$t.linkThread}{if $t.flagNew}{endif}{$t.subject}{if $t.flagNew}{endif} {endif} {$t.unreadCount} {$t.movedForum} {$t.importantPoll} {$t.importantThread} {$t.poll}
{if not $t.isMoved}
{if $t.views} {endif} {if $t.startUser} {endif}
{if $t.desc} {$t.desc} {endif} {$t.views} {trnum "views" $t.views} {if $t.viewsUsers} {trnum "by n users" $t.viewsUsers "n" $t.viewsUsers} {endif} {if $t.replies} {$t.replies} {trnum "replies" $t.replies} {if $t.repliesUsers} {trnum "by n users" $t.repliesUsers "n" $t.repliesUsers} {endif} {endif} {tr "topic started"} {if $t.startDate}{$t.startDate}
{endif}{tr "by"} {$t.startUser}
{if $t.lastpostDate} {tr "last post"} {$t.lastpostDate}{if $t.lastpostAuthor}
{tr "by"} {$t.lastpostAuthor}{endif} {endif}
{endif}{-- not moved}
{if $t.editThis}
{if not $t.isMoved} {endif} {if $threadlistEditAddFields} {endif}
{tr "subject"}:
{tr "description"}:
{tr "options"}: {if not $t.isMoved}   {endif}
{tr "forum"}:  
{tr "_threadattributes.edit thread.more fields"}: {$threadlistEditAddFields}
· · {tr "cancel"}
{endif} {endforeach} {if empty $threadlist}
{$threadlistNoneFoundMsg}
{set $ShadowBottomOffset 4} {include "_shadow_bottom.html"} {endif} {if $threadContainerOpen}
{set $threadContainerOpen 0} {set $ShadowBottomOffset 4} {include "_shadow_bottom.html"} {endif} {if not $threadsInForum}
{else} {endif} {if $threadlistEditformLink}{endif} {if not $threadsInForum} {endif} {if not $threadsInForum} {if or or or $threadlistActionAdvanced $threadlistActionMarkRead $threadlistActionNew $threadlistPages}
{set $div ""} {if $threadlistActionAdvanced} {$div} {tr "advanced options"} {set $div " · "} {endif} {if $threadlistActionMarkRead}{$div}{$threadlistActionMarkRead}{set $div " · "}{endif} {if and $threadlistActionMarkRead $threadlistActionNew}{set $div "
"}{endif} {if $threadlistActionNew}{$div}{$threadlistActionNew}{set $div " · "}{endif} {if $threadlistPages}{$div}{$threadlistPages}{set $div " · "}{endif}
{endif} {if $threadlistActionAdvanced}{-- advanced options}

{tr "forum.advanced options"}

{$threadlistAdvNotification} {$threadlistAdvIgnoreForum} {$threadlistAdvHideForum} {$threadlistAdvShowHiddenForums} {$threadlistAdvShowHiddenThreads}
{set $ShadowBottomOffset 0} {include "_shadow_bottom.html"}
{=beginjs} toggleVisId("advanced_options_threads", false); setImageId("advanced_link_img_threads", true, "{imgurl}arrow_right.png"); {=endjs} {endif}{-- advanced options} {endif}{-- not threads in forum}