##formatter.TextRender() ##this.SubView(##request.SubStyle) ##include(Defaults) ##helpcontext.addHelp(SearchServerSummaryEntries) ##helpcontext.addHelp(Toolbar) /* 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) ##local.define(isCoordinated)0 ##if startpoint.Query.SearchType ##if startpoint.IsEqual(Query.SearchType,CoordinatedSearch) ##local.define(isCoordinated)1 ##endif ##endif ##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 local.IsEqual(isCoordinated,1) ##local.define(Title)##leg.ZONESOPAC.SearchStatement.CoordinatedSearch ##else ##if sessioncfg.ZONES.QuickSearchLabelAsProfessional ##local.define(Title)##leg.ZONESOPAC.SearchStatement.ExpertSearch ##else ##local.define(Title)##leg.ZONESOPAC.SearchStatement.SimpleSearch ##endif ##endif ##endif ##endif ##endif ##if request.IsEqual(SubView,Similar) ##local.define(Title)##leg.Portal3.Actions.MoreLikeThis ##endif ##if sessioncfg.ZONES.Portal3.Tagging.AddTag ##if sessioninfo.ZONES.BrwrID ##local.define(TaggingEnabled)1 ##endif ##endif ##local.define(FacetList) ##if startpoint.IsMap(Query.facetClauseDisplay) ##if sessioncfg.ZONES.Portal3.ShowFacetNamesInSearchStatement ##startpoint.foreachin("facet","Query.facetClauseDisplay") ##local.define(Url)##this.obj?##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 ##else ##startpoint.foreachin("facet","Query.facetClauseDisplay") ##local.define(Url)##this.obj?##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 ##formatter.UnescapeForDiacritics(##facet.display) ##else ##leg.ZONESOPAC.FacetSearch.FacetNot ##leg.ZONESOPAC.FacetSearch.RemoveFacetALT ##formatter.UnescapeForDiacritics(##facet.display) ##endif ##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 ##endif ##if request.IsEqual(SubView,Similar) ##local.define(SearchStatement) ##endif ##local.define(PageHeaderScripts) ##if startpoint.Query.QueryStatement ##local.defineByRender(RSST)##startpoint.QualData(Query.QueryStatement) ##else ##local.defineByRender(RSST)ZONES ##endif ##if startpoint.Query.profileid ##if sessioncfg.ZONES.ShowTopicRSSLinks ##endif ##else ##if sessioncfg.ZONES.ShowSearchRSSLinks ##endif ##endif ##if sessioncfg.ZONES.Portal3.PlayMP3InResultList ##endif ##if sessioncfg.ZONES.Portal3.Wikipedia.EnableAuthorExplore ##local.RenderWikiAuthorList ##endif ##local.define(SortDropDown)   ##local.define(PageLeftMenu) ##if searchcontext.QueryObject ##local.FacetPageLeftMenu ##endif ##local.defineByRender(RobotsMetaTagOverride)index,follow /* ##local.define(MetaTagsOverrides) ##local.defineByRender(txtBuff) ##local.defineByRender(isComma)0 ##listdata.ForEachIn(item,"") ##if local.IsEqual(isComma,1) ##local.AppendRendered(txtBuff), ##endif ##if item.SequenceNo ##local.appendRendered(txtBuff)##item.SequenceNo ##local.define(isComma)1 ##endif ##local.defineByRender(LinkItemMetaTagOverride)##local.txtBuff */ ##local.define(RenderWikiAuthorList) ##if sessioncfg.ZONES.Portal3.Wikipedia.EnableAuthorExplore ##local.defineByRender(wikiBuff) ##local.defineByRender(isWikiBar)0 ##listdata.ForEachIn(item,"") ##if item.Data.Author ##if local.IsEqual(isWikiBar,1) ##local.AppendRendered(wikiBuff)| ##endif ##local.AppendRendered(wikiBuff)##formatter.FormatWikipediaAuthor(##item.Data.Author) ##local.defineByRender(isWikiBar)1 ##else ##if item.Author ##if local.IsEqual(isWikiBar,1) ##local.AppendRendered(wikiBuff)| ##endif ##local.AppendRendered(wikiBuff)##formatter.FormatWikipediaAuthor(##item.Author) ##local.defineByRender(isWikiBar)1 ##else ##if item.SData.Author ##if local.IsEqual(isWikiBar,1) ##local.AppendRendered(wikiBuff)| ##endif ##local.AppendRendered(wikiBuff)##formatter.FormatWikipediaAuthor(##item.SData.Author) ##local.defineByRender(isWikiBar)1 ##endif ##endif ##endif ##local.defineByRender(WikiAuthorsList)##local.wikiBuff ##endif ##if sessioncfg.ZONES.Print.SearchResultsWithOptions ##local.define(isDisplayPrintOption)1 ##endif ##if sessioncfg.ZONES.Portal3.Email.SearchResultsWithOptions ##local.define(isDisplaySendOption)1 ##else ##if sessioncfg.ZONES.Portal3.JustPrintCallNumberReceipts ##local.define(SendListOptions)Options.Format=##sessioncfg.Data(ZONES.Portal3.Email.Options.Format)&Options.Copies=##sessioncfg.Data(ZONES.Portal3.Email.Options.Copies)&Options.Extent=Detailed ##endif ##endif ##local.define(Content)
##local.GetSearchType ##if startpoint.Query.tagid
##leg.Portal3.Results.SearchStatement ##local.SearchStatement ##local.define(ButtonCaption)##leg.Portal3.Buttons.ModifySearch ##local.define(ButtonTip)##leg.data(Portal3.Buttons.ModifySearchTIP) ##local.define(ButtonHref)##request.parent&##this.styleset ##local.define(ButtonID)buttonModifySearch ##local.ButtonFMT
##endif ##if startpoint.Query.profileid
##leg.Portal3.Results.SearchStatement ##local.SearchStatement
##if startpoint.IsMap(Query.Description)
##startpoint.QualData(Query.Description)
##endif ##endif ##if searchcontext.QueryObject ##if request.IsEqual(StyleVariant,Narrow)
##endif
##local.define(SearchLinksTD)0 ##if sessioncfg.ZONES.ShowSearchPermaLinks ##local.define(SearchLinksTD)1 ##endif ##if sessioncfg.ZONES.ShowSearchRSSLinks ##local.define(SearchLinksTD)1 ##endif ##if local.IsEqual(SearchLinksTD,1) ##endif
##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 ##if sessioncfg.ZONES.ShowSearchPermaLinks ##local.define(permalinkLang) ##if sessioncfg.ZONES.PermalinkMultiLang ##local.define(permalinkLang)&Lang=##this.StyleSetAttribute(LANG) ##endif ##leg.ZONESOPAC.CATRecord.PermalinkSearchTextALT ##endif ##if startpoint.Query.profileid ##if sessioncfg.ZONES.ShowTopicRSSLinks ##leg.ZONESOPAC.CATRecord.RSSTopicSearchTextALT ##endif ##else ##if sessioncfg.ZONES.ShowSearchRSSLinks ##leg.ZONESOPAC.CATRecord.PermalinkSearchTextALT ##endif ##endif
##endif ##if sessioncfg.ZONES.ShowSOLRQuery SOLR: ##startpoint.SolrQuery ##endif ##if sessioncfg.ZONES.ZoekEnBoek.EnabledSummaryLevel ##if searchquery.IsMap(form) ##local.defineByRender(ZoekLinkContext)##searchquery.form.t1.expr ##else ##local.defineByRender(ZoekLinkContext)##searchquery.Query ##endif
##local.DisplayZoekEnBoekLink
##endif
##leg.Portal3.Results.Hits (##startpoint.Hits)
##if startpoint.IsEqual(Hits,0) ##leg.Portal3.NoHitsAdvice ##else
##this.stylesetforform ##local.define(Navigation) ##if sessioncfg.IsEqual(ZONES.Portal3.UseCustomNavigationIcons,1) ##sessioncfg.with(icons,ZONES.Portal3.CustomNavigationIcons) ##if startpoint.IsEqual(Page,1) ##else << < ##endif ##if startpoint.IsEqual(Page,##startpoint.PageMax) ##else ##leg.Portal3.Results.Of ##startpoint.PageMax > >> ##endif ##else ##if startpoint.IsEqual(Page,1) ##else << < ##endif ##if startpoint.IsEqual(Page,##startpoint.PageMax) ##else ##leg.Portal3.Results.Of ##startpoint.PageMax > >> ##endif ##endif ##if sessioncfg.ZONES.Print.SearchResults ##endif ##if sessioncfg.ZONES.Portal3.Email.SearchResults ##endif ##if sessioncfg.ZONES.Portal3.MultiNotepad ##endif
##local.define(displaySortDropDown)1 ##local.SortDropDown ##local.define(NonReceiptPrintListLimit)##sessioncfg.ZONES.Portal3.Email.SearchResultItemLimit ##if session.IsOfflineAccess ##local.NonReceiptOfflinePrintListLink ##else ##local.NonReceiptPrintListLink ##endif ##local.define(SendListLimit)##sessioncfg.ZONES.Portal3.Email.SearchResultItemLimit ##if session.IsOfflineAccess ##local.OfflineSendListLink ##else ##local.SendListLink ##endif ##local.SelectNotepadDropDown ##local.Navigation
##if local.NoHits
##leg.ZONESOPAC.AdvancedSearch.Error.NoHits.Heading
##else ##local.PageBrowseList ##endif
##this.stylesetforform
##local.define(displaySortDropDown)0 ##local.SortDropDown ##local.Navigation
##endif
##include(Body)