Bug 33217: Tidy
Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
4627f1a822
commit
650ea20950
32
C4/XSLT.pm
32
C4/XSLT.pm
|
|
@ -86,22 +86,24 @@ sub _get_best_default_xslt_filename {
|
|||
|
||||
sub get_xslt_sysprefs {
|
||||
my $sysxml = "<sysprefs>\n";
|
||||
foreach my $syspref ( qw/ hidelostitems OPACURLOpenInNewWindow
|
||||
DisplayOPACiconsXSLT URLLinkText viewISBD
|
||||
OPACBaseURL TraceCompleteSubfields UseICUStyleQuotes
|
||||
UseAuthoritiesForTracings TraceSubjectSubdivisions
|
||||
Display856uAsImage OPACDisplay856uAsImage
|
||||
UseControlNumber IntranetBiblioDefaultView BiblioDefaultView
|
||||
OPACItemLocation DisplayIconsXSLT
|
||||
AlternateHoldingsField AlternateHoldingsSeparator
|
||||
TrackClicks opacthemes IdRef OpacSuppression
|
||||
OPACResultsLibrary OPACShowOpenURL
|
||||
OpenURLResolverURL OpenURLImageLocation
|
||||
OPACResultsMaxItems OPACResultsMaxItemsUnavailable OPACResultsUnavailableGroupingBy
|
||||
OpenURLText OPACShowMusicalInscripts OPACPlayMusicalInscripts ContentWarningField
|
||||
AuthorLinkSortBy AuthorLinkSortOrder / )
|
||||
foreach my $syspref (
|
||||
qw/ hidelostitems OPACURLOpenInNewWindow
|
||||
DisplayOPACiconsXSLT URLLinkText viewISBD
|
||||
OPACBaseURL TraceCompleteSubfields UseICUStyleQuotes
|
||||
UseAuthoritiesForTracings TraceSubjectSubdivisions
|
||||
Display856uAsImage OPACDisplay856uAsImage
|
||||
UseControlNumber IntranetBiblioDefaultView BiblioDefaultView
|
||||
OPACItemLocation DisplayIconsXSLT
|
||||
AlternateHoldingsField AlternateHoldingsSeparator
|
||||
TrackClicks opacthemes IdRef OpacSuppression
|
||||
OPACResultsLibrary OPACShowOpenURL
|
||||
OpenURLResolverURL OpenURLImageLocation
|
||||
OPACResultsMaxItems OPACResultsMaxItemsUnavailable OPACResultsUnavailableGroupingBy
|
||||
OpenURLText OPACShowMusicalInscripts OPACPlayMusicalInscripts ContentWarningField
|
||||
AuthorLinkSortBy AuthorLinkSortOrder /
|
||||
)
|
||||
{
|
||||
my $sp = C4::Context->preference( $syspref );
|
||||
my $sp = C4::Context->preference($syspref);
|
||||
next unless defined($sp);
|
||||
$sysxml .= "<syspref name=\"$syspref\">$sp</syspref>\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue