{require-css "search"} {require-txt "search"} {if $searchFormUrl}

{tr "search.search posts"}

{UnbFormSessionId}
{tr "search.search for"} {tr "search.display as"}
{tr "search.sorting"}
{tr "date"} {tr "search.date from"} {tr "search.date until"} {tr "search.date format~"} {tr "search.in forum"}
{tr "search.tip~"}
{set $ShadowBottomOffset 4} {include "_shadow_bottom.html"}
{if $searchAdvancedLinks}

{tr "search.special"}

{$searchAdvancedLinks}
{set $ShadowBottomOffset 4} {include "_shadow_bottom.html"} {endif} {endif}{--$searchFormUrl} {if $searchShowResult} {include "announcelist.html"} {if not $searchTitle} {set $searchTitle tr "search.result"} {endif} {if $searchResultsCount} {set $searchTitle concat concat concat $searchTitle " (" $searchResultsCount ")"} {endif} {if $searchShowThreads} {include "threadlist.html"} {endif} {if $searchShowPosts} {include "postlist.html"} {if not $searchResultsCount}
{tr "search.no posts found"}
{set $ShadowBottomOffset 4} {include "_shadow_bottom.html"} {endif} {endif} {if or $searchActionSpecial $searchActionMarkRead}
{set $div ""} {if and $searchResultsCount $searchActionSpecial} {$div} {tr "search.special"} {set $div " · "} {-- leave this block empty if nothing found, to preserve correct spacing} {endif} {if $searchActionMarkRead} {$div}{$searchActionMarkRead} {set $div " · "} {endif}
{endif} {if $searchActionSpecial} {if $searchResultsCount} {=beginjs} toggleVisId("advanced_options_search", false); setImageId("advanced_link_img_search", true, "{imgurl}arrow_right.png"); {=endjs} {endif} {endif}
{$jumpForumBox}
{if $threadlistIconsLegend}
{$threadlistIconsLegend}
{endif} {endif}{--$searchShowResult}