View | Details | Raw Unified | Return to bug 19569
Collapse All | Expand All

(-)a/opac/opac-showmarc.pl (-3 / +1 lines)
Lines 68-75 if ($view eq 'card' || $view eq 'html') { Link Here
68
    my $htdocs = C4::Context->config('opachtdocs');
68
    my $htdocs = C4::Context->config('opachtdocs');
69
    my ($theme, $lang) = C4::Templates::themelanguage($htdocs, $xsl, 'opac', $input);
69
    my ($theme, $lang) = C4::Templates::themelanguage($htdocs, $xsl, 'opac', $input);
70
    $xsl = "$htdocs/$theme/$lang/xslt/$xsl";
70
    $xsl = "$htdocs/$theme/$lang/xslt/$xsl";
71
    print $input->header(-charset => 'UTF-8'),
71
    output_html_with_http_headers $input, undef, Encode::encode_utf8(C4::XSLT::engine->transform($xml, $xsl));
72
          Encode::encode_utf8(C4::XSLT::engine->transform($xml, $xsl));
73
}
72
}
74
else { #view eq marc
73
else { #view eq marc
75
    my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
74
    my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
76
- 

Return to bug 19569