Lines 199-210
sub get_xsl_filename {
Link Here
|
199 |
|
199 |
|
200 |
if ($xslsyspref eq "XSLTDetailsDisplay") { |
200 |
if ($xslsyspref eq "XSLTDetailsDisplay") { |
201 |
$htdocs = C4::Context->config('intrahtdocs'); |
201 |
$htdocs = C4::Context->config('intrahtdocs'); |
202 |
$theme = C4::Context->preference("template"); |
202 |
$theme = C4::Context->preference("intranet_theme"); |
203 |
$xslfile = C4::Context->preference('marcflavour') . |
203 |
$xslfile = C4::Context->preference('marcflavour') . |
204 |
"slim2intranetDetail.xsl"; |
204 |
"slim2intranetDetail.xsl"; |
205 |
} elsif ($xslsyspref eq "XSLTResultsDisplay") { |
205 |
} elsif ($xslsyspref eq "XSLTResultsDisplay") { |
206 |
$htdocs = C4::Context->config('intrahtdocs'); |
206 |
$htdocs = C4::Context->config('intrahtdocs'); |
207 |
$theme = C4::Context->preference("template"); |
207 |
$theme = C4::Context->preference("intranet_theme"); |
208 |
$xslfile = C4::Context->preference('marcflavour') . |
208 |
$xslfile = C4::Context->preference('marcflavour') . |
209 |
"slim2intranetResults.xsl"; |
209 |
"slim2intranetResults.xsl"; |
210 |
} elsif ($xslsyspref eq "OPACXSLTDetailsDisplay") { |
210 |
} elsif ($xslsyspref eq "OPACXSLTDetailsDisplay") { |
Lines 220-226
sub get_xsl_filename {
Link Here
|
220 |
} elsif ($xslsyspref eq 'XSLTListsDisplay') { |
220 |
} elsif ($xslsyspref eq 'XSLTListsDisplay') { |
221 |
# Lists default to *Results.xslt |
221 |
# Lists default to *Results.xslt |
222 |
$htdocs = C4::Context->config('intrahtdocs'); |
222 |
$htdocs = C4::Context->config('intrahtdocs'); |
223 |
$theme = C4::Context->preference("template"); |
223 |
$theme = C4::Context->preference("intranet_theme"); |
224 |
$xslfile = C4::Context->preference('marcflavour') . |
224 |
$xslfile = C4::Context->preference('marcflavour') . |
225 |
"slim2intranetResults.xsl"; |
225 |
"slim2intranetResults.xsl"; |
226 |
} elsif ($xslsyspref eq 'OPACXSLTListsDisplay') { |
226 |
} elsif ($xslsyspref eq 'OPACXSLTListsDisplay') { |