#set( $module = $content.module) #if(!$module) #set($module = $context.getRequestParameter("module")) #end $context.putPageValue("module", $module) #if (!$nodeID) #set($nodeID = $context.getRequestParameter("nodeID")) $context.putPageValue("nodeID",$nodeID) #end #if( !$librarycol && $category ) #set( $librarycol = $mediaarchive.query("librarycollection").orgroup("rootcategory",$category.getParentCategories()).searchOne() ) #end #if( !$librarycol ) #set($collectionid = $context.getRequestParameter("collectionid")) #if($module=="librarycollection" && $collectionid) #set( $librarycol = $mediaarchive.query("librarycollection").exact("id",$collectionid).searchOne() ) #end #end #if( $librarycol ) $context.putPageValue("librarycol", $librarycol) #end #if($module=="librarycollection" && $hits.size() == 0 && $mediaarchive.isCatalogSettingTrue("autopopulatecollections")) $pages.include("$apphome/components/createmedia/copycategory/index.html?autorun=true", $context) #else #set ($resultview = $context.getRequestParameter("resultview")) #ifnull($resultview) #set ($resultview = $userprofile.get('resultview')) #end
#if(!$hidefilters) $pages.include("$apphome/components/filters/filters-selected.html", $context) #end #set( $colleftwidth = $userprofile.get("colleftwidth")) #set( $leftbarstatus = $userprofile.get("leftbarstatus"))
#if (!$resultview || $resultview == 'table') $context.putPageValue("showhover", "false") $context.putPageValue("thumbsize", "crop") $context.putPageValue("showcaption", "true") $context.putPageValue("hideheader", "false") $context.putPageValue("pickable", false ) $context.putPageValue("resultstype", "table" ) $pages.include("$componenthome/results/table.html", $context) #elseif ($resultview == "hierarchy") $context.putPageValue("showcaption", true) $context.putPageValue("showhover", "false") $context.putPageValue("thumbsize", "thumb") $context.putPageValue("showcaption", "true") $context.putPageValue("hideheader", "false") $context.putPageValue("pickable", false ) $pages.include("$componenthome/results/hierarchy.html", $context) #elseif ($resultview == "stackedgallery") $context.putPageValue("showcaption", false) $context.putPageValue("showhover", "false") $context.putPageValue("thumbsize", "medium") $context.putPageValue("showcaption", "false") $context.putPageValue("hideheader", "false") $context.putPageValue("pickable", false ) $pages.include("$componenthome/results/stackedgallery.html", $context) #elseif ($resultview == "map") $context.putPageValue("showcaption", false) $context.putPageValue("showhover", "false") $context.putPageValue("thumbsize", "medium") $context.putPageValue("showcaption", "false") $context.putPageValue("hideheader", "false") $context.putPageValue("pickable", false ) $pages.include("$componenthome/results/map.html", $context) #else $context.putPageValue("showcaption", true) $context.putPageValue("showhover", "false") $context.putPageValue("thumbsize", "thumb") $context.putPageValue("showcaption", "true") $context.putPageValue("hideheader", "false") $context.putPageValue("pickable", "false" ) $pages.include("$componenthome/results/gallery.html", $context) #end
#end