diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 648bab28ab..ac67fe570d 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -173,7 +173,7 @@ sub get_xslt_sysprefs { TrackClicks opacthemes IdRef OpacSuppression OPACResultsLibrary OPACShowOpenURL OpenURLResolverURL OpenURLImageLocation - OpenURLText / ) + OpenURLText OPACShowMusicalInscripts OPACPlayMusicalInscripts / ) { my $sp = C4::Context->preference( $syspref ); next unless defined($sp); diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index b286e155e9..6b2e6336af 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -33,6 +33,9 @@ [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Details for: [% INCLUDE 'biblio-title-head.inc' %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("lib/emoji-picker/css/emoji.css") | $raw %] + [% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %] + [% Asset.css("lib/verovio/midiplayer.css") | $raw %] + [% END %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %] @@ -1414,6 +1417,14 @@ [% Asset.js("lib/kjua/kjua.min.js") | $raw %] [% END %] +[% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %] + + [% Asset.js("js/verovio.js") | $raw %] +[% END %] +