$context.putPageValue("assetrootfolder", "/$catalogid/assets") #if( !$thumbsize ) #set( $thumbsize = "thumb" ) #end
#if( $parenthits ) #set( $rootid = $parenthits.sessionId ) ##what is this for? #else #set( $rootid = $hits.sessionId ) #end #if( $category ) #set( $catid = $category.id ) #else #set( $catid = "index" ) #end #foreach ($hit in $hits.getPageOfHits())
#set( $count = $hits.getPage()+-1 ) #set( $count = $count*$hits.getHitsPerPage() ) #set( $count = ${foreach.count} + $count ) $context.putPageValue("hitindex",$count ) #set ($sourcepath = $hit.sourcepath) $context.putPageValue("cell", $hit) #set( $type = $mediaarchive.getMediaRenderType($hit.fileformat)) $context.putPageValue("type", $type) #set( $click = "$home$apphome/views/assets/${sourcepath}/index.html?categoryid=$catid&hitssessionid=$rootid" ) $context.putPageValue("clink", $clink)
$pages.include("$componenthome/results/thumbnails/${type}.html", $context)
#if( $showcaption )
##show smart time
#if( $hit.assettitle ) $hit.assettitle #else $hit.name#end
#if(${hit.length})$!{hit.length}s#end
#set( $count = $hits.parseInt($hit.get("assetvotes")) ) #if( $count > 0 ) #showStars($count) #end #if( $hit.assetviews )$hit.assetviews views#end
#end #if( $showbasket ) $pages.include("$componenthome/basket/toggleitem.html?assetid=$hit.id",$context) #end
#end
#if ( $hits.totalPages == 0 )

[[No results found.]]

#end