##local.Define(ShowAreaButton)0 ##helpcontext.addHelp(StockBranchList) ##helpcontext.addHelp(Toolbar) ##if sessioncfg.ZONES.StockSearchWholeSystemButton ##if sessioncfg.DB.Config.Circ.SingleLocationSystem ##else /* Remove the evil hack. ##local.defineByRender(TOOLBAR_URL_BACK)##this&Method=StockInSystem */ ##endif ##endif ##local.define(Title) ##if sessioncfg.DB.Config.Circ.SingleLocationSystem ##leg.Expand(ZONESOPAC.StockStatus.StockList.SingleLocationTitle, HLOCName, ##listdata.QualData(First.Data.branch.description) ) ##else ##if startpoint.IsEqual("Query.BranchCode","*") ##leg.ZONESOPAC.StockBrowseAllBranches.Title ##else ##leg.Expand(ZONESOPAC.StockStatus.StockList.Title, HLOCName, ##listdata.QualData(First.Data.branch.description) ) ##endif ##endif ##local.define(PageTitle) ##local.Title ##local.define(Advice) ##if sessioncfg.DB.Config.Circ.SingleLocationSystem ##leg.ZONESOPAC.StockStatus.StockList.SingleLocationPrompt ##else ##if startpoint.IsEqual("Query.BranchCode","*") ##leg.ZONESOPAC.StockBrowseAllBranches.Prompt ##else ##leg.ZONESOPAC.StockBrowse.Prompt ##endif ##endif
##local.ModifySearchLink ##if searchcontext.SearchBrowseListItem ##if searchitem.IsDefined(PosInSet) ##if searchcontext.IsDefined(SearchBrowseList) ##leg.ZONESOPAC.ZoneSearch.SearchResultsLink##endif ##if searchitem.IsTop ##else ##leg.ZONESOPAC.CATRecord.Button.PreviousResult ##endif ( ##searchitem.PosInSet / ##searchitem.Hits ) ##if searchitem.IsBottom ##else ##leg.ZONESOPAC.CATRecord.Button.NextResult ##endif ##endif ##endif
##local.define(FunctionButtons) ##if local.IsEqual(BrowseHlocSet,1) ##else ##local.Define(ShowAreaButton)0 ##endif ##if local.IsEqual(thisLoc, "-1") ##local.Define(ShowAreaButton)0 ##endif ##local.define(FunctionButton)1 ##if local.IsEqual(ReservationsAllowed,1) ##helpcontext.addHelp(ReservationsEnabled) ##endif ##if sessioncfg.ZONES.NotePad ##local.define(CommandButtonHREF)##this&Method=NoteMe ##local.define(CommandButtonText)##leg.ZONESOPAC.CATRecord.Button.NoteEntry ##endif ##if sessioncfg.ZONES.StockSearchWholeSystemButton ##if sessioncfg.DB.Config.Circ.SingleLocationSystem ##else ##endif ##endif ##local.define(PreList) ##local.define(RoundBoxContent)
##local.defineByRender(MATIcon)##sessioncfg.MapValueThroughImageTable(##startpoint.Query.BibData.Data.MaterialType,GraphicalMAT) ##local.defineByRender(MATText)##sessioncfg.MapLegendThroughTable(##startpoint.Query.BibData.Data.MaterialType,"DB.Config.BOOKSERVER.MaterialMap") ##if startpoint.Query.BibData.Data.Title ##endif ##if startpoint.Query.BibData.Data.Author ##endif /*##if startpoint.Query.BibData.Data.Year ##endif ##if startpoint.Query.BibData.Data.Publisher ##endif ##if startpoint.Query.BibData.Data.Volumes ##endif ##if startpoint.Query.BibData.Data.Series ##endif */
/* so we want the parent to our parent. */ ##if searchcontext.IsDefined(SearchBrowseList) ##local.define(Href)APS_PRESENT_BIB?no=##startpoint.Query.BibData.SequenceNo&##this.StyleSet&Parent=##searchcontext.SearchBrowseList&BrowseAsHloc=##local.thisLoc&SearchBrowseList=##searchcontext.SearchBrowseList&SearchBrowseListItem=##searchcontext.SearchBrowseListItem&BrowseList=##searchcontext.BrowseList&BrowseListItem=##searchcontext.BrowseListItem ##else ##if searchcontext.IsDefined(BrowseList) ##local.define(Href)APS_PRESENT_BIB?no=##startpoint.Query.BibData.SequenceNo&##this.StyleSet&Parent=##searchcontext.Parent&BrowseList=##searchcontext.BrowseList&BrowseListItem=##searchcontext.BrowseListItem ##else ##local.define(Href)APS_PRESENT_BIB?no=##startpoint.Query.BibData.SequenceNo&##this.StyleSet&Parent=##searchcontext.Parent ##endif ##endif ##leg.ZONESOPAC.Defaults.SummaryEntry.Title : ##if local.IsEqual(MATIcon,"")   ##else ##local.MATText ##endif ##startpoint.Query.BibData.Data.Title
##leg.ZONESOPAC.Defaults.SummaryEntry.Author : ##startpoint.Query.BibData.Data.Author
##leg.ZONESOPAC.Defaults.SummaryEntry.Year : ##startpoint.Query.BibData.Data.Year
##leg.ZONESOPAC.Defaults.SummaryEntry.Publisher : ##startpoint.Query.BibData.Data.Publisher
##leg.ZONESOPAC.Defaults.SummaryEntry.Volumes : ##startpoint.Query.BibData.Data.Volumes
##leg.ZONESOPAC.Defaults.SummaryEntry.Series : ##startpoint.Query.BibData.Data.Series
##local.RoundBox ##leg.ZONESOPAC.StockBrowse.Title
##local.define(Content) ##local.define(AlreadyNoted)0 ##if error.Level ##if error.IsEqual(Number,9998) ##local.define(HandledError)1 ##local.define(AlreadyNoted)1 ##endif ##endif ##if local.IsEqual(AlreadyNoted,1) ##endif ##local.define(ContentPaneTitle) ##include(BrowseListLayout) ##local.List ##include(Body)