##local.define(althomeurl) ##local.define(messagePageUrl) ##sessioncfg.With(urltable,ZONES.MultiLingualAltHomeUrl) ##local.defineByRender(althomeurl)##urltable.QualDataIgnoreIfMissing("") ##if local.IsEqual(althomeurl,"") ##local.defineByRender(althomeurl)##sessioncfg.ZONES.AltHomeUrl ##endif ##sessioncfg.With(urlPageTable,ZONES.LibraryZone.LibraryMessagePage.Urls) ##local.defineByRender(messagePageUrl)##urlPageTable.QualDataIgnoreIfMissing("") ##if local.IsEqual(althomeurl,"") ##local.define(ZonesSection)HOME ##if sessioncfg.ZONES.ReturnToKidsZonesOnTimeout ##else ##if session.IsAnonUnusedSession() ##local.Define(PageDisableTimeOut)1 ##endif ##endif ##local.Define(PageSectionActionSub) /*
  • edit course preferences
  • add course
  • */
    ##local.define(APSMAP)opacstart ##if sessioncfg.ZONES.ReversePanels.Home ##local.define(ReversePanels)1 ##endif ##local.define(Header) ##include(Header) ##local.define(Content) ##if sessioncfg.ZONES.SuppressLibraryMessageBorders ##local.Define(SupressContentBorder)1 ##endif ##local.define(ShowBGTasks)1 ##local.define(TopButtons) ##local.define(BottomButtons) ##local.define(Title) ##if sessioncfg.ZONES.CorpZones ##leg.CORPZONES.Home ##else ##leg.ZONESOPAC.Layout.LibraryZone ##endif ##helpcontext.addHelp(LibraryZoneWelcome) ##helpcontext.addHelp(Toolbar) ##local.define(Advice) ##leg.ZONESOPAC.Layout.Welcome ##if session.IsOnline() ##else ##leg.ZONESOPAC.Layout.SystemOffline ##endif ##local.define(SetLibraryMessage) ##local.define(LibraryMessageElem)ZONES.LibraryMessage /* pick up the language */ ##if sessioncfg.ZONES.LibraryZone.MultiLingual ##if this.StyleSetAttributeIsEqual("LANG","ENG") ##local.define(LibraryMessageElem)ZONES.LibraryZone.ENG.LibraryMessage ##endif ##if this.StyleSetAttributeIsEqual("LANG","FRE") ##local.define(LibraryMessageElem)ZONES.LibraryZone.FRE.LibraryMessage ##endif ##if this.StyleSetAttributeIsEqual("LANG","DUT") ##local.define(LibraryMessageElem)ZONES.LibraryZone.DUT.LibraryMessage ##endif ##if this.StyleSetAttributeIsEqual("LANG","GER") ##local.define(LibraryMessageElem)ZONES.LibraryZone.GER.LibraryMessage ##endif ##endif /*##sessioncfg.AsHTML(##local.LibraryMessageElem)*/ ##local.define(SetTickerMessage) ##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.define(TickerMessage)##sessioncfg.AsHTML(##local.TickerMessageElem) ##local.define(BuildRSSTicker) /*##local.Ticker*/ ##if sessioncfg.ZONES.LibraryZone.LibraryEvents.EnableTickerFeed ##local.Define(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.RSSTickerMessage ##endif ##local.define(Events) ##formatter.FormatRSS( rss, ##sessioncfg.ZONES.LibraryZone.LibraryEvents.EventListFeed, "", "" )
    ##local.define(DoneRSSICON)1 ##rss.ForEachIn(item, "root.channel" ) ##local.defineByRender(Label)##item.__Label() ##if local.IsEqual(Label,item) /**/ /**/ ##endif
    ##if item.type ##item.type ##endif ##if item.start ##if item.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 )/* */
    ##endif ##endif ##if item.title ##if item.link ##item.title ##else ##item.title ##endif ##endif
    ##formatter.Summarise(##item.description,80)
    ##if sessioncfg.ZONES.LibraryZone.LibraryEvents.MapViewURL ##if item.location##leg.ZONESOPAC.EventList.Location##item.location
    ##endif ##endif
    ##if local.IsEqual(DoneRSSICON,0) ##local.define(DoneRSSICON)1 ##else   ##endif
    ##item.Dump()
    ##local.define(LibraryMessage)
    ##local.BuildRSSTicker ##local.SetLibraryMessage ##local.define(isLibMessagePage)0 ##if sessioncfg.ZONES.LibraryZone.LibraryMessagePage.Enable ##local.DefaultLibraryMessage ##local.define(isLibMessagePage)1 ##endif ##if local.IsEqual(isLibMessagePage,0) ##if sessioncfg.ZONES.LibraryZone.LibraryEvents.EnableEventList ##local.defineByRender(LM)##sessioncfg.AsHTML(##local.LibraryMessageElem) ##local.LM ##else ##sessioncfg.AsHTML(##local.LibraryMessageElem) ##endif ##endif
    ##local.Define(List)##local.LibraryMessage ##local.define(Ticker) ##if sessioncfg.ZONES.TickerEnabled ##local.SetTickerMessage ##local.TickerMessage ##endif ##local.define(Content) ##local.List ##local.define(ContentPaneTitle) ##if sessioncfg.ZONES.SuppressBottomPanel ##if sessioncfg.ZONES.TickerEnabled
    ##local.Content
    ##local.Ticker
    ##else
    ##local.Content
    ##endif ##else
    ##local.Content
    ##endif /* Begin Cerritos */ ##if sessioncfg.ZONES.DeactivateMyZone ##local.Define(SuppressPanel1)1 ##else ##if sessioncfg.ZONES.LoginPanelInLibraryZone ##if sessioninfo.ZONES.BrwrID /*Already Logged In*/ ##local.define(Panel1Title) ##leg.ZONESOPAC.Layout.MyZone ##local.define(Panel1Content) ##if sessioncfg.ZONES.MyZoneLogo ##endif
    ##leg.ZONESOPAC.Layout.MyZoneWelcome

    ##leg.ZONESOPAC.CategoryBrowse.GotoMyInterestsTip ##leg.ZONESOPAC.Layout.MyInterests    
    ##leg.ZONESOPAC.Defaults.Button.LogoffTip ##leg.ZONESOPAC.Defaults.Button.Logoff    
    ##else /*Not Yet Logged In*/ ##local.define(Panel1Title) ##leg.ZONESOPAC.Layout.MyZone ##local.define(Panel1Content) ##if session.IsOnline() ##if sessioncfg.ZONES.MyZoneLogo ##endif ##leg.ZONESOPAC.Layout.MyZoneLogin ##if sessioncfg.IsEqual(ZONES.SelfService.RequireSSL,1) ( ##leg.ZONESOPAC.Security.Secure ) ##endif

    ##this.stylesetforform ##if sessioncfg.ZONES.SelfService.ForgotPIN ##endif
    ##if sessioncfg.ZONES.CorpZones ##else ##endif
    ##if sessioncfg.ZONES.CorpZones ##else ##endif
     
      ##leg.ZONESOPAC.ForgotPassword.Link
    ##else ##leg.ZONESOPAC.Layout.MyZoneOffline ##endif
    ##endif /* end ALreadyLoggedIn */ ##else /* login panel in LibraryZone is disabled */ ##local.Define(SuppressPanel1)1 ##endif ##endif /* if DeactivateMyZone */ ##if sessioncfg.isEqual(DB.Config.ZONESERVICES.CatTree.LibraryLinks,"") ##local.define(Panel2Title)##leg.ZONESOPAC.Layout.LibraryLinks ##if sessioncfg.IsEqual(ZONES.LibraryLinksEnabled,0) ##local.Define(Panel2Title) ##local.Define(Panel2Content) ##else ##local.define(Panel2Content) ##sessioncfg.with(i,"ZONES.LibraryLinks") ##i.foreachin(link,"")
  • ##if link.HREF /*20071114*/ ##link.QualData(Label) ##endif ##if link.OPTION ##link.QualData(Label) ##endif
  • ##endif ##else ##local.define(Panel2Title)##local.LLTitle ##local.define(Panel2Content) ##local.define(CatTreeIdent)LibraryLinks ##local.define(CatTreeMaxNumber)##sessioncfg.ZONES.CatTree.NumItemsLibraryLinks ##local.define(CatTreeID)LibraryLinks ##local.define(CatTreeLinkListID)LibraryLinksLinkList ##local.CatTree ##endif
    ##local.define(DefaultLibraryMessage) ##if local.IsEqual(messagePageUrl,"") ##local.define(isLibMessagePage)0 ##else /*logoutbutton*/ ##if sessioninfo.ZONES.BrwrID ##helpcontext.addHelp(LoggedOn)
    ##leg.ZONESOPAC.Defaults.Button.LogoffALT ##leg.ZONESOPAC.Defaults.Button.Logoff
    ##endif ##endif
    ##local.define(LibraryBody) ##local.define(FrameContent) ##local.Content ##local.define(PageBodyStyle)style="border-style:solid; border-width:0px; border-color:red; margin:0;overflow:auto; height:800px" ##include(FrameBody) ##if sessioncfg.ZONES.FullPageLibraryMessage ##local.LibraryBody ##else ##include(Body) ##endif ##else ##Header ##Scripts ##endif