##local.define(GoBackScript) ##if request.Parent location.href='##request.Parent'; ##else location.href='APS_OPAC?##this.StyleSet'; ##endif ##local.define(BackgroundImage)OpacA/images/ExternalApps.bmp ##local.define(disableTimeOut)1 ##local.define(Title) ##leg.OPAC.Start.DatabaseChoice.ExternalApplications.Title ##local.define(PageTitle) ##leg.Expand(OPAC.Start.DatabaseChoice.ExternalApplications.Title) ##local.define(Content) ##local.define(List) ##sessioncfg.With(appmap,"OPAC.ExternalApplications.AvailableApplications") ##if request.path ##appmap.ForEachIn(app,##request.path) ##if app.__IsMap() ##local.define(BoxTitle)##app.__Label() ##local.define(BoxPicture)OpacA/images/ExternalApps.bmp ##local.define(BoxText) ##leg.OPAC.Start.DatabaseChoice.ExternalApplications.Goto ##app.__Label() ##local.define(BoxCommand) location.href='##this&path=##app.__Label()' ##local.SelectionBoxTemplate ##else ##local.define(BoxTitle)##app ##local.define(BoxPicture)OpacA/images/ExternalApps.bmp ##local.define(BoxText) ##app.__Label() ##local.define(BoxCommand) Launch.Exec('##app') ##local.SelectionBoxTemplate ##endif
##else ##appmap.ForEachIn(app,"") ##if app.__IsMap() ##local.define(BoxTitle)##app.__Label() ##local.define(BoxPicture)OpacA/images/ExternalApps.bmp ##local.define(BoxText) ##leg.OPAC.Start.DatabaseChoice.ExternalApplications.Goto ##app.__Label() ##local.define(BoxCommand) location.href='##this&path=##app.__Label()' ##local.SelectionBoxTemplate ##else ##local.define(BoxTitle)##app ##local.define(BoxPicture)OpacA/images/ExternalApps.bmp ##local.define(BoxText) ##app.__Label() ##local.define(BoxCommand) Launch.Exec('##app') ##local.SelectionBoxTemplate ##endif
##endif
##include(Layout)
##include(Body)