##local.define(HTTPS_URLPrefix) ##local.define(HTTP_URLPrefix) ##local.defineByRender(HTTP_URLPrefix)##sessioncfg.Data(ZONES.NonHTTPSHostRoot) ##if sessioncfg.IsEqual(ZONES.SelfService.RequireSSL,1) ##local.defineByRender(HTTPS_URLPrefix)##sessioncfg.Data(ZONES.SecureHostRoot) ##endif ##local.define(SelectIcon) ##local.define(cfgPathLhs)DB.Config.##searchcontext.DB ##if Value.IsMap(CopyInfo.results) ##local.define(HaveHoldings)1 ##else ##local.define(HaveHoldings)0 ##endif ##local.define(Header) ##include(Header) ##local.define(PreList) ##if error.Level ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,1042) ##if request.IsEqual(Method,"StockStatus2") ##local.define(NoStockError)1 ##local.define(HandledError)1 ##endif ##endif ##endif ##endif ##local.define(Title) ##leg.KidsZone.CATRecord.Title ##local.Define(NewRoot) ##if sessioncfg.IsEqual(ZONES.NonHTTPSHostRoot,"") ##else ##local.defineByRender(NewRoot)##sessioncfg.ZONES.NonHTTPSHostRoot ##endif ##local.define( NonScrollingPart) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=StockStatus2&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.KidsZone.CATRecord.Button.StockItemSummary ##local.Define(RoundBoxContent)
  ##local.defineByRender(MATIcon)##sessioncfg.MapValueThroughImageTable(##Value.MaterialType,"DB.Config.BookServer.GraphicalMAT") ##local.defineByRender(MATText)##sessioncfg.MapLegendThroughTable(##Value.MaterialType,"DB.Config.BookServer.MaterialMap") ##local.defineByRender(LANIcon)##sessioncfg.MapValueThroughImageTable(##Value.Language,"DB.Config.BookServer.GraphicalLAN") ##local.defineByRender(LANText)##sessioncfg.MapLegendThroughTable(##Value.Language,"DB.Config.BookServer.LanguageMap") ##if local.IsEqual(MATIcon,"") ##else   ##endif ##if local.IsEqual(MATText, "") ##else ##local.MATText ##endif ##if Value.Language ##if local.IsEqual(LANIcon,"") ##else   ##endif ##if local.IsEqual(LANText, "") ##else ##local.LANText ##endif ##endif ##if local.IsEqual(NoStock,1) ##else ##leg.KidsZone.CATRecord.Button.StockNoBR    ##endif /* so check if kidszone reservations are allowed */ ##if sessioncfg.ZONES.KidsZone.AllowMakeReservation ##leg.KidsZone.CATRecord.Button.Reservation ##endif
##local.RoundBoxContent
##if Value.IsEqual(Analytic,"1") ##local.define(hbits)1 ##endif ##if Value.IsEqual(Analytic,"2") ##local.define(hbits)1 ##endif ##if local.hbits ##local.define(RoundBoxContent) ##if Value.IsEqual(Analytic, "2") ##leg.KidsZone.CATRecord.Hierachy.PartOf ##if Value.HASPARTITLE ##Value.StripFilingCharsFrom(PARTITLE) ##endif ##if Value.PARAUTHOR ##leg.KidsZone.CATRecord.Hierachy.ByAuthor ##Value.StripFilingCharsFrom(PARAUTHOR) ##endif
##endif ##if Value.IsEqual(Analytic, "1") ##leg.KidsZone.CATRecord.Hierachy.TitleContains ##leg.KidsZone.CATRecord.Hierachy.RelatedVolumes ##endif
##local.RoundBox ##endif
##if sessioncfg.KidsZone.BrowseOptions.EmbededURLExplore ##local.define(ExploreEmbededURL)1 ##endif ##local.define(ScrollingPart) ##local.define(schemaNameRHS)CatalogueRecordSchema ##local.defineByRender(mainSchemaName)##Value.Format##local.schemaNameRHS ##local.define(schemaNameRHS)KidsAnnotatedCatalogueRecordSchema ##local.defineByRender(annotatedSchemaName)##Value.Format##local.schemaNameRHS ##local.defineByRender(ISBDSchemaList)CatalogueRecordISBDBindings,CatalogueRecordShortEntryBindings,##local.mainSchemaName ##local.defineByRender(annotatedSchemaList)##local.annotatedSchemaName,CatalogueRecordISBDBindings,CatalogueRecordShortEntryBindings,##local.mainSchemaName ##ExceptionContext.defineByRender(DB)##searchcontext.DB ##ExceptionContext.defineByRender(Portfolio)1 ##ExceptionContext.defineByRender(MaterialGroup)##sessioncfg.MapTextThroughTable(##Value.MaterialType,MaterialGroupMap) ##include(recordRenderer) ##local.define(openExploreTemplate) ##if Schema.IsEqual(explore.type,multiMedia) ##else ##endif ##local.define(exploreIcon) ##local.define(fieldItemTemplate) ##Value.BindWithSchema(##local.ISBDSchemaList,##local.path,ExceptionContext) ##if type.isEqual(node) ##local.renderer ##else ##if type.isEqual(enumeration) ##component(testField,DISABLED) ##else ##value ##endif ##endif   ##local.define(headerItemTemplate) ##local.annotation ##local.fieldItemTemplate ##local.define(blank)   ##ExceptionContext.define(View)Annotated ##local.define(annotatedRowTemplate) ##Schema.toMarkup(name) ##local.renderer ##local.define(RoundBoxContent)
##Value.BindWithSchema(##local.annotatedSchemaList,"Tags",ExceptionContext) ##local.renderer ##local.defineByRender(bk1)##Value.ISBN ##local.defineByRender(bk2) ##if Value.UPC ##local.defineByRender(bk_upc)##Value.UPC ##else ##local.defineByRender(bk_upc) ##endif ##local.SetLargeBookCover ##local.BookCover
##local.RoundBox ##if local.IsEqual(HaveHoldings,"1") ##local.define(RoundBoxContent) ##local.CopyDetails ##local.RoundBox ##endif ##if local.NoStockError ##local.define(Value) ##leg.KidsZone.StockStatus.NoStock ##local.ErrorRowTemplate
##endif ##if sessioncfg.LocalBookInfoAvailable
##if sessioncfg.IsEqual(LocalBookCoverPath,"") ##else ##if formatter.localbookcoverurlexists(##sessioncfg.LocalBookCoverPath,##Value.BACCNO,".*") ##else ##if formatter.localbookcoverurlexists(##sessioncfg.LocalBookCoverPath,##Value.BACISB,".*") ##endif ##endif ##endif ##if sessioncfg.IsEqual(LocalBookNotesPath,"") ##else ##if formatter.localbookcoverurlexists(##sessioncfg.LocalBookNotesPath,##Value.BACCNO,".txt") ##formatter.insertlocalbookurl(##sessioncfg.LocalBookNotesPath,##Value.BACCNO,".txt") ##else ##if formatter.localbookcoverurlexists(##sessioncfg.LocalBookNotesPath,##Value.BACISB,".txt") ##formatter.insertlocalbookurl(##sessioncfg.LocalBookNotesPath,##Value.BACISB,".txt") ##endif ##endif ##endif
##else ##if sessioncfg.IsEqual(KidsZone.MomInterface,"1") ##local.defineByRender(DetailsUrl)##formatter.momurl(##sessioncfg.ZONES.MomURLStem,##Value.BACCNO,##Value.BACISB,##Value.Author,##Value.Title) ##if local.IsEqual(DetailsUrl,"") ##else
##endif ##endif ##endif
##local.define(BodyContent)
##local.define(Title)##leg.KidsZone.CATRecord.Title ##local.ExploreHeader ##local.NonScrollingPart
  ##local.ScrollingListUpButton
##local.ScrollingPart
##local.ScrollingListDownButton
##local.ExploreFooter
##local.CommonComponents
##local.Define(CopyDetailsHeader)
##leg.ZONESOPAC.CATRecord.Button.Stock :
##local.Define(CopyDetails) /*##local.NantesCollectionStatement*/ ##if Value.IsMap(CopyInfo.results) ##local.define(HaveCopiesMarker)0 ##if formatter.PlaceHolderExists(Options) ##local.define(DoneCopies)0 ##if Options.IsEqual(Copies,None) ##local.define(DoneCopies)1 ##endif ##if Options.IsEqual(Copies,Regroup) ##local.CopyDetailsHeader ##local.GroupedCopyDetails ##local.define(DoneCopies)1 ##endif ##if Options.IsEqual(Copies,Details) ##local.CopyDetailsHeader ##local.FlatCopyDetails ##local.define(DoneCopies)1 ##endif ##if local.IsEqual(DoneCopies,0) ##local.CopyDetailsHeader ##if sessioncfg.DB.Config.BookServer.GroupMonographicCopyInfo ##local.GroupedCopyDetails ##else ##local.FlatCopyDetails ##endif ##endif ##else ##local.CopyDetailsHeader ##if sessioncfg.DB.Config.BookServer.GroupMonographicCopyInfo ##local.GroupedCopyDetails ##else ##local.FlatCopyDetails ##endif ##endif ##endif ##local.Define(FlatCopyDetails) ##Value.ForeachIn(item,CopyInfo.results) ##if local.SkinInlineCopyDetail ##local.SkinInlineCopyDetail
##else ##local.InlineCopyDetail
##endif ##if local.IsEqual(HaveCopiesMarker,0) ##local.Define(HaveCopiesMarker)1 ##endif
##if local.IsEqual(HaveCopiesMarker,0) ##local.Define(HaveCopiesMarker)1 ##endif
##local.Define(GroupedCopyDetails)
    ##sessioncfg.With(SortKeys,DB.Config.BookServer.CopyGroupSortKeys) ##local.define(PrePunct) ##formatter.GroupCopyInfo( item, ##sessioncfg.DB.Config.BookServer.CopyGroupOrder,SortKeys, Value, "CopyInfo.results") ##local.defineByRender(iType)##item.__Label() ##if local.IsEqual(iType,header)
##item.ForEachIn(col,"") ##if sessioncfg.DB.Config.BookServer.ShowGroupSortKeys [ ##col.sortKey ] ##endif ##if col.IsEqual(data,"") ##else ##if local.IsEqual(PrePunct,"") ##else ##local.PrePunct ##endif ##col.data ##local.defineByRender(PrePunct)##col.punct ##endif ##local.define(CCounter)1
    ##else
  1. ##if local.SkinInlineCopyDetail ##local.SkinInlineCopyDetail
    ##else ##local.InlineCopyDetail
    ##endif ##if local.IsEqual(HaveCopiesMarker,0) ##local.Define(HaveCopiesMarker)1 ##endif ##endif
##local.Define(NantesCollectionStatement) ##if sessioncfg.IsEqual(ALSSITE.MAIN.Site,NANTES) ##local.define(Found953)0 ##Value.ForEachIn(tag,"Tags.Block") ##local.DefineByRender(TagNo)##tag.__Label() ##if local.IsEqual(TagNo,953) ##if tag.IsEqual("$z","5") ##local.define(Found953)1 ##endif ##endif ##if local.IsEqual(Found953,"1") ##local.define(Show955)0 ##if Value.IsEqual("Tags.Block.955.$a","Patrimoine") ##local.define(Show955)1 ##endif ##if Value.IsEqual("Tags.Block.955.$a","Médiathèque J.Demy") ##local.define(Show955)1 ##endif ##local.Define(Shown955Header)0 ##if local.IsEqual(Show955,1) ##Value.ForEachIn(tag,"Tags.Block") ##local.DefineByRender(TagNo)##tag.__Label() ##if local.IsEqual(TagNo,955) ##if local.IsEqual(Shown955Header,0) État de collection

##local.Define(Shown955Header)1 ##endif ##tag.Data("$a"), ##tag.Data("$b"), ##tag.Data("$c")
##endif

##endif ##endif ##endif
##local.define(InlineCopyDetail) ##local.define(NoDash)0 ##if sessioncfg.DB.Config.Circ.SingleLocationSystem ##local.define(NoDash)1 ##else ##if item.IsMap(branch.description) ##item.QualData(branch.description) ##else ##local.define(NoDash)1 ##endif ##endif ##if item.IsMap(subloc.description) ##if local.IsEqual(NoDash,1) ##else - ##endif ##item.QualData(subloc.description) ##endif ##if item.IsMap(categ.description) - ##item.QualData(categ.description) ##endif ##if sessioncfg.DB.Config.Circ.ShowCopyCollection ##if item.IsMap(collection.description) - ##item.QualData(collection.description) ##endif ##endif ##if item.IsMap(fonds.description) - ##item.QualData(fonds.description) ##endif ##if item.call_num ##leg.ZONESOPAC.StockStatus.CallNumber ##if sessioncfg.DB.Config.BookServer.BOOKSERVER.ExploreOnMonographicCallNumber ##if local.IsForPrint ##item.call_num ##if sessioncfg.DB.Config.BookServer.CombineCallNumberAndVolumeFieldInCopyDisplay ##if item.vol_no - ##item.vol_no ##endif ##endif ##else ##item.call_num ##if sessioncfg.DB.Config.BookServer.CombineCallNumberAndVolumeFieldInCopyDisplay ##if item.vol_no - ##item.vol_no ##endif ##endif ##endif ##else ##item.call_num ##endif ##endif ##if sessioncfg.DB.Config.BookServer.CombineCallNumberAndVolumeFieldInCopyDisplay ##else ##if item.vol_no - ##item.vol_no ##endif ##endif ##if item.due_date - ##leg.ZONESOPAC.StockStatus.OnLoanDueDate ##formatter.YYYYDDMM(##item.due_date,##local.DateFormat) ##endif ##local.InlineCopyStatus ##if item.IsMap(notes) ##item.foreachIn(note, "notes" ) ##if note.IsEqual(display_opac,true)
   ##note.note ##endif
##endif
##local.define(InlineCopyStatus) ##if item.IsDefined(flag_reserved) ##if item.IsEqual(flag_reserved,1) - ( ##leg.ZONESOPAC.Browseenum.Renew.IsReserved) ##else ##if item.IsMap(stat.description) - ##item.QualData(stat.description) ##endif ##endif ##else ##if item.due_date ##else ##if item.avail_date - ##leg.ZONESOPAC.StockStatus.AvailableDate ##formatter.YYYYDDMM(##item.avail_date,##local.DateFormat) ##else ##if item.IsMap(stat.description) - ##item.QualData(stat.description) ##endif ##endif ##endif ##endif ##include(Body)