##formatter.TextRender()##include(Defaults)
##if request.IsEqual(Lang,"ENG")
##endif
##if request.IsEqual(Lang,"FRE")
##endif
##if request.IsEqual(Lang,"GER")
##endif
##if request.IsEqual(Lang,"DUT")
##endif
Zones WAI Version
##if request.IsEqual(Theme,"")
##else
##if request.IsEqual(Theme,"none")
##else
##endif
##endif
##header
##sessioncfg.AsHTML(ZONES.MetaTags)
##Scripts
##if sessioncfg.IsKnown("DB.Config.BookServer.OMNIORB.ORBInitialHost")
##local.Define("IsPortfolio")1
##endif
##if local.backURL
/* we already have a back url defined, so use it */
##else
##if searchcontext.Parent
##if searchcontext.BrowseList
##if searchcontext.IsEqual( BrowseList, ##searchcontext.Parent)
##local.defineByRender(backURL)##searchcontext.BrowseList?##this.StyleSet&Method=CloneList&Item=##searchcontext.BrowseListItem
##else
##local.defineByRender(backURL)##searchcontext.Parent?##this.StyleSet
##endif
##else
##local.defineByRender(backURL)##searchcontext.Parent?##this.StyleSet
##endif
##else
##if request.Finished
##local.defineByRender(backURL)##request.Finished#this.styleset
##else
##local.definebyRender(backURL)APS_OPAC?##this.styleset
##endif
##endif
##endif
##if sessioncfg.ZONES.WAI.IncludeSkipNavigationBarLinks
[##leg.WAI.SkipOver.SkipNavigationBar]
##endif
##if sessioncfg.ZONES.WAI.IncludeReturnToZonesLink
##local.defineByRender(BackToZonesUrl)##sessioncfg.ZONES.WAI.ReturnToZonesUrl
[##leg.KidsZone.BackToZones]
##endif
##local.defineByRender(homeURL)APS_OPAC?##this.StyleSet
##if sessioninfo.ZONES.BrwrID
##local.defineByRender(myzoneURL)APS_ACCOUNT?Method=MyZone#this.StyleSet
##local.defineByRender(memberLevel)##sessioncfg.ZONES.Membership.UserLevel
##if local.memberLevel
##local.define(memberLevelFMT)
##if local.IsEqual(memberLevel,"0")
##else
##if local.IsEqual(memberLevel,"1")
##else
##if local.IsEqual(memberLevel,"2")
##else
##if local.IsEqual(memberLevel,"3")
##else
##endif
##endif
##endif
##endif
##endif
##else
##local.defineByRender(myzoneURL)APS_ACCOUNT?##this.StyleSet
##endif
##local.defineByRender(searchzoneURL)APS_SEARCH?##this.StyleSet
##local.defineByRender(kidszoneURL)APS_OPAC?Style=##this.StyleSet&Style=KidsZone
##local.defineByRender(mediaURL)APS_MEDIALINKS?##this.StyleSet
##local.define(quickSearchCaption)##leg.WAI.QuickSearch
##local.define(LastIndex)0
##local.define(LastStem)
##if sessioncfg.ZONES.SelfService.RequireSSL
##if local.Bookserver
##local.define(LoginHREF)##sessioncfg.Data(ZONES.SecureHostRoot)APS_BOOKSERVER_OPACLOGIN?##this.StyleSet
##else
##local.define(LoginHREF)##sessioncfg.Data(ZONES.SecureHostRoot)APS_ACCOUNT?##this.StyleSet
##endif
##else
##if local.Bookserver
##local.define(LoginHREF)APS_BOOKSERVER_OPACLOGIN?##this.StyleSet
##else
##local.define(LoginHREF)APS_ACCOUNT?##this.StyleSet
##endif
##endif
/*ERROR HANDLING*/
##if local.IsEqual(HandledError,"1")
##else
##if error.Level
##if error.IsEqual(Number,7103)
##local.define(CurrentPage)##leg.WAI.Error.NoResultsTitle
##else
##local.define(CurrentPage)##leg.WAI.Error.ErrorPageTitle
##endif
##local.define(generalError)##leg.WAI.AdvancedSearch.Error.General.Heading
##local.define(BodyContent)
##if error.IsEqual(Level,APPLICATION)
##if error.IsEqual(Number,7103)
##leg.WAI.AdvancedSearch.Error.NoHits.Heading
##helpcontext.addHelp(AdvancedSearch.NoHits)
##else
##error.Description
##endif
##else
##error.Description
##endif
##local.define(APSMAP)
##local.define(HandledError)1
##local.definebyRender(backURL)##this
##endif
##endif
/*END OF ERROR HANDLING*/
##local.OptionBar
##if local.IsEqual(SuppressQuickSearchForm,1)
##else
##endif
##if sessioncfg.ZONES.WAI.IncludeSkipNavigationBarLinks
[##leg.WAI.SkipOver.SkipBackNB]
##else
##endif
##local.BodyContent
##if sessioncfg.ZONES.LibraryLinksEnabled
##if local.IsEqual(APSMAP,"MediaLinks") ##else[ ##leg.WAI.MediaLinks ]##endif
##endif
##if local.SuppressLanguageButtons ##else ##local.define(LanguageButtonFMT)##if this.StyleSetAttributeIsEqual(Lang,##local.LangCode) ##else
##local.LangLEG
##endif
##local.define(LanguageInUse)0
##if sessioncfg.ZONES.Language.English
##local.define(LanguageInUse)1
##endif
##if sessioncfg.ZONES.Language.French
##local.define(LanguageInUse)1
##endif
##if sessioncfg.ZONES.Language.German
##local.define(LanguageInUse)1
##endif
##if sessioncfg.ZONES.Language.Dutch
##local.define(LanguageInUse)1
##endif
##if local.IsEqual(LanguageInUse,1)
##leg.WAI.Defaults.SummaryEntry.Language
- ##leg.WAI.SkipOver.SkipLanguage
##if sessioncfg.ZONES.Language.English
##local.define(LangCode)ENG
##local.define(LangLEG)##leg.data(GLOBAL.Languages.English)
##local.LanguageButtonFMT
##endif
##if sessioncfg.ZONES.Language.French
##local.define(LangCode)FRE
##local.define(LangLEG)##leg.data(GLOBAL.Languages.French)
##local.LanguageButtonFMT
##endif
##if sessioncfg.ZONES.Language.German
##local.define(LangCode)GER
##local.define(LangLEG)##leg.data(GLOBAL.Languages.German)
##local.LanguageButtonFMT
##endif
##if sessioncfg.ZONES.Language.Dutch
##local.define(LangCode)DUT
##local.define(LangLEG)##leg.data(GLOBAL.Languages.Dutch)
##local.LanguageButtonFMT
##endif
- ##leg.WAI.SkipOver.SkipBackLang
##endif
/*
##local.define(PoweredByBiblioMondo)##leg.WAI.PoweredBy
##if sessioncfg.ZONES.BiblioMondoLink
##local.PoweredByBiblioMondo BiblioMondo, an IsacSoft Company
##else
##local.PoweredByBiblioMondo BiblioMondo
##endif
*/
##if sessioncfg.ZONES.AllowScript
##include(LegendEditorSupport)
##endif