#set($totalpages = $numberutils.toInt($asset.pages)) #set ( $hitssessionid = $context.findValue("hitssessionid"))
#if( $asset.getId().startsWith("multiedit:") )
[[Editing across]] $asset.size() [[assets]]
#else
#set( $type = $mediaarchive.getMediaRenderType($asset.fileformat)) #if( !$thumbsize ) #set( $thumbsize = "thumb" ) #end $context.putPageValue("thumbsize",$thumbsize) #if ( $type == "image" || $type == "document" ) #set ( $urlutils = $context.getPageValue("url_util")) #if ($urlutils) #set ( $sourcepath = $urlutils.encode($asset.sourcepath)) #set ( $sourcepath = $sourcepath.replace("%2F", "/") ) #else #set ( $sourcepath = $asset.sourcepath) #end #set( $link = "/${applicationid}/views/modules/asset/downloads/preview/extralarge/$sourcepath/${asset}.jpg") $pages.include("$apphome/components/results/thumbnails/${type}.html", $context)
... #else $pages.include("$apphome/components/results/thumbnails/${type}.html", $context) #end
$asset #if ($totalpages > 1) ($totalpages [[Pages]]) #end
#if ($attachmentcount > 0) $attachmentcount  #end #set( $views = $mediaarchive.getAssetStatsManager().getViewsForAsset($asset)) $views  $!comments.size() 

#if ($asset.getKeywords().size() > 0)

[[Tags]]
#foreach ($tag in $asset.getKeywords()) #if ( ${foreach.count} <= 10 ) $tag #elseif ( ${foreach.count} == 11 ) ... #end #end
#end #if ($asset.getCategories().size() > 0)
[[Categories]]
#foreach ($category in $asset.getCategories()) #if ( ${foreach.count} <= 8 ) $category #elseif ( ${foreach.count} == 9 ) ... #end #end
#end #set($contact = $mediaarchive.getSearcher("contact").query().exact("thumbnail", $asset.id).searchOne()) #if($contact)
[[Contact]]

$contact

#end #if($canviewshoppingcart) #if($asset.shoppingcartlink)
[[Shopping Cart]]

$pages.include("/$applicationid/views/modules/asset/editor/editshoppingcart/shoppingcartbutton.html",$context)

#end #end
#end