#set( $showtoolbar = $page.isPropertyTrue("showtoolbar")) $context.putPageValue("showtoolbar", $showtoolbar) #if( $hideheader && $hideheader != "true") $pages.include("$componenthome/results/header.html",$context) #end $context.putPageValue("assetrootfolder", "/$catalogid/assets") $context.putPageValue("showtoolbar", "false") #if( !$thumbsize ) #set( $thumbsize = "medium" ) #end #if ( $hits && $hits.size() > 0 ) #set( $details = $mediaarchive.getAssetSearcher().getDetailsForView("asset/resultstable",$context.getUserProfile()) ) $context.putPageValue("details",$details)
#set( $rootid = $hits.sessionId ) #set($count = 0) #set( $viewerlink = $content.get("assetviewerlink") ) #foreach ($hit in $hits.getPageOfHits()) #set ($sourcepath = $hit.sourcepath) $context.putPageValue("hit", $hit) #set( $type = $mediaarchive.getMediaRenderType($hit.fileformat)) $context.putPageValue("type", $type) $context.putPageValue("assetid", $hit.id) $context.putPageValue("count", $count ) $context.putPageValue("sourcepath", $hit.sourcepath ) $context.putPageValue("thumbsize", "mediumplus" ) #set($assetwidth = $mediaarchive.getRealImageWidth($hit)) #set($assetheight = $mediaarchive.getRealImageHeight($hit)) #set($click = "$home$viewerlink?hitssessionid=${hits.getSessionId()}&assetid=${hit.id}")
#if(!$type || $type =="audio") #set( $type = "mime" ) #elseif( $type =="video") #set( $type = "videothumbnail" ) #end $pages.include("$componenthome/results/thumbnails/${type}.html", $context) $pages.include("$componenthome/results/badges.html", $context)
#set($stackedfield = $mediaarchive.getCatalogSettingValue("stackedgalleryfield")) #if($stackedfield) #set($title = $hit.get($stackedfield)) #end #if(!$title) #if( $hit.assettitle ) #set($title = $hit.assettitle) #else #set($title = $hit.name) #end #end
#set ( $count = $count + 1) #end
#end #if ( $hits.totalPages == 0 )

[[No results found.]]

#end