##local.define(Section)AccountSummary ##local.define(PageHeaderInclude) ##local.define(WillsStuff) /* Possibility to refresh menus on login. Not usefull with Drupal */ /* */ ##if sessioncfg.DB.Config.Circ.SwitchLangOnLogin.Enable ##local.GetPatronLanguage ##if this.StyleSetAttributeIsEqual(Lang,##local.PatronLanguage) ##local.WillsStuff ##else ##if sessioncfg.IsEmpty(DB.Config.Circ.SwitchLangOnLogin.StemUrl) ##local.WillsStuff ##else ##endif ##else ##local.WillsStuff ##endif ##else ##local.WillsStuff ##endif ##local.define(PatronLanguage) ##local.define(GetPatronLanguage) ##sessioncfg.With(LangTable,DB.Config.Circ.SwitchLangOnLogin.MappingTable) ##if Value.Detail.language ##local.defineByRender(PatronLanguage)##LangTable.Data(##Value.Detail.language) ##endif ##if sessioncfg.ZONES.CorpZones /* ##Header ##Scripts */ ##include(OPACStart) ##else ##local.Define(UseTumblebar)0 ##this.SubView(##request.SubView) ##if request.IsEqual( SubView, "ChangeContact") ##include(PChangeContact) ##else ##if request.IsEqual(SubView,"TrackSuggestions") ##local.defineByRender(TOOLBAR_URL_BACK)##this&SubView= ##include(PTrackSuggestions) ##else ##local.define(Header) ##include(Header) ##local.define(Content2PaneTitleContents) ##if sessioncfg.ZONES.SelfService.ChangePIN ##helpcontext.addHelp(ChangePinNav) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=ChangePin&Parent=##this.urlencoded ##local.define(CommandButtonText)##leg.ZONESOPAC.Baccount.Button.ChangePin ##endif ##if sessioncfg.ZONES.SelfService.ViewContactDetails ##if request.IsEqual("SubView","ShowAddress") ##helpcontext.addHelp(ContactDetailsNav) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubView=''&Parent=##this.urlencoded ##local.define(CommandButtonText)##leg.ZONESOPAC.Baccount.Button.ShowSummary ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubView=ShowAddress&Parent=##this.urlencoded ##local.define(CommandButtonText)##leg.ZONESOPAC.Baccount.Button.ViewAddress ##endif ##endif ##if sessioncfg.ZONES.SelfService.ViewAccount ##helpcontext.addHelp(AccountDetailsNav) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=ShowAccount&Parent=##this.urlencoded ##local.define(CommandButtonText)##leg.ZONESOPAC.Baccount.Button.Accounts ##endif ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=ShowMessages&Parent=##this.urlencoded ##local.define(CommandButtonText)##leg.ZONESOPAC.Baccount.Button.Messages ##if sessioncfg.ZONES.SelfService.ViewLoans ##if Value.Detail.current_checkouts ##helpcontext.addHelp(ViewLoansNav) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=ShowLoans&Parent=##this.urlencoded ##local.define(CommandButtonText)##leg.ZONESOPAC.Baccount.Button.Loans ##endif ##endif ##if sessioncfg.ZONES.SelfService.ViewReservations ##helpcontext.addHelp(ReservationsNav) ##if Value.Detail.resv_cur ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=ShowReservations&Parent=##this.urlencoded ##local.define(CommandButtonText)##leg.ZONESOPAC.Baccount.Button.Reservations ##endif ##endif ##if sessioncfg.DB.Config.ZONESERVICES.ThematicSearch ##if sessioncfg.ZONES.SelfService.ViewMyInterests ##local.define(CommandButtonHREF)APS_SUBSCRIBER_INTERESTS?##this.styleset&Method=ShowInterests&Parent=##this.urlencoded ##local.Define(CommandButtonText)##leg.ZONESOPAC.Layout.MyInterests ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.Layout.MyInterestsTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.Layout.MyInterestsALT ##endif ##endif ##if request.IsEqual(SubView,"ShowAddress") ##else ##endif ##local.define(ContentPanelTabs) ##local.MyZoneContentPanelTabs ##local.define(ContactDetails) ##local.define(Name) ##leg.ZONESOPAC.Baccount.BrowseItem.Name ##local.define(Value) ##Value.Detail.name ##local.BrowseItemPartTemplate ##local.define(Name) ##leg.ZONESOPAC.Baccount.BrowseItem.CardNumber ##local.define(Value) ##Value.SubscriberNo ##local.BrowseItemPartTemplate ##local.define(Name) ##leg.ZONESOPAC.Baccount.BrowseItem.SubscriptionExpiry ##local.define(Value)##formatter.YYYYDDMM(##Value.Detail.expiry_date_YYYYMMDD,##local.DateFormat) ##local.BrowseItemPartTemplate ##local.define(Name)   ##local.define(Value)   ##local.BrowseItemPartTemplate ##local.define(Name)##leg.ZONESOPAC.Borrower.Regform.Address ##local.define(Value)##Value.Detail.address_1 ##local.BrowseItemPartTemplate ##local.define(Name)  ##local.define(Value)##Value.Detail.address_2 ##local.PartTemplate ##local.define(Name)  ##local.define(Value)##Value.Detail.address_3 ##local.PartTemplate ##if Value.IsEqual(Detail.postal_code,"") ##else ##local.define(Name)##leg.ZONESOPAC.Borrower.Regform.Postcode ##local.define(Value)##Value.Detail.postal_code ##local.PartTemplate ##endif ##if Value.IsEqual(Detail.telephone_1,"") ##else ##local.define(Name)##leg.ZONESOPAC.Borrower.Regform.Telephonehome ##local.define(Value)##Value.Detail.telephone_1 ##if Value.IsEqual(Detail.telephone_ext_1,"") ##else ##leg.ZONESOPAC.ChangeContact.TelephoneExt ##Value.Detail.telephone_ext_1 ##endif ##local.PartTemplate ##endif ##if Value.IsEqual(Detail.telephone_2,"") ##else ##local.define(Name)##leg.ZONESOPAC.Borrower.Regform.Telephonework ##local.define(Value)##Value.Detail.telephone_2 ##if Value.IsEqual(Detail.telephone_ext_2,"") ##else ##leg.ZONESOPAC.ChangeContact.TelephoneExt ##Value.Detail.telephone_ext_2 ##endif ##local.PartTemplate ##endif ##if Value.IsEqual(Detail.fax_number,"") ##else ##local.define(Name)##leg.ZONESOPAC.Borrower.Regform.Fax ##local.define(Value)##Value.Detail.fax_number ##local.PartTemplate ##endif ##if Value.IsEqual(Detail.address_email,"") ##else ##local.define(Name)##leg.ZONESOPAC.Borrower.Regform.Emailaddress ##local.define(Value)##Value.Detail.address_email ##local.PartTemplate ##endif ##local.define(Content) ##helpcontext.addHelp(Toolbar) ##if request.IsEqual(SubView,"ShowAddress") ##local.defineByRender(TOOLBAR_URL_BACK)##this&SubView= ##helpcontext.addHelp(ViewContact) ##local.define(ScrollingListContent) ##local.define(BrowseItem) ##local.define(PartTemplate) ##local.defineByRender(temp)##local.Value ##if local.IsEqual(temp,"") ##else ##local.BrowseItemPartTemplate ##endif ##local.ContactDetails ##if sessioncfg.ZONES.SelfService.ChangeContactDetails ##local.Define(Value) ##local.define(CommandButtonText)##leg.ZONESOPAC.Baccount.Button.ChangeContactDetails ##local.define(CommandButtonTextALT)##leg.ZONESOPAC.Baccount.Button.ChangeContactDetailsTIP ##local.define(CommandButtonTextTIP)##leg.ZONESOPAC.Baccount.Button.ChangeContactDetailsTIP ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)javascript:ChangeContactDetails() ##local.ContentPaneButtonFMT ##local.Define(Name)   ##local.PartTemplate ##endif ##local.BrowseItemContainerTemplate
##local.define(Title) ##leg.ZONESOPAC.ViewContactDetails.Title ##local.define(Advice)##leg.ZONESOPAC.ViewContactDetails.Prompt
##local.ScrollingList ##else ##helpcontext.addHelp(MyZoneHome) ##local.define(Advice) ##leg.ZONESOPAC.Baccount.Prompt ##local.define(AdviceRowTabs) ##if sessioncfg.ZONES.SelfService.BookSuggestionsEnabled ##helpcontext.addHelp(MakeBookSuggestionNav) ##local.define(CommandButtonHREF)##this&Method=MakeBookSuggestion&Lang=##this.StyleSetAttribute(LANG) ##local.Define(CommandButtonText)##leg.ZONESOPAC.MakeSuggestion.Link ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.MakeSuggestion.LinkTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.MakeSuggestion.LinkALT ##local.define(CommandButtonGraphic) ##local.TabFMT ##endif ##if sessioncfg.ZONES.UserReviews.AllowModerate ##local.define(CommandButtonHREF)APS_ZONES?fn=ModerateUserReviews&Lang=##this.StyleSetAttribute(LANG) ##local.Define(CommandButtonText)##leg.ZONESOPAC.UserReviews.ModerateButton ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.UserReviews.ModerateButtonTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.UserReviews.ModerateButtonALT ##local.define(CommandButtonGraphic) ##local.TabFMT ##endif ##if sessioncfg.ZONES.LibraryZone.LibraryEvents.EditEventList ##local.define(CommandButtonHREF)APS_ZONES?fn=AmendEventList&Lang=##this.StyleSetAttribute(LANG) ##local.Define(CommandButtonText)##leg.EZONES.EventHome.AmendEvents ##local.Define(CommandButtonTextTIP)##leg.EZONES.EventHome.AmendEventsTIP ##local.Define(CommandButtonTextALT)##leg.EZONES.EventHome.AmendEventsALT ##local.define(CommandButtonGraphic) ##local.TabFMT ##endif ##local.define(Title)##leg.ZONESOPAC.Layout.MyZoneWelcome ##if sessioncfg.ZONES.ShowNameInMyZone ##if Value.Detail.last_name ##if Value.Detail.first_name ##Value.Detail.first_name ##endif ##Value.Detail.last_name ##endif ##endif ##local.define(List) ##local.define(BrowseItem) ##local.define(PartTemplate) ##local.defineByRender(temp)##local.Value ##if local.IsEqual(temp,"") ##else ##local.BrowseItemPartTemplate ##endif ##if sessioncfg.ZONES.ShowNameInMyZone ##local.define(Name) ##leg.ZONESOPAC.Baccount.BrowseItem.Name ##local.define(Value) ##Value.Detail.name ##local.BrowseItemPartTemplate ##endif ##local.define(Name) ##leg.ZONESOPAC.Baccount.BrowseItem.CardNumber ##local.define(Value) ##Value.SubscriberNo ##local.BrowseItemPartTemplate ##local.define(Name) ##leg.ZONESOPAC.Baccount.BrowseItem.SubscriptionExpiry ##local.define(Value)##formatter.YYYYDDMM(##Value.Detail.expiry_date_YYYYMMDD,##local.DateFormat) ##local.BrowseItemPartTemplate ##local.define(Name)   ##local.define(Value)   ##local.BrowseItemPartTemplate ##if sessioncfg.ZONES.SelfService.ShowAccountBalance ##local.define(Name) ##if Value.InDebit ##leg.ZONESOPAC.Baccount.BrowseItem.AccountBalance ##else ##leg.ZONESOPAC.Baccount.BrowseItem.AccountBalance ##endif ##local.define(Value) ##if sessioncfg.ZONES.SelfService.ViewAccount ##if sessioncfg.ZONES.BrowseOptions.ShowATDetailsInAccountBrowse ##formatter.Double(##Value.Detail.fine,##local.MoneyFormat) ##else ##formatter.Double(##Value.Detail.fine,##local.MoneyFormat) ##endif ##else ##Value.Detail.fine ##endif ##local.BrowseItemPartTemplate ##endif ##if sessioncfg.ZONES.SelfService.ShowLoansTotal ##local.define(Name) ##leg.ZONESOPAC.Baccount.BrowseItem.OnLoan ##local.define(Value) ##if Value.Detail.current_checkouts ##if sessioncfg.ZONES.SelfService.ViewLoans ##Value.Detail.current_checkouts ##else ##Value.Detail.current_checkouts ##endif ##else ##leg.ZONESOPAC.Baccount.BrowseItem.None ##endif ##local.BrowseItemPartTemplate ##endif ##if sessioncfg.ZONES.SelfService.ShowReservationsTotal ##local.define(Name) ##leg.ZONESOPAC.Baccount.BrowseItem.Reservations ##local.define(Value) ##if Value.Detail.resv_cur ##if sessioncfg.ZONES.SelfService.ViewReservations ##Value.Detail.resv_cur ##else ##Value.Detail.resv_cur ##endif ##else ##leg.ZONESOPAC.Baccount.BrowseItem.None ##endif ##local.BrowseItemPartTemplate ##endif ##if sessioncfg.ZONES.SelfService.ShowCSPTotal ##local.define(Name)##leg.ZONESOPAC.Baccount.BrowseItem.CSPRequests ##local.define(Value) ##if Value.Detail.csp_cur ##if sessioncfg.ZONES.SelfService.ViewCSPRequests ##Value.Detail.csp_cur ##else ##Value.Detail.csp_cur ##endif ##else ##leg.ZONESOPAC.Baccount.BrowseItem.None ##endif ##local.BrowseItemPartTemplate ##endif ##local.define(Name)##leg.ZONESOPAC.Baccount.Button.Messages ##local.define(Value)##Value.Detail.MailCount ##local.BrowseItemPartTemplate ##local.define(Name)   ##local.define(Value) ##local.define(CommandButtonText)##leg.ZONESOPAC.Baccount.Button.ViewAddress ##local.define(CommandButtonTextALT)##leg.ZONESOPAC.Baccount.Button.ViewAddressTIP ##local.define(CommandButtonTextTIP)##leg.ZONESOPAC.Baccount.Button.ViewAddressTIP ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)javascript:ViewContactDetails() ##local.define(CommandId)ShowCopiesTabButton ##local.ContentPaneButtonFMT ##if sessioncfg.ZONES.SelfService.ViewContactDetails ##local.BrowseItemPartTemplate ##endif ##if sessioncfg.ZONES.InterLibraryLoans.Enabled ##local.define(Name) ##leg.ZONESOPAC.InterLibraryLoans.NoOfRequests ##local.define(Value) ##if Value.ILLRequests ##if sessioncfg.ZONES.SelfService.ViewReservations ##Value.ILLRequests ##else ##Value.ILLRequests ##endif ##else ##leg.ZONESOPAC.Baccount.BrowseItem.None ##endif ##local.BrowseItemPartTemplate ##endif ##if Value.IsEqual(Detail.accountTrapLevel,Error) ##local.define(Name)  ##local.define(Value) ##sessioncfg.MapLegendThroughTable(AccountTrapError,"DB.Config.ZONESERVICES.ErrorMessageMap")

##Value.foreachIn(trap,Detail.traps) ##local.defineByRender(ErrorText)##sessioncfg.MapLegendThroughTable(##trap.trapID,"DB.Config.ZONESERVICES.ErrorMessageMap") ##if local.IsEqual(ErrorText,"") ##local.define(ErrorText)##trap.trapID ##endif ##if local.IsEqual(ErrorText,"Hide") ##else ##local.ErrorText
##endif


##local.BrowseItemPartTemplate ##endif ##if Value.IsEqual(Detail.accountTrapLevel,Warning) ##local.define(Name)  ##local.define(Value) ##sessioncfg.MapLegendThroughTable(AccountTrapWarning,"DB.Config.ZONESERVICES.ErrorMessageMap")

##Value.foreachIn(trap,Detail.traps) ##local.defineByRender(ErrorText)##sessioncfg.MapLegendThroughTable(##trap.trapID,"DB.Config.ZONESERVICES.ErrorMessageMap") ##if local.IsEqual(ErrorText,"") ##local.define(ErrorText)##trap.trapID ##endif ##if local.IsEqual(ErrorText,"Hide") ##else ##local.ErrorText
##endif
##local.BrowseItemPartTemplate ##endif ##if Value.IsMap(Detail.suggestions.suggestion) ##local.define(Name)   ##local.define(Value) ##leg.ZONESOPAC.TrackSuggestions.Link ##local.BrowseItemPartTemplate ##endif
##local.BrowseItemContainerTemplate
##local.define(BottomButtons) ##local.List
##include(Layout) ##endif ##if sessioncfg.ZONES.OverdueNotice.Enabled ##if Value.Detail.overdue_loans ##if Value.IsEqual(overdue_loans,"") ##else ##if Value.IsEqual(overdue_loans,"0") ##else ##if sessioninfo.SessionUI.OverdueNotice ##else ##endif ##endif ##endif ##endif ##endif
##include(Body) ##endif ##endif ##endif