Lines 172-178
sub XSLTParse4Display {
Link Here
|
172 |
$theme = C4::Context->preference("template"); |
172 |
$theme = C4::Context->preference("template"); |
173 |
$xslfile = C4::Context->preference('marcflavour') . |
173 |
$xslfile = C4::Context->preference('marcflavour') . |
174 |
"slim2intranetDetail.xsl"; |
174 |
"slim2intranetDetail.xsl"; |
175 |
$shouldIPullInComponentPartRecords = 1; |
|
|
176 |
} elsif ($xslsyspref eq "XSLTResultsDisplay") { |
175 |
} elsif ($xslsyspref eq "XSLTResultsDisplay") { |
177 |
$htdocs = C4::Context->config('intrahtdocs'); |
176 |
$htdocs = C4::Context->config('intrahtdocs'); |
178 |
$theme = C4::Context->preference("template"); |
177 |
$theme = C4::Context->preference("template"); |
Lines 183-189
sub XSLTParse4Display {
Link Here
|
183 |
$theme = C4::Context->preference("opacthemes"); |
182 |
$theme = C4::Context->preference("opacthemes"); |
184 |
$xslfile = C4::Context->preference('marcflavour') . |
183 |
$xslfile = C4::Context->preference('marcflavour') . |
185 |
"slim2OPACDetail.xsl"; |
184 |
"slim2OPACDetail.xsl"; |
186 |
$shouldIPullInComponentPartRecords = 1; |
|
|
187 |
} elsif ($xslsyspref eq "OPACXSLTResultsDisplay") { |
185 |
} elsif ($xslsyspref eq "OPACXSLTResultsDisplay") { |
188 |
$htdocs = C4::Context->config('opachtdocs'); |
186 |
$htdocs = C4::Context->config('opachtdocs'); |
189 |
$theme = C4::Context->preference("opacthemes"); |
187 |
$theme = C4::Context->preference("opacthemes"); |
Lines 198-203
sub XSLTParse4Display {
Link Here
|
198 |
$xslfilename =~ s/\{langcode\}/$lang/; |
196 |
$xslfilename =~ s/\{langcode\}/$lang/; |
199 |
} |
197 |
} |
200 |
|
198 |
|
|
|
199 |
##Enable component part injection for Details XSLTs. |
200 |
if ( $xslsyspref =~ m/Details/ ) { |
201 |
$shouldIPullInComponentPartRecords = 1; |
202 |
} |
203 |
|
201 |
|
204 |
|
202 |
# grab the XML, run it through our stylesheet, push it out to the browser |
205 |
# grab the XML, run it through our stylesheet, push it out to the browser |
203 |
my $record = transformMARCXML4XSLT($biblionumber, $orig_record); |
206 |
my $record = transformMARCXML4XSLT($biblionumber, $orig_record); |
204 |
- |
|
|