Lines 725-731
Link Here
|
725 |
<a> |
725 |
<a> |
726 |
<xsl:choose> |
726 |
<xsl:choose> |
727 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
727 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
728 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> |
728 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute> |
729 |
</xsl:when> |
729 |
</xsl:when> |
730 |
<!-- #1807 Strip unwanted parenthesis from subjects for searching --> |
730 |
<!-- #1807 Strip unwanted parenthesis from subjects for searching --> |
731 |
<xsl:when test="$TraceSubjectSubdivisions='1'"> |
731 |
<xsl:when test="$TraceSubjectSubdivisions='1'"> |
Lines 756-762
Link Here
|
756 |
</span> |
756 |
</span> |
757 |
<xsl:if test="marc:subfield[@code=9]"> |
757 |
<xsl:if test="marc:subfield[@code=9]"> |
758 |
<a class='authlink'> |
758 |
<a class='authlink'> |
759 |
<xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> |
759 |
<xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute> |
760 |
<xsl:element name="img"> |
760 |
<xsl:element name="img"> |
761 |
<xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute> |
761 |
<xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute> |
762 |
<xsl:attribute name="style">vertical-align:middle</xsl:attribute> |
762 |
<xsl:attribute name="style">vertical-align:middle</xsl:attribute> |
Lines 781-787
Link Here
|
781 |
<a> |
781 |
<a> |
782 |
<xsl:choose> |
782 |
<xsl:choose> |
783 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
783 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
784 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> |
784 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute> |
785 |
</xsl:when> |
785 |
</xsl:when> |
786 |
<xsl:when test="$TraceSubjectSubdivisions='1'"> |
786 |
<xsl:when test="$TraceSubjectSubdivisions='1'"> |
787 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:call-template name="subfieldSelectSubject"> |
787 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:call-template name="subfieldSelectSubject"> |
Lines 839-845
Link Here
|
839 |
<xsl:text>/cgi-bin/koha/opac-search.pl?q=control-number:</xsl:text> |
839 |
<xsl:text>/cgi-bin/koha/opac-search.pl?q=control-number:</xsl:text> |
840 |
<xsl:call-template name="extractControlNumber"> |
840 |
<xsl:call-template name="extractControlNumber"> |
841 |
<xsl:with-param name="subfieldW"> |
841 |
<xsl:with-param name="subfieldW"> |
842 |
<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/> |
842 |
<xsl:value-of select="marc:subfield[@code='w']"/> |
843 |
</xsl:with-param> |
843 |
</xsl:with-param> |
844 |
</xsl:call-template> |
844 |
</xsl:call-template> |
845 |
</xsl:attribute> |
845 |
</xsl:attribute> |
Lines 1070-1081
Link Here
|
1070 |
</a> |
1070 |
</a> |
1071 |
</xsl:when> |
1071 |
</xsl:when> |
1072 |
<xsl:when test="marc:subfield[@code='0']"> |
1072 |
<xsl:when test="marc:subfield[@code='0']"> |
1073 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of select="marc:subfield[@code='0']"/></xsl:attribute> |
1073 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of select="str:encode-uri(marc:subfield[@code='0'], true())"/></xsl:attribute> |
1074 |
<xsl:value-of select="$f773"/> |
1074 |
<xsl:value-of select="$f773"/> |
1075 |
</a> |
1075 |
</a> |
1076 |
</xsl:when> |
1076 |
</xsl:when> |
1077 |
<xsl:otherwise> |
1077 |
<xsl:otherwise> |
1078 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate($f773, '()', '')"/></xsl:attribute> |
1078 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f773, '()', ''), true())"/></xsl:attribute> |
1079 |
<xsl:value-of select="$f773"/> |
1079 |
<xsl:value-of select="$f773"/> |
1080 |
</a> |
1080 |
</a> |
1081 |
</xsl:otherwise> |
1081 |
</xsl:otherwise> |
Lines 1166-1172
Link Here
|
1166 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute> |
1166 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute> |
1167 |
</xsl:when> |
1167 |
</xsl:when> |
1168 |
<xsl:otherwise> |
1168 |
<xsl:otherwise> |
1169 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate($f775, '()', '')"/></xsl:attribute> |
1169 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f775, '()', ''), true())"/></xsl:attribute> |
1170 |
</xsl:otherwise> |
1170 |
</xsl:otherwise> |
1171 |
</xsl:choose> |
1171 |
</xsl:choose> |
1172 |
<xsl:call-template name="subfieldSelect"> |
1172 |
<xsl:call-template name="subfieldSelect"> |
Lines 1225-1231
Link Here
|
1225 |
</a> |
1225 |
</a> |
1226 |
</xsl:when> |
1226 |
</xsl:when> |
1227 |
<xsl:otherwise> |
1227 |
<xsl:otherwise> |
1228 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute> |
1228 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f780, '()', ''), true())"/></xsl:attribute> |
1229 |
<xsl:value-of select="translate($f780, '()', '')"/> |
1229 |
<xsl:value-of select="translate($f780, '()', '')"/> |
1230 |
</a> |
1230 |
</a> |
1231 |
</xsl:otherwise> |
1231 |
</xsl:otherwise> |
Lines 1288-1294
Link Here
|
1288 |
</a> |
1288 |
</a> |
1289 |
</xsl:when> |
1289 |
</xsl:when> |
1290 |
<xsl:otherwise> |
1290 |
<xsl:otherwise> |
1291 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate($f785, '()', '')"/></xsl:attribute> |
1291 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f785, '()', ''), true())"/></xsl:attribute> |
1292 |
<xsl:value-of select="translate($f785, '()', '')"/> |
1292 |
<xsl:value-of select="translate($f785, '()', '')"/> |
1293 |
</a> |
1293 |
</a> |
1294 |
</xsl:otherwise> |
1294 |
</xsl:otherwise> |
Lines 1335-1344
Link Here
|
1335 |
<a> |
1335 |
<a> |
1336 |
<xsl:choose> |
1336 |
<xsl:choose> |
1337 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
1337 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
1338 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:"<xsl:value-of select="marc:subfield[@code=9]"/>"</xsl:attribute> |
1338 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:"<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/>"</xsl:attribute> |
1339 |
</xsl:when> |
1339 |
</xsl:when> |
1340 |
<xsl:otherwise> |
1340 |
<xsl:otherwise> |
1341 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
1341 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute> |
1342 |
</xsl:otherwise> |
1342 |
</xsl:otherwise> |
1343 |
</xsl:choose> |
1343 |
</xsl:choose> |
1344 |
<span resource="#record"><span> |
1344 |
<span resource="#record"><span> |
Lines 1568-1574
Link Here
|
1568 |
</a> |
1568 |
</a> |
1569 |
<xsl:if test="marc:subfield[@code=9]"> |
1569 |
<xsl:if test="marc:subfield[@code=9]"> |
1570 |
<a class='authlink'> |
1570 |
<a class='authlink'> |
1571 |
<xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> |
1571 |
<xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute> |
1572 |
<xsl:element name="img"> |
1572 |
<xsl:element name="img"> |
1573 |
<xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute> |
1573 |
<xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute> |
1574 |
<xsl:attribute name="style">vertical-align:middle</xsl:attribute> |
1574 |
<xsl:attribute name="style">vertical-align:middle</xsl:attribute> |