#macro (searchResultIcon $searchResult) #if ($searchResult.type == "userinfo") #end #end #macro (newSearchResultContentLink $searchResult) #set ($path = $searchResult.urlPath) #if ($searchResult.type == "attachment") #set ($path = $searchResult.extraFields.attachmentDownloadPath) #end $action.getTitleForResult($searchResult)#searchResultIcon($searchResult)##TODO: Highlight matches in titles #end #macro (newSearchResult $searchResult $showExcerpts $queryString) ## TODO: Show labels only if there is a matching label

#newSearchResultContentLink($searchResult)#if ($searchResult.type == "userinfo") ($generalUtil.htmlEncode($searchResult.extraFields.username))#end

#set ($webInterfaceContext = $action.getWebInterfaceContext($searchResult)) #set ($primaryItems = $webInterfaceManager.getDisplayableItems("system.search/result.primary", $webInterfaceContext)) #if ($searchResult.type == "attachment" || $primaryLinks.size()) #end #if ("true" == $showExcerpts)

$action.getSummaryForResult($searchResult)

#end #if ($searchResult.type != "spacedesc" && $searchResult.type != "personalspacedesc") #end #end