##if this.StyleSetAttributeIsEqual(Lang,ENG)##endif ##if this.StyleSetAttributeIsEqual(Lang,FRE)##endif ##if this.StyleSetAttributeIsEqual(Lang,GER)##endif ##if this.StyleSetAttributeIsEqual(Lang,DUT)##endif ##local.define(NarrowDevice)1 ##sessioncfg.with(bodyLinks,ZONES.Portal3.Links) ##if local.pageDisableSessionCheck ##else ##if session.IsConnected() ##else ##if sessioncfg.IsEqual(ZONES.OfflineRedirectUrl,"") ##else ##local.define(redirectURL)##sessioncfg.ZONES.OfflineRedirectUrl ##endif ##endif ##endif ##if local.redirectURL ##Header ##Scripts ##else ##if sessioncfg.ZONES.Portal3.HtmlHeader.IncludeDetailedNoticeMeta ##if local.MetaTagsOverrides ##local.MetaTagsOverrides ##endif ##endif ##if local.TitleMetaTagOverride ##local.TitleMetaTagOverride | ##leg.Portal3.Body.IndexingTitle ##else ##if local.SectionTitle ##leg.Portal3.Body.SiteTitle -##leg.Portal3.Body.MyZoneSectionTitle - ##local.SectionTitle ##else ##leg.Portal3.Body.SiteTitle -##local.Title ##endif ##endif ##Header ##Scripts ##local.BodyMetaTags ##local.BodyCSS ##local.BodyScripts ##if local.pageDisableSessionCheck ##else ##if session.IsConnected() ##if local.PageHeaderScripts ##local.PageHeaderScripts ##endif ##else /* override the page title and content because the system is offline */ ##local.define(Content) ##leg.ZONESOPAC.Layout.Welcome ##leg.ZONESOPAC.Layout.SystemOffline ##local.define(Title)##leg.ZONESOPAC.Layout.SystemOfflineTitle ##endif ##endif ##local.define(BiblioDir)/Portal3/CSS/Biblio ##local.define(ImageDir)/Portal3/GBQ ##if request.IsEqual(StyleVariant,Narrow) ##local.NarrowDeviceHeaderSupport ##endif /**/ ##if sessioncfg.ZONES.Portal3.CustomBanner.Enable ##local.defineByRender(CustomHeader)##sessioncfg.AsHtml(ZONES.Portal3.CustomBanner.HeaderContent) ##local.CustomHeader ##endif ##if sessioncfg.ZONES.Portal3.CustomFooter.Enable ##local.defineByRender(CustomHeader)##sessioncfg.AsHtml(ZONES.Portal3.CustomFooter.HeaderContent) ##local.CustomHeader ##endif ##if sessioncfg.ZONES.Portal3.SiteCSS.Url ##endif ##if sessioncfg.ZONES.Portal3.Colors.Enable ##endif ##if sessioncfg.ZONES.Portal3.CustomMenuBar.Enable ##endif
##if request.IsEqual(StyleVariant,HACUNA) ##local.define(SuppressBanner)1 ##endif ##if request.IsEqual(StyleVariant,FRAME) ##local.define(SuppressBanner)1 ##endif ##if request.IsEqual(StyleVariant,Narrow) ##local.define(SuppressBanner)1 ##endif ##if local.IsEqual(SuppressBanner,1) ##else ##local.define(BannerUrl) ##if bodyLinks.IsMap(Banner) ##if bodyLinks.Banner.URL ##local.define(BannerUrl)url(##bodyLinks.QualData(Banner.URL)) ##endif ##endif /* LibraryEvent (RSS Feed) Ticker has priority on Zones Ticker. */ ##local.defineByRender(isDisplayTickerMessage)0 ##if sessioncfg.ZONES.LibraryZone.LibraryEvents.EnableTickerFeed ##if sessioncfg.ZONES.Portal3.TickerMessage.DisplayOnAllPages ##local.defineByRender(isDisplayTickerMessage)1 ##else ##if local.DisplayTickerMessageOverride ##local.DisplayTickerMessageOverride ##endif ##endif ##else ##if sessioncfg.ZONES.TickerEnabled ##if sessioncfg.ZONES.Portal3.TickerMessage.DisplayOnAllPages ##local.defineByRender(isDisplayTickerMessage)1 ##else ##if local.DisplayTickerMessageOverride ##local.DisplayTickerMessageOverride ##endif ##endif ##endif ##endif ##formatter.TextRender() ##local.define(HeaderTickerMessage) ##local.defineByRender(RSSTickerMessage) ##formatter.FormatRSS( rss, ##sessioncfg.ZONES.LibraryZone.LibraryEvents.TickerListFeed, "", "" ) ##rss.ForEachIn(item, "root.channel" ) ##local.defineByRender(Label)##item.__Label() ##if local.IsEqual(Label,item) ##if item.type ##item.type ##endif ##if item.title - ##item.title ##endif ##if item.title ##if item.description ##formatter.Summarise(##item.description,80) - ##endif ##else ##if item.description ##item.description ##endif ##endif ##if item.location ##item.location - ##endif ##if item.IsDefined(start) ( ##if item.IsDefined(end) ##if item.IsEqual(start,##item.end) ##formatter.datefromISO(##item.start,##local.DateFormat) ##else ##formatter.datefromISO(##item.start,##local.DateFormat)- ##formatter.datefromISO(##item.end,##local.DateFormat) ##endif ##else ##formatter.datefromISO(##item.start,##local.DateFormat) ##endif ) ##endif ##endif ##local.define(GetZonesTickerMessage) ##local.define(TickerMessageElem)ZONES.TickerMessage ##if sessioncfg.ZONES.LibraryZone.MultiLingual ##if this.StyleSetAttributeIsEqual("LANG","ENG") ##local.define(TickerMessageElem)ZONES.LibraryZone.ENG.TickerMessage ##endif ##if this.StyleSetAttributeIsEqual("LANG","FRE") ##local.define(TickerMessageElem)ZONES.LibraryZone.FRE.TickerMessage ##endif ##if this.StyleSetAttributeIsEqual("LANG","DUT") ##local.define(TickerMessageElem)ZONES.LibraryZone.DUT.TickerMessage ##endif ##if this.StyleSetAttributeIsEqual("LANG","GER") ##local.define(TickerMessageElem)ZONES.LibraryZone.GER.TickerMessage ##endif ##endif ##local.defineByRender(ZonesTickerMessage)##sessioncfg.AsHTML(##local.TickerMessageElem) ##if sessioncfg.ZONES.LibraryZone.LibraryEvents.EnableTickerFeed ##local.define(TickerMessage)##local.RSSTickerMessage ##else ##local.GetZonesTickerMessage ##local.define(TickerMessage)##local.ZonesTickerMessage ##endif ##local.define(HeaderMK2) /**/
##if bodyLinks.IsMap(Logo2) ##if bodyLinks.Logo2.URL ##local.define(TargetPath)Logo.Target ##else ##endif ##else ##endif /* */
##local.define(TargetPath)Logo.SiteSearchForm.Target ##if bodyLinks.IsMap(SiteSearchForm.Action)
##else ##endif ##if bodyLinks.IsMap(SiteSearchForm.Query) ##else ##endif ##if bodyLinks.isMap(SiteSearchForm.LangInput) ##local.defineByRender(LangInput)##bodyLinks.QualData(SiteSearchForm.LangInput) ##if local.NotEmpty(LangInput) ##endif ##endif
##formatter.ForEachInList("bannerLink", ##sessioncfg.ZONES.Portal3.BannerLinkList) ##local.defineByRender(LinkName)##bannerLink##local.BodyLink    ##if sessioncfg.ZONES.Portal3.LinkOptions.ShowBannerLanguage ##local.ChangeLanguageControl ##endif /* À propos de BAnQ Pour nous joindre Aide Portail Québec    English */
##if bodyLinks.IsMap(Banner2) /*Catalogue Iris - Bibliothèque et Archives nationales du Québec.*/ ##bodyLinks.QualData(Banner2.ALT) ##endif
##local.define(HeaderMK1)
##if bodyLinks.IsMap(Logo) ##if bodyLinks.Logo.URL ##local.define(TargetPath)Logo.Target ##else ##endif ##else ##endif ##if sessioncfg.ZONES.Portal3.SiteSearch.Enable
##local.define(FormQueryType)##if sessioncfg.ZONES.Portal3.SiteSearch.QueryPost method="post" ##else method="get" ##endif ##local.define(TargetPath)Logo.SiteSearchForm.Target ##if bodyLinks.IsMap(SiteSearchForm.Action)
##else ##endif ##if bodyLinks.IsMap(SiteSearchForm.Query) ##else ##endif
##endif
##formatter.ForEachInList("bannerLink", ##sessioncfg.ZONES.Portal3.BannerLinkList) ##local.defineByRender(LinkName)##bannerLink##local.BodyLink /* ##local.define(LinkName)About##local.BodyLink ##local.define(LinkName)ContactUS##local.BodyLink ##local.define(LinkName)SiteHelp##local.BodyLink ##local.define(LinkName)QuebecPortal##local.BodyLink */ ##if sessioncfg.ZONES.Portal3.LinkOptions.ShowBannerLanguage ##local.ChangeLanguageControl ##endif
##sessioncfg.ZONES.Portal3.TitleImageALT
##if local.IsEqual(isDisplayTickerMessage,1) ##local.HeaderTickerMessage
##local.TickerMessage
##endif
##local.define(SetCustomBanner) ##local.defineByRender(CustomBannerHtmlOption)ZONES.Portal3.CustomBanner.HtmlContent ##if this.StyleSetAttributeIsEqual("LANG","ENG") ##if sessioncfg.IsEqual(ZONES.Portal3.CustomBanner.ENG.HtmlContent, "") ##else ##local.defineByRender(CustomBannerHtmlOption)ZONES.Portal3.CustomBanner.ENG.HtmlContent ##endif ##endif ##if this.StyleSetAttributeIsEqual("LANG","FRE") ##if sessioncfg.IsEqual(ZONES.Portal3.CustomBanner.FRE.HtmlContent, "") ##else ##local.defineByRender(CustomBannerHtmlOption)ZONES.Portal3.CustomBanner.FRE.HtmlContent ##endif ##endif ##if this.StyleSetAttributeIsEqual("LANG","DUT") ##if sessioncfg.IsEqual(ZONES.Portal3.CustomBanner.DUT.HtmlContent, "") ##else ##local.defineByRender(CustomBannerHtmlOption)ZONES.Portal3.CustomBanner.DUT.HtmlContent ##endif ##endif ##if this.StyleSetAttributeIsEqual("LANG","GER") ##if sessioncfg.IsEqual(ZONES.Portal3.CustomBanner.GER.HtmlContent, "") ##else ##local.defineByRender(CustomBannerHtmlOption)ZONES.Portal3.CustomBanner.GER.HtmlContent ##endif ##endif ##local.define(CustomBanner) ##local.SetCustomBanner ##local.defineByRender(CustomBannerHTML)##sessioncfg.AsHtml(##local.CustomBannerHtmlOption)
##local.CustomBannerHTML
##if local.IsEqual(isDisplayTickerMessage,1)
##if local.IsEqual(isDisplayTickerMessage,1) ##local.HeaderTickerMessage ##local.TickerMessage ##endif
##endif
##local.define(MobileHeader)
##local.defineByRender(MobileBanner)##sessioncfg.AsHtml(ZONES.Portal3.Mobile.BannerHtml) ##local.MobileBanner
##if sessioncfg.ZONES.Portal3.CustomBanner.Enable ##local.CustomBanner ##else ##if bodyLinks.IsMap(Banner2) ##local.HeaderMK2 ##else ##local.HeaderMK1 ##endif ##endif ##local.MobileHeader ##endif /* suppress banner */ ##local.define(SupressMenu)0 ##if request.IsEqual(StyleVariant,HACUNA) ##local.define(SupressMenu)1 ##endif ##if request.IsEqual(StyleVariant,FRAME) ##local.define(SupressMenu)1 ##endif ##local.define(DefaultMenuBar)
##local.define(ApplyMemubarItem) ##if local.IsEqual(MenuBarSection, "") ##else ##local.define(tempurl)##local.MenuBarURL ##local.define(linkUrl)##formatter.JScriptQuote()##local.tempurl&##this.styleset ##if local.IsEqual(MenuBarSection, Help) ##local.define(linkUrl)javascript:Help('##formatter.JScriptQuote()##local.tempurl','helpcontext=##helpcontext.EncodedContext()') ##endif ##if local.IsEqual(MenuBarSection, "Print") ##local.define(linkUrl)javascript:Print() ##endif
  • ##if local.IsEqual(MenuBarImage, "") ##else
    ##local.MenuBarALT
    ##endif
    ##local.MenuBarText
  • ##endif
    ##local.define(ApplyMyZoneMenubar) ##if local.IsEqual(MenuBarSection, "") ##else
  • ##if sessioninfo.ZONES.BrwrID
    ##if local.IsEqual(MenuBarImage, "") ##else
    ##leg.Portal3.Body.ToolBar.MyZoneALT
    ##endif
    ##leg.Portal3.Body.ToolBar.MyZone
     
    ##if sessioncfg.SSOLOGIN.Enable ##if sessioncfg.SSOLOGIN.EndSession ##leg.Portal3.Body.ToolBar.EndSession ##else ##leg.Portal3.Body.ToolBar.EndSession ##endif ##else ##leg.Portal3.Body.ToolBar.EndSession ##endif
    ##else ##if local.IsEqual(MenuBarImage, "") ##else
    ##leg.Portal3.Body.ToolBar.MyZoneALT
    ##endif
    ##leg.Portal3.Body.ToolBar.MyZone
    ##endif
  • ##endif
    ##local.define(ApplyLangMenubar) ##if local.IsEqual(MenuBarSection, "") ##else
    ##endif
    ##local.define(BuildMenubar) ##local.defineByRender(MenuBarText) ##local.defineByRender(MenuBarTIP) ##local.defineByRender(MenuBarALT) ##local.defineByRender(MenuBarImage) ##local.defineByRender(MenuBarClass) ##local.defineByRender(MenuBarID) ##local.defineByRender(MenuBarURL) ##local.defineByRender(MenuBarSection) ##if bodyLinks.IsMap(##formatter.JScriptQuote()##item.Text) ##local.defineByRender(MenuBarText)##bodyLinks.QualData(##formatter.JScriptQuote()##item.Text) ##endif ##if bodyLinks.IsMap(##formatter.JScriptQuote()##item.TIP) ##local.defineByRender(MenuBarTIP)##bodyLinks.QualData(##formatter.JScriptQuote()##item.TIP) ##endif ##if bodyLinks.IsMap(##formatter.JScriptQuote()##item.ALT) ##local.defineByRender(MenuBarALT)##bodyLinks.QualData(##formatter.JScriptQuote()##item.ALT) ##endif ##if bodyLinks.IsDefined(##formatter.JScriptQuote()##item.Image) ##local.defineByRender(MenuBarImage)##bodyLinks.Data(##formatter.JScriptQuote()##item.Image) ##endif ##if bodyLinks.IsDefined(##formatter.JScriptQuote()##item.ID) ##local.defineByRender(MenuBarClass)Menu##bodyLinks.Data(##formatter.JScriptQuote()##item.ID) ##local.defineByRender(MenuBarID)fn##bodyLinks.Data(##formatter.JScriptQuote()##item.ID) ##local.defineByRender(MenuBarSection)##bodyLinks.Data(##formatter.JScriptQuote()##item.ID) ##endif ##if bodyLinks.IsMap(##formatter.JScriptQuote()##item.URL) ##local.define(MenuBarURL)##bodyLinks.QualData(##formatter.JScriptQuote()##item.URL) ##else ##if bodyLinks.IsDefined(##formatter.JScriptQuote()##item.URL) ##local.define(MenuBarURL)##bodyLinks.Data(##formatter.JScriptQuote()##item.URL) ##endif ##endif ##if local.IsEqual(MenuBarSection, MyZone) ##local.ApplyMyZoneMenubar ##else ##if local.IsEqual(MenuBarSection, LangMenu) ##local.ApplyLangMenubar ##else ##local.ApplyMemubarItem ##endif ##endif ##local.define(CustomMenuBar)
      ##sessioncfg.With(bodyLinks,"ZONES.Portal3.Links") ##formatter.ForEachInList("item",##sessioncfg.ZONES.Portal3.CustomMenuBar.LeftItemList) ##if bodyLinks.IsMap(##formatter.JScriptQuote()##item) ##local.defineByRender(RightMenu)0 ##local.BuildMenubar ##endif
    •  
    • ##formatter.ForEachInList("item",##sessioncfg.ZONES.Portal3.CustomMenuBar.RightItemList) ##if bodyLinks.IsMap(##formatter.JScriptQuote()##item) ##local.defineByRender(RightMenu)1 ##local.BuildMenubar ##endif
    ##if local.IsEqual(SupressMenu,"1") ##else ##if sessioncfg.ZONES.Portal3.CustomMenuBar.Remove ##else ##if sessioncfg.ZONES.Portal3.CustomMenuBar.Enable ##local.CustomMenuBar ##else ##local.DefaultMenuBar ##endif ##endif ##endif ##if session.IsOfflineAccess
    ##leg.Portal3.OfflineLimitedAccess.WarningLimitedAccessTicker
    ##endif
    ##if request.IsEqual(StyleVariant,FRAME) ##else ##local.define(IsNoLeftMenu)0 ##if local.NoLeftMenu ##local.define(IsNoLeftMenu)1 ##endif ##if request.IsEqual(StyleVariant,Narrow) ##local.define(IsNoLeftMenu)1 ##endif ##if local.IsEqual(IsNoLeftMenu,1) ##endif ##endif
    /**/ ##else
    ##if local.PageLeftMenu ##local.PageLeftMenu   ##else   ##endif
    ##if request.IsEqual(StyleVariant,FRAME) ##else
    ##if bodyLinks.IsMap(OPACHelp) ##bodyLinks.QualData(OPACHelp.ALT) ##bodyLinks.QualData(OPACHelp.Text)     ##endif ##if bodyLinks.IsMap(AskLibrarian) ##bodyLinks.QualData(AskLibrarian.ALT) ##local.define(LinkName)AskLibrarian##local.BodyLink ##endif
    ##if local.SectionTitle
    ##if local.NotIncludeSectionLinkAriane ##if local.PreviousPageDefined ##local.PreviousPageText ##else ##leg.Portal3.Body.MyZoneSectionTitle ##endif ##else ##if local.PreviousPageDefined ##local.PreviousPageText ##else ##leg.Portal3.Body.MyZoneSectionTitle ##endif ##endif > ##local.SectionTitle
    ##else ##if local.IsEqual(Title,"") ##else

    ##local.Title

    ##endif ##endif ##if local.TitleAdvice
    ##local.TitleAdvice
    ##endif
    ##endif
    ##local.Content
    ##local.define(SupressFooter)0 ##if request.IsEqual(StyleVariant,FRAME) ##local.define(SupressFooter)1 ##endif ##if request.IsEqual(StyleVariant,HACUNA) ##local.define(SupressFooter)1 ##endif ##local.define(SetCustomFooter) ##local.defineByRender(CustomFooterHtmlOption)ZONES.Portal3.CustomFooter.HtmlContent ##if this.StyleSetAttributeIsEqual("LANG","ENG") ##if sessioncfg.IsEqual(ZONES.Portal3.CustomFooter.ENG.HtmlContent, "") ##else ##local.defineByRender(CustomFooterHtmlOption)ZONES.Portal3.CustomFooter.ENG.HtmlContent ##endif ##endif ##if this.StyleSetAttributeIsEqual("LANG","FRE") ##if sessioncfg.IsEqual(ZONES.Portal3.CustomFooter.FRE.HtmlContent, "") ##else ##local.defineByRender(CustomFooterHtmlOption)ZONES.Portal3.CustomFooter.FRE.HtmlContent ##endif ##endif ##if this.StyleSetAttributeIsEqual("LANG","DUT") ##if sessioncfg.IsEqual(ZONES.Portal3.CustomFooter.DUT.HtmlContent, "") ##else ##local.defineByRender(CustomFooterHtmlOption)ZONES.Portal3.CustomFooter.DUT.HtmlContent ##endif ##endif ##if this.StyleSetAttributeIsEqual("LANG","GER") ##if sessioncfg.IsEqual(ZONES.Portal3.CustomFooter.GER.HtmlContent, "") ##else ##local.defineByRender(CustomFooterHtmlOption)ZONES.Portal3.CustomFooter.GER.HtmlContent ##endif ##endif ##local.define(CustomFooter) ##local.SetCustomFooter ##local.defineByRender(CustomFooterHtml)##sessioncfg.AsHtml(##local.CustomFooterHtmlOption)
    ##local.CustomFooterHtml
    ##local.define(DefaultFooter)
    ##if sessioncfg.ZONES.Portal3.Colors.Enable
    ##endif

    ##if bodyLinks.IsMap(AskLibrarianOrArchivist) ##leg.Portal3.Body.AnyQuestion ##local.define(LinkClass)LienQuestion##local.define(LinkName)AskLibrarianOrArchivist##local.BodyLink ##endif   ##local.define(LinkClass)LienQuestion##local.define(LinkName)PreInscription##local.BodyLink ##if sessioncfg.ZONES.Portal3.Colors.Enable

    ##endif
    ##if local.IsEqual(SupressFooter,1) ##else
    ##if sessioncfg.ZONES.Portal3.CustomFooter.Enable ##local.CustomFooter ##else ##local.DefaultFooter ##endif

    ##local.define(LinkClass) ##formatter.ForEachInList("bannerLink", ##sessioncfg.ZONES.Portal3.FooterLinkList) ##local.defineByRender(LinkName)##bannerLink##local.BodyLink /* ##local.define(LinkName)SitePlan##local.BodyLink ##local.define(LinkName)AuthorsRights##local.BodyLink ##local.define(LinkName)ConfidentalityPolicy##local.BodyLink ##local.define(LinkName)DeclarationOfServices##local.BodyLink */ ##if sessioncfg.ZONES.Portal3.RSSFeedHome ##leg.Portal3.RSSFeedHome.LinkALT##leg.Portal3.RSSFeedHome.Link ##endif
    ##local.define(LinkName)Copyright##local.BodyLink ##if sessioncfg.ZONES.Portal3.ShowVersion ##sessioncfg.With(versionMap,Version.Zones) ##versionMap.QualData("") ##endif

    ##endif /* */ ##local.BodyDLG ##if sessioncfg.ZONES.Portal3.Google.Analytics ##local.DefineByRender(AnalyticBodyScript)##sessioncfg.AsHtml(ZONES.Portal3.Google.AnalyticsTrackerCode) ##local.AnalyticBodyScript ##endif ##if sessioncfg.ZONES.EntrepotNumerique.Enable ##local.defineByRender(EntNumLang) ##if this.StyleSetAttributeIsEqual(Lang,ENG)##local.defineByRender(EntNumLang)en##endif ##if this.StyleSetAttributeIsEqual(Lang,FRE)##local.defineByRender(EntNumLang)fr##endif ##if local.IsEqual(EntNumLang,"") ##else ##endif ##endif ##endif