##local.define(addDocumentManager)1 ##local.define(addTimeOut)1 ##local.define(GoBackScript) ##if request.ConfirmCancel location.href = "##this?##this.StyleSet?Method=BrowseFrom?Item=##request.Item"; ##else location.href = "##searchcontext.Parent?##this.StyleSet?Method=Refetch"; ##endif ##local.define(ShowBGTasks)1 ##local.define(BGTasksFromParent)1 ##local.define(Prompt) ##leg.OPAC.Baccount.Prompt ##if leg.OPAC.ReservationBrowse.Prompt ##leg.OPAC.ReservationBrowse.Prompt ##endif ##local.define(Title) ##if request.ConfirmCancel ##leg.OPAC.ReservationBrowse.Title.ConfirmCancel ##else ##leg.OPAC.ReservationBrowse.Title.Default ##endif ##local.define(PageTitle) ##leg.Expand(OPAC.ReservationBrowse.Title.Default) ##local.define(FunctionButtons) ##local.define(FunctionButton)1 ##local.define(ButtonClass)function-button ##local.define(ButtonName)SummaryButton ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubView="; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Summary ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Summary) ##local.ButtonCellTemplate ##if searchcontext.Borrower.CreditAllowed ##if sessioncfg.OPAC.SelfService.ViewCredit ##local.define(ButtonClass)function-button ##local.define(ButtonName)CreditButton ##local.define(ButtonCommand)location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowCredits"; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Credits ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Credit) ##local.ButtonCellTemplate ##endif ##endif ##if sessioncfg.OPAC.SelfService.ViewAccount ##local.define(ButtonClass)function-button ##local.define(ButtonName)AccountButton ##if sessioncfg.OPAC.BrowseOptions.ShowATDetailsInAccountBrowse ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowExpandedAccount"; ##else ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowAccount"; ##endif ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Accounts ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Account) ##local.ButtonCellTemplate ##endif ##if sessioncfg.OPAC.SelfService.ViewLoans ##if searchcontext.Borrower.ItemsOnLoan.0.Value ##local.define(ButtonClass)function-button ##local.define(ButtonName)LoansButton ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowLoans"; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Loans ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Loans) ##local.ButtonCellTemplate ##endif ##endif ##local.define(FunctionButtons1) ##local.define(FunctionButton)1 ##if sessioncfg.OPAC.SelfService.ViewSubscription ##if searchcontext.Borrower.SubsEnabledInRsp ##local.define(ButtonClass)function-button ##local.define(ButtonName)SubscriptionButton ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubView=ShowSubs"; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Subscription ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Subscription) ##local.ButtonCellTemplate ##endif ##endif ##if sessioncfg.OPAC.SelfService.ViewContactDetails ##local.define(ButtonClass)function-button ##local.define(ButtonName)ContactDetails ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubView=ShowAddress"; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.ViewAddress ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.ContactDetails) ##local.ButtonCellTemplate ##endif ##if sessioncfg.OPAC.SelfService.PrintReservations ##local.define(ButtonClass)function-button ##local.define(ButtonName)PrintReservations ##local.define(ButtonCommand)PrintList(); ##local.define(ButtonText)##leg.OPAC.Defaults.Button.Print ##local.define(ButtonIcon)Ê ##local.ButtonCellTemplate ##endif ##local.define(Content) ##if request.ConfirmCancel ##helpcontext.addHelp(CancelReservation) ##local.define(List) ##local.define(Value) ##leg.OPAC.ReservationBrowse.Content.ConfirmCancel ##local.AdviceRowTemplate ##local.define(BrowseItem) ##if valueMap.ResHeading.Author ##local.define(Name)##leg.OPAC.ReservationBrowse.ResHeading.Author ##local.define(Value) ##valueMap.ResHeading.Author ##local.BrowseItemPartTemplate ##endif ##if valueMap.ResHeading.Title ##local.define(Name) ##leg.OPAC.ReservationBrowse.ResHeading.Title ##local.define(Value) ##valueMap.StripFilingCharsFrom(ResHeading.Title,PROCESS_HASH) ##local.BrowseItemPartTemplate ##endif ##if valueMap.ResHeading.ResNo ##local.define(Name) ##leg.OPAC.ReservationBrowse.ResHeading.ReservationNumber ##local.define(Value) ##valueMap.ResHeading.ResNo ##local.BrowseItemPartTemplate ##endif ##local.define(Value) ##leg.OPAC.ReservationBrowse.Alert ##local.AlertRowTemplate ##local.define(Value) ##leg.IE4OPAC.ReservationBrowse.Advice ##local.AdviceRowTemplate ##local.define(FormFields) ##local.FinishFormRowTemplate
##local.BrowseItemContainerTemplate
##include(Layout) ##else ##include(BrowseListLayout) ##helpcontext.addHelp(Browsing.Reservations) ##endif
##include(Body)