Lines 66-74
if ($view eq 'card' || $view eq 'html') {
Link Here
|
66 |
$xslfile = 'plainMARC.xsl'; |
66 |
$xslfile = 'plainMARC.xsl'; |
67 |
} |
67 |
} |
68 |
$xslfilename = "$htdocs/$theme/$lang/xslt/$xslfile"; |
68 |
$xslfilename = "$htdocs/$theme/$lang/xslt/$xslfile"; |
69 |
$xslfilename = "$htdocs/$theme/en/xslt/$xslfile" unless ( $lang ne 'en' && -f $xslfilename ); |
69 |
$xslfilename = "$htdocs/$theme/en/xslt/$xslfile" unless -f $xslfilename; |
70 |
$xslfilename = "$htdocs/prog/$lang/xslt/$xslfile" unless ( -f $xslfile ); |
70 |
$xslfilename = "$htdocs/bootstrap/$lang/xslt/$xslfile" unless -f $xslfilename; |
71 |
$xslfilename = "$htdocs/prog/en/xslt/$xslfile" unless ( $lang ne 'en' && -f $xslfilename ); |
71 |
$xslfilename = "$htdocs/bootstrap/en/xslt/$xslfile" unless -f $xslfilename; |
72 |
|
72 |
|
73 |
my $newxmlrecord = C4::XSLT::engine->transform($xmlrecord, $xslfilename); |
73 |
my $newxmlrecord = C4::XSLT::engine->transform($xmlrecord, $xslfilename); |
74 |
print $input->header(-charset => 'UTF-8'), Encode::encode_utf8($newxmlrecord); |
74 |
print $input->header(-charset => 'UTF-8'), Encode::encode_utf8($newxmlrecord); |
75 |
- |
|
|