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

(-)a/C4/XSLT.pm (+6 lines)
Lines 170-175 sub XSLTParse4Display { Link Here
170
                        "slim2OPACResults.xsl";
170
                        "slim2OPACResults.xsl";
171
        }
171
        }
172
    }
172
    }
173
174
    if ( $xslfilename =~ m/{langcode}/ ) {
175
        my $lang = C4::Templates::_current_language;
176
        $xslfilename =~ s/{langcode}/$lang/;
177
    }
178
173
    # grab the XML, run it through our stylesheet, push it out to the browser
179
    # grab the XML, run it through our stylesheet, push it out to the browser
174
    my $record = transformMARCXML4XSLT($biblionumber, $orig_record);
180
    my $record = transformMARCXML4XSLT($biblionumber, $orig_record);
175
    #return $record->as_formatted();
181
    #return $record->as_formatted();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-2 / +2 lines)
Lines 51-62 OPAC: Link Here
51
            - 'Display OPAC results using XSLT stylesheet at: '
51
            - 'Display OPAC results using XSLT stylesheet at: '
52
            - pref: OPACXSLTResultsDisplay
52
            - pref: OPACXSLTResultsDisplay
53
              class: file
53
              class: file
54
            - '<br />Options:<br />- leave empty for "no xslt"<br />- enter "default" for the default one<br />- put a path to define a xslt file<br />- put an URL for an external specific stylesheet.'
54
            - '<br />Options:<br />- leave empty for "no xslt"<br />- enter "default" for the default one<br />- put a path to define a xslt file<br />- put an URL for an external specific stylesheet.<br />{langcode} will be replaced with current interface language'
55
        -
55
        -
56
            - 'Display OPAC details using XSLT stylesheet at: '
56
            - 'Display OPAC details using XSLT stylesheet at: '
57
            - pref: OPACXSLTDetailsDisplay
57
            - pref: OPACXSLTDetailsDisplay
58
              class: file
58
              class: file
59
            - '<br />Options:<br />- leave empty for "no xslt"<br />- enter "default" for the default one<br />- put a path to define a xslt file<br />- put an URL for an external specific stylesheet.'
59
            - '<br />Options:<br />- leave empty for "no xslt"<br />- enter "default" for the default one<br />- put a path to define a xslt file<br />- put an URL for an external specific stylesheet.<br />{langcode} will be replaced with current interface language'
60
        -
60
        -
61
            - On pages displayed with XSLT stylesheets on the OPAC,
61
            - On pages displayed with XSLT stylesheets on the OPAC,
62
            - pref: DisplayOPACiconsXSLT
62
            - pref: DisplayOPACiconsXSLT
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref (-3 / +2 lines)
Lines 54-65 Staff Client: Link Here
54
            - 'Display results in the staff client using XSLT stylesheet at: '
54
            - 'Display results in the staff client using XSLT stylesheet at: '
55
            - pref: XSLTResultsDisplay
55
            - pref: XSLTResultsDisplay
56
              class: file
56
              class: file
57
            - '<br />Options:<br />- leave empty for "no xslt"<br />- enter "default" for the default one<br />- put a path to define a xslt file<br />- put an URL for an external specific stylesheet.'
57
            - '<br />Options:<br />- leave empty for "no xslt"<br />- enter "default" for the default one<br />- put a path to define a xslt file<br />- put an URL for an external specific stylesheet.<br />{langcode} will be replaced with current interface language'
58
        -
58
        -
59
            - 'Display details in the staff client using XSLT stylesheet at: '
59
            - 'Display details in the staff client using XSLT stylesheet at: '
60
            - pref: XSLTDetailsDisplay
60
            - pref: XSLTDetailsDisplay
61
              class: file
61
              class: file
62
            - '<br />Options:<br />- leave empty for "no xslt"<br />- enter "default" for the default one<br />- put a path to define a xslt file<br />- put an URL for an external specific stylesheet.'
62
            - '<br />Options:<br />- leave empty for "no xslt"<br />- enter "default" for the default one<br />- put a path to define a xslt file<br />- put an URL for an external specific stylesheet.<br />{langcode} will be replaced with current interface language'
63
        -
63
        -
64
            - Use the Yahoo UI libraries
64
            - Use the Yahoo UI libraries
65
            - pref: yuipath
65
            - pref: yuipath
66
- 

Return to bug 7821