#set( $module = $content.module)

#if( $module=="librarycollection" && $librarycol ) #else #end [[FOLDERS]]

#if(!$librarycol) #set( $selectedcollection = $context.getRequestParameter("collectionid")) #if( $selectedcollection) #set($librarycol = $mediaarchive.getData("librarycollection",$selectedcollection)) $context.putPageValue("librarycol",$librarycol) #end #end #set( $selectedlibraryid = $context.getRequestParameter("selectedlibrary")) #if($selectedlibraryid) #set($selectedlibrary = $mediaarchive.getData("library",$selectedlibraryid)) $context.putPageValue("selectedlibrary",$selectedlibrary) #elseif( $librarycol ) #set( $selectedlibraryid = $librarycol.get("library") ) #set($selectedlibrary = $mediaarchive.getData("library",$selectedlibraryid)) $context.putPageValue("selectedlibrary",$selectedlibrary) #end #set( $module = $content.module) #if($module=="librarycollection" && $librarycol ) $pages.include("$apphome/components/librarycollection/sidebar.html",$context) #else $pages.include("$apphome/components/categories/sidebar-left.html", $context) #end