##formatter.TextRender() ##this.SubView(##request.SubStyle) ##include(Defaults) ##helpcontext.addHelp(SearchServerSummaryEntries) ##helpcontext.addHelp(Toolbar) ##local.define(Title)##leg.ZONESOPAC.SummaryBrowse.Default.Title /* TODO - Determine the type of query originally used, and setup the title as appropriate */ ##local.define(Title)##leg.ZONESOPAC.ZoneSearch.Advanced ##if startpoint.IsMap(Query.QueryStatement) ##local.defineByRenderAndEscapeHashHash(QS)##startpoint.QualData(Query.QueryStatement) ##local.defineByRender(LS)##startpoint.QualData(Query.LimitStatement) ##if startpoint.IsEqual(Query.IsConstellationSearch,1) ##local.define(Title)##leg.ZONESOPAC.SearchStatement.ConstellationSearch ##else ##if startpoint.IsMap(Query.form) ##local.define(Title)##leg.ZONESOPAC.SearchStatement.AdvancedSearch ##else ##if sessioncfg.ZONES.QuickSearchLabelAsProfessional ##local.define(Title)##leg.ZONESOPAC.SearchStatement.ExpertSearch ##else ##local.define(Title)##leg.ZONESOPAC.SearchStatement.SimpleSearch ##endif ##endif ##endif ##endif ##local.define(FacetList) ##if startpoint.IsMap(Query.facetClauseDisplay) ##startpoint.foreachin("facet","Query.facetClauseDisplay") ##local.define(Url)##searchcontext.QueryObject?##this.styleset&Method=RefineSearch&index=##facet.index&term=##facet.urlencode(term)&RemoveClause=1 ##if facet.IsEqual(action,"+") ##leg.ZONESOPAC.FacetSearch.FacetAnd ( ##leg.ZONESOPAC.FacetSearch.RemoveFacetALT ##facet.QualData(label): ##formatter.UnescapeForDiacritics(##facet.display) ) ##else ##leg.ZONESOPAC.FacetSearch.FacetNot ( ##leg.ZONESOPAC.FacetSearch.RemoveFacetALT ##facet.QualData(label): ##formatter.UnescapeForDiacritics(##facet.display) ) ##endif ##endif ##local.define(SetupFacets) ##endif ##local.define(SearchStatement) ##if startpoint.IsMap(Query.QueryStatement) ##local.defineByRenderAndEscapeHashHash(QS)##startpoint.QualData(Query.QueryStatement) ##local.defineByRender(LS)##startpoint.QualData(Query.LimitStatement) ##if startpoint.IsEqual(Query.IsConstellationSearch,1) ##local.define(Name)##leg.ZONESOPAC.SearchStatement.ConstellationSearch ##else ##if startpoint.IsMap(Query.form) ##local.define(Name)##leg.ZONESOPAC.SearchStatement.AdvancedSearch ##else ##if sessioncfg.ZONES.QuickSearchLabelAsProfessional ##local.define(Name)##leg.ZONESOPAC.SearchStatement.ExpertSearch ##else ##local.define(Name)##leg.ZONESOPAC.SearchStatement.SimpleSearch ##endif ##endif ##endif ##local.define(DPLimitStatement) ##if startpoint.IsDefined(Query.dpStart) ##if startpoint.IsEqual(Query.dpStart,"") ##if startpoint.IsEqual(Query.dpEnd,"") ##local.defineByRender(DPLimitStatement) ##else ##local.defineByRender(DPLimitStatement) ##leg.ZONESOPAC.SearchStatement.DOP :<= ##startpoint.Query.dpEnd ##endif ##else ##if startpoint.IsEqual(Query.dpEnd,"") ##local.defineByRender(DPLimitStatement) ##leg.ZONESOPAC.SearchStatement.DOP :>= ##startpoint.Query.dpStart ##else ##local.defineByRender(DPLimitStatement) ##leg.ZONESOPAC.SearchStatement.DOP :##startpoint.Query.dpStart ... ##startpoint.Query.dpEnd ##endif ##endif ##endif ##if local.IsEqual(QS,"") ##else ##local.QS ##endif ##local.LS ##local.DPLimitStatement ##local.FacetList ##else ##if startpoint.Query ##startpoint.Query ##endif ##endif ##local.define(PageHeaderScripts) ##local.define(SortDropDown)   ##local.define(FacetHeaderFMT)
##local.IndexLabel
##local.define(FacetCount)0
##local.define(FacetFMT)
##local.FacetDisplay (##local.FacetCount)
##local.define(PageLeftMenu) ##if startpoint.IsMap(Facets)
##leg.Portal3.Results.RefineSearch
##sessioncfg.with(facetMapping,ZONES.FacetSearch.FacetMapping) ##startpoint.ForEachIn(index,"Facets") ##local.DefineByRender(Index)##index.__Label() ##local.DefineByRender(TPath)##local.Data(Index).title ##local.Define(IMPath)##local.Data(Index).mappingImgElem ##local.Define(TMPath)##local.Data(Index).mappingElem ##local.Define(TMMPath)##local.Data(Index).mappingText ##local.Define(DRPath)##local.Data(Index).displayRule ##local.Define(IndexLabel)##facetMapping.QualData(##local.TPath) ##local.Define(IndexCode)##index.__Label() ##local.FacetHeaderFMT
##index.ForEachIn(facet,"") ##if facetMapping.IsDefined(##local.TMMPath) ##facetMapping.with( map, ##local.TMMPath) ##local.defineByRender(FacetDisplay)##map.QualData(##facet.name) ##else ##if facetMapping.IsDefined(##local.TMPath) ##local.defineByRender(mappedText)##sessioncfg.MapLegendThroughTable(##formatter.MakeUpperKey(##facet.name),##facetMapping.Data(##local.TMPath)) ##if local.IsEqual(mappedText,"") ##local.defineByRender(FacetDisplay)##facet.name ##else ##local.defineByRender(FacetDisplay)##local.mappedText ##endif ##else ##local.defineByRender(FacetDisplay)##facet.name ##endif ##endif ##local.defineByRender(FacetTerm)##facet.name ##local.defineByRender(FacetCount)##facet.count ##if local.IsEqual(FacetTerm,"") ##else ##local.FacetFMT ##endif
##endif
 
##local.define(Content) ##if startpoint.PageSize ##local.defineByRender(PageSize)##startpoint.PageSize ##else ##local.defineByRender(PageSize)10 ##endif ##local.GetSearchType
##leg.Portal3.Results.SearchStatement ##local.SearchStatement ##local.define(ButtonCaption)##leg.Portal3.Buttons.ModifySearch ##local.define(ButtonTip)##leg.data(Portal3.Buttons.ModifySearchTIP) ##local.define(ButtonHref)##searchcontext.QueryObject&##this.styleset&Method=ModifySearch ##local.define(ButtonID)buttonModifySearch ##local.ButtonFMT ##if sessioncfg.ZONES.Portal3.SearchResult.ShowNewButton ##local.define(ButtonCaption)##leg.Portal3.Buttons.NewSearch ##local.define(ButtonTip)##leg.data(Portal3.Buttons.NewSearchTIP) ##local.define(ButtonHref)APS_ZONES?fn=##local.SearchType&##this.styleset ##local.define(ButtonID)buttonNewSearch ##local.ButtonFMT ##endif
##leg.Expand(Portal3.BookServerSummary.ListHitsTitle,Hits,##startpoint.Hits)
##local.define(Navigation) ##if sessioncfg.IsEqual(ZONES.Portal3.UseCustomNavigationIcons,1) ##sessioncfg.with(icons,ZONES.Portal3.CustomNavigationIcons) ##if startpoint.IsEqual(Page,1) ##else ##if startpoint.PageMax << ##endif < ##endif ##if startpoint.PageMax ##endif ##if startpoint.PageMax ##if startpoint.IsEqual(Page,##startpoint.PageMax) ##else ##leg.Portal3.Results.Of ##startpoint.PageMax ##endif ##endif > ##if startpoint.PageMax >> ##endif ##else ##if startpoint.IsEqual(Page,1) ##else ##if startpoint.PageMax << ##endif < ##endif ##if startpoint.PageMax ##endif ##if startpoint.PageMax ##if startpoint.IsEqual(Page,##startpoint.PageMax) ##else ##leg.Portal3.Results.Of ##startpoint.PageMax ##endif ##endif > ##if startpoint.PageMax >> ##endif ##endif
##this.stylesetforform
##local.SortDropDown ##local.NonReceiptPrintListLink ##local.SendListLink ##local.Navigation
##if local.NoHits
##leg.ZONESOPAC.AdvancedSearch.Error.NoHits.Heading
##else ##local.PageBrowseList ##endif
##this.stylesetforform
##local.Navigation
##include(Body)