##if alldbcfg.Catalogue.Enabled
##if sessioncfg.OPAC.Catalogue.Enabled
##helpcontext.addHelp(DatabaseChoice.Catalogue)
##local.define(BoxTitle)##leg.OPAC.Start.DatabaseChoice.Catalogue.Title
##local.define(BoxPicture) OpacA/images/catalog.bmp
##local.define(BoxText)
##leg.OPAC.Start.DatabaseChoice.Catalogue.Boxtext
##if sessioncfg.OPAC.Catalogue.SearchServer.Enabled
##local.define(BoxCommand)location.href='APS_ADVANCED_SEARCH_A?##this.StyleSet&DB=SearchServer';
##else
##local.define(BoxCommand)location.href='APS_CAT?##this.StyleSet&DB=Catalogue';
##endif
##local.SelectionBoxTemplate
##endif
##endif
##if alldbcfg.Circ.Enabled
##if sessioncfg.OPAC.SelfService.Enabled
##helpcontext.addHelp(DatabaseChoice.Circ)
##local.define(BoxTitle)##leg.OPAC.Start.DatabaseChoice.Circ.Title
##local.define(BoxPicture) OpacA/images/sserve.bmp
##local.define(BoxText)
##leg.OPAC.Start.DatabaseChoice.Circ.Boxtext
##local.define(BoxCommand) location.href='APS_ACCOUNT?##this.StyleSet&Finished=##this.urlencoded';
##local.SelectionBoxTemplate
##endif
##endif
##if alldbcfg.InfoCentre.Enabled
##if sessioncfg.OPAC.InfoCentre.Enabled
##helpcontext.addHelp(DatabaseChoice.InfoCentre)
##local.define(BoxTitle)##leg.OPAC.Start.DatabaseChoice.Infocentre.Title
##local.define(BoxPicture) pictures/infocent.bmp
##local.define(BoxText)
##leg.OPAC.Start.DatabaseChoice.Infocentre.Boxtext
##local.define(BoxCommand) location.href='APS_INFOCENTRE?##this.StyleSet&DB=InfoCentre';
##local.SelectionBoxTemplate
##endif
##endif
##if sessioncfg.OPAC.CDROM.Enabled
##local.define(needLaunchControl)1
##helpcontext.addHelp(DatabaseChoice.CDROM)
##local.define(BoxTitle)##leg.OPAC.Start.DatabaseChoice.CDROM.Title
##local.define(BoxPicture) pictures/cdrom.bmp
##local.define(BoxText)
##leg.OPAC.Start.DatabaseChoice.CDROM.Boxtext
##local.define(BoxCommand)
Launch.Exec('ALSiCDROM.lnk')
##local.SelectionBoxTemplate
##endif
##if sessioncfg.OPAC.Internet.Enabled
##local.define(needLaunchControl)1
##helpcontext.addHelp(DatabaseChoice.Internet)
##local.define(BoxTitle)##leg.OPAC.Start.DatabaseChoice.Internet.Title
##local.define(BoxPicture) pictures/internet.bmp
##local.define(BoxText)
##leg.OPAC.Start.DatabaseChoice.Internet.Boxtext
##local.define(BoxCommand)
Launch.Exec('ALSiInternet.lnk')
##local.SelectionBoxTemplate
##endif
##if sessioncfg.OPAC.SingleIndexSearch.Enabled
##helpcontext.addHelp(DatabaseChoice.SingleIndexSearch)
##local.define(BoxTitle)##leg.OPAC.Start.DatabaseChoice.SingleIndexSearch.Title
##local.define(BoxPicture) OpacA/images/catalog.bmp
##local.define(BoxText)
##leg.OPAC.Start.DatabaseChoice.SingleIndexSearch.Boxtext
##local.define(BoxCommand)location.href='APS_SINGLE_INDEX_SEARCH?##this.StyleSet&DB=##sessioncfg.OPAC.SingleIndexSearch.DB';
##local.SelectionBoxTemplate
##endif
##if sessioncfg.OPAC.ExternalApplications.Enabled
##local.define(BoxTitle)##leg.OPAC.Start.DatabaseChoice.ExternalApplications.Title
##local.define(BoxPicture)OpacA/images/ExternalApps.bmp
##local.define(BoxText)
##leg.OPAC.Start.DatabaseChoice.ExternalApplications.Boxtext
##local.define(BoxCommand)
location.href='APS_EXTERNAL_APPS?##this.StyleSet'
##local.SelectionBoxTemplate
##endif
|