/* ##local.defineByRender(Noted)##session.ZonesGetInfo("IsNoted", ##Value.Sequence) */ ##local.defineByRender(Noted)0 ##if request.View ##local.definebyrender(View)##request.View ##else ##local.definebyrender(View)##sessioncfg.ZONES.Catalogue.Views.Default ##endif ##this.SubView(##request.SubStyle) ##local.define(PreviewListContent) ##local.define(FrameContent) ##if sessioncfg.ZONES.Print.Enabled ##leg.ZONESOPAC.Defaults.Button.PrintPreview ##else ##leg.ZONESOPAC.Defaults.Button.ReportPreview ##endif ##leg.ZONESOPAC.Defaults.Button.Print ##leg.GLOBAL.Buttonprompts.Cancel ##include(FrameBody) ##local.define(PrintOutContent) ##local.define(FrameContent) ##local.define(NoRecordExplore)1 ##local.define(IsForPrint)1 ##local.defineByRender(PrintURI)##sessioncfg.ZONES.EAD.RecordPrintUrl?id=##Value.Data.Record.root.identifier.__Data ##formatter.scrape( ##local.PrintURI , "", "", "error printing record") ##include(FrameBody) ##if request.IsEqual(SubStyle,"PrintPreview") ##local.PreviewListContent ##else ##if searchcontext.IsForRecordPrintOut ##local.PrintOutContent ##else ##if request.IsEqual(SubStyle,"PrintOut") ##local.PrintOutContent ##else ##local.define(Advice)##leg.ZONESOPAC.CATRecord.Prompt ##local.define(AdviceRowTabs) ##local.ModifySearchTabs ##if searchcontext.SearchBrowseList ##local.defineByRender(t)##searchcontext.SearchBrowseListItem ##if local.IsEqual(t,"") /* slightly unpleasant hack - if we have no search item, we ma assume this is a notepad list, and change the prompt accordingly */ ##local.define(CommandButtonHREF)##searchcontext.SearchBrowseList?##this.styleset&Method=CloneList&Item=##searchcontext.SearchBrowseListItem ##local.Define(CommandButtonText)##leg.ZONESOPAC.ZoneSearch.SearchListLink ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.ZoneSearch.SearchListLinkTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.ZoneSearch.SearchListLinkALT ##local.define(CommandButtonGraphic)/portal2/img/modify.gif ##else ##local.define(CommandButtonHREF)##searchcontext.SearchBrowseList?##this.styleset&Method=CloneList&Item=##searchcontext.SearchBrowseListItem ##local.Define(CommandButtonText)##leg.ZONESOPAC.ZoneSearch.SearchResultsLink ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.ZoneSearch.SearchResultsLinkTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.ZoneSearch.SearchResultsLinkALT ##local.define(CommandButtonGraphic)/portal2/img/modify.gif ##endif ##local.TabFMT ##endif /* we only want next/prev enabled if we have come from a search result */ ##local.Define(NextPrevEnabled)0 ##if searchcontext.IsDefined(SearchBrowseListItem) ##if searchcontext.IsDefined(BrowseListItem) ##local.defineByRender(a)##searchcontext.SearchBrowseListItem ##local.defineByRender(b)##searchcontext.BrowseListItem ##if local.IsEqual( a, ##local.b) ##local.Define(NextPrevEnabled)1 ##endif ##endif ##endif ##if local.IsEqual(NextPrevEnabled,1) ##local.NextPrevCatRecordLinks ##endif ##helpcontext.addHelp(TitleDetails) ##helpcontext.addHelp(Toolbar) ##local.define(ContentPanelTabs) ##if Value.IsConceptual ##else ##if local.HideStockButton ##else /* ##if sessioncfg.DB.Config.BookServer.BOOKSERVER.ShowCopiesTabButton ##if sessioncfg.DB.Config.BookServer.ShowMonographicHoldingsInline ##if Value.IsMap(CopyInfo.results) ##local.define(CommandButtonHREF)javascript:ScrollToCopies() ##else ##local.define(CommandButtonHREF)# ##local.define(CommandDisabled)1 ##endif ##else ##local.define(CommandButtonHREF)##this&Method=StockStatus2 ##endif ##local.Define(CommandButtonText)##leg.ZONESOPAC.CATRecord.Button.Stock ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.CATRecord.Button.StockTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.CATRecord.Button.StockALT ##local.define(CommandButtonGraphic) ##local.define(CommandId)ShowCopiesTabButton ##local.TabFMT ##endif ##endif */ ##if local.HideReservationButton ##else /* EAD records do not support reservations. ##if local.IsEqual(ReservationsAllowed,1) ##local.define(CommandButtonHREF)##local.Data(HTTPS_URLPrefix)##this&Method=MakeReservation&Parent=##local.Data(HTTPGoBack_URLPrefix)##this.obj ##local.Define(CommandButtonText)##leg.ZONESOPAC.CATRecord.Button.Reservation ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.CATRecord.Button.ReservationTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.CATRecord.Button.ReservationALT ##local.TabFMT ##endif */ ##endif /* Consulatation Sur place is not supported for now. ##if sessioncfg.DB.Config.Circ.ClosedStackRequests ##local.define(CommandButtonHREF)##local.Data(HTTPS_URLPrefix)APS_PCLOSED_STACK?##this.styleset&SequenceNo=SequenceNo=##Value.Sequence&Parent=##this.obj ##local.Define(CommandButtonText)##leg.ZONESOPAC.CATRecord.Button.ClosedStackRequest ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.CATRecord.Button.ClosedStackRequestTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.CATRecord.Button.ClosedStackRequestALT ##local.TabFMT ##endif */ ##if sessioncfg.ZONES.InterLibraryLoans.Enabled ##local.define(CommandButtonHREF)##local.Data(HTTPS_URLPrefix)APS_ILL?##this.StyleSet&Parent=##this.urlencoded&BrowseAsHloc=##local.thisLoc##if local.CatalogueObject &CatalogueObject=##local.CatalogueObject##endif ##local.Define(CommandButtonText)##leg.ZONESOPAC.InterLibraryLoans.Button ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.InterLibraryLoans.ButtonTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.InterLibraryLoans.ButtonALT ##local.TabFMT ##endif ##endif ##if sessioncfg.ZONES.AllowChangeBibView ##if local.isEqual(View,"ISBD") ##local.define(CommandButtonHREF)##this&View=Annotated ##local.Define(CommandButtonText)##leg.ZONESOPAC.CATRecord.Button.AnnotatedView.Text ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.CATRecord.Button.AnnotatedView.TextTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.CATRecord.Button.AnnotatedView.TextALT ##else ##local.define(CommandButtonHREF)##this&View=ISBD ##local.Define(CommandButtonText)##leg.ZONESOPAC.CATRecord.Button.ISBDView.Text ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.CATRecord.Button.ISBDView.TextTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.CATRecord.Button.ISBDView.TextALT ##endif ##local.TabFMT ##endif /*##if sessioncfg.ZONES.UserReviews.ViewUserReviews ##local.define(CommandButtonHREF)APS_ZONES?fn=ShowUserReviews&q=##Value.Sequence&isbn=##Value.ISBN&parent=##this.obj#this.styleset ##local.Define(CommandButtonText)##leg.ZONESOPAC.UserReviews.UserReviews ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.UserReviews.UserReviewsTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.UserReviews.UserReviewsALT ##local.TabFMT ##endif*/ ##if sessioncfg.ZONES.Print.DetailedRecord /* include printing*/ ##local.PrintOrEmailListButton ##else /* No printing*/ ##endif ##local.TabBrowseUpButton ##local.define(Title)##leg.ZONESOPAC.CATRecord.Title ##local.define(Content) ##if request.IsEqual(View,"ISBD") ##Value.ForeachIn(item,"Data.Record.root") ##local.defineByRender(Label)##item.__Label() ##local.define(Ignore)0 ##if local.IsEqual(Label,"BrowseTitle") ##local.define(Ignore)1 ##endif ##if local.IsEqual(Label,"BrowseAuthor") ##local.define(Ignore)1 ##endif ##if local.IsEqual(Label,"BrowseTitle") ##local.define(Ignore)1 ##endif ##if local.IsEqual(Label,"BrowseSubject") ##local.define(Ignore)1 ##endif ##if local.IsEqual(Label,"BrowseCallNumber") ##local.define(Ignore)1 ##endif ##if local.IsEqual(Label,"idzebra") ##local.define(Ignore)1 ##endif ##if local.IsEqual(Ignore,"1") ##else ##local.Label ##item.__Data ##endif ##else ##endif ##include(Body) ##endif ##endif