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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-2 / +3 lines)
Lines 6-11 Link Here
6
  xmlns:marc="http://www.loc.gov/MARC21/slim"
6
  xmlns:marc="http://www.loc.gov/MARC21/slim"
7
  xmlns:items="http://www.koha-community.org/items"
7
  xmlns:items="http://www.koha-community.org/items"
8
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9
  xmlns:str="http://exslt.org/strings"
9
  exclude-result-prefixes="marc items">
10
  exclude-result-prefixes="marc items">
10
    <xsl:import href="MARC21slimUtils.xsl"/>
11
    <xsl:import href="MARC21slimUtils.xsl"/>
11
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
12
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
Lines 828-837 Link Here
828
	    <a property="url">
829
	    <a property="url">
829
	    <xsl:choose>
830
	    <xsl:choose>
830
	      <xsl:when test="$OPACTrackClicks='track'">
831
	      <xsl:when test="$OPACTrackClicks='track'">
831
	        <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
832
            <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
832
	      </xsl:when>
833
	      </xsl:when>
833
	      <xsl:when test="$OPACTrackClicks='anonymous'">
834
	      <xsl:when test="$OPACTrackClicks='anonymous'">
834
	        <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
835
            <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
835
	      </xsl:when>
836
	      </xsl:when>
836
	      <xsl:otherwise>
837
	      <xsl:otherwise>
837
                <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
838
                <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl (-4 / +5 lines)
Lines 5-10 Link Here
5
  xmlns:marc="http://www.loc.gov/MARC21/slim"
5
  xmlns:marc="http://www.loc.gov/MARC21/slim"
6
  xmlns:items="http://www.koha-community.org/items"
6
  xmlns:items="http://www.koha-community.org/items"
7
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8
  xmlns:str="http://exslt.org/strings"
8
  exclude-result-prefixes="marc items">
9
  exclude-result-prefixes="marc items">
9
    <xsl:import href="MARC21slimUtils.xsl"/>
10
    <xsl:import href="MARC21slimUtils.xsl"/>
10
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
11
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
Lines 1020-1029 Link Here
1020
			      <a>
1021
			      <a>
1021
			      <xsl:choose>
1022
			      <xsl:choose>
1022
			        <xsl:when test="$OPACTrackClicks='track'">
1023
			        <xsl:when test="$OPACTrackClicks='track'">
1023
				  <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
1024
                      <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
1024
				</xsl:when>
1025
				</xsl:when>
1025
	                        <xsl:when test="$OPACTrackClicks='anonymous'">
1026
	                        <xsl:when test="$OPACTrackClicks='anonymous'">
1026
		                  <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
1027
                      <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
1027
				</xsl:when>
1028
				</xsl:when>
1028
				<xsl:otherwise>
1029
				<xsl:otherwise>
1029
				  <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
1030
				  <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
Lines 1055-1064 Link Here
1055
                                   <a target='_blank'>
1056
                                   <a target='_blank'>
1056
				   <xsl:choose>
1057
				   <xsl:choose>
1057
				     <xsl:when test="$OPACTrackClicks='track'">
1058
				     <xsl:when test="$OPACTrackClicks='track'">
1058
				       <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
1059
                      <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
1059
				     </xsl:when>
1060
				     </xsl:when>
1060
				     <xsl:when test="$OPACTrackClicks='anonymous'">
1061
				     <xsl:when test="$OPACTrackClicks='anonymous'">
1061
				       <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
1062
                      <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
1062
				     </xsl:when>
1063
				     </xsl:when>
1063
				     <xsl:otherwise>
1064
				     <xsl:otherwise>
1064
		                       <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
1065
		                       <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl (-2 / +3 lines)
Lines 7-12 Link Here
7
  xmlns:marc="http://www.loc.gov/MARC21/slim"
7
  xmlns:marc="http://www.loc.gov/MARC21/slim"
8
  xmlns:items="http://www.koha-community.org/items"
8
  xmlns:items="http://www.koha-community.org/items"
9
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
10
  xmlns:str="http://exslt.org/strings"
10
  exclude-result-prefixes="marc items">
11
  exclude-result-prefixes="marc items">
11
    <xsl:import href="NORMARCslimUtils.xsl"/>
12
    <xsl:import href="NORMARCslimUtils.xsl"/>
12
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
13
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
Lines 488-497 Link Here
488
	    <a property="url">
489
	    <a property="url">
489
	    <xsl:choose>
490
	    <xsl:choose>
490
	      <xsl:when test="$OPACTrackClicks='track'">
491
	      <xsl:when test="$OPACTrackClicks='track'">
491
	        <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
492
            <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
492
	      </xsl:when>
493
	      </xsl:when>
493
	      <xsl:when test="$OPACTrackClicks='anonymous'">
494
	      <xsl:when test="$OPACTrackClicks='anonymous'">
494
	        <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
495
            <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
495
	      </xsl:when>
496
	      </xsl:when>
496
	      <xsl:otherwise>
497
	      <xsl:otherwise>
497
                <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
498
                <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl (-3 / +3 lines)
Lines 7-12 Link Here
7
  xmlns:marc="http://www.loc.gov/MARC21/slim"
7
  xmlns:marc="http://www.loc.gov/MARC21/slim"
8
  xmlns:items="http://www.koha-community.org/items"
8
  xmlns:items="http://www.koha-community.org/items"
9
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
10
  xmlns:str="http://exslt.org/strings"
10
  exclude-result-prefixes="marc items">
11
  exclude-result-prefixes="marc items">
11
    <xsl:import href="NORMARCslimUtils.xsl"/>
12
    <xsl:import href="NORMARCslimUtils.xsl"/>
12
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
13
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
Lines 793-802 Link Here
793
	    <a property="url">
794
	    <a property="url">
794
	    <xsl:choose>
795
	    <xsl:choose>
795
	      <xsl:when test="$OPACTrackClicks='track'">
796
	      <xsl:when test="$OPACTrackClicks='track'">
796
	        <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
797
            <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
797
	      </xsl:when>
798
	      </xsl:when>
798
	      <xsl:when test="$OPACTrackClicks='anonymous'">
799
	      <xsl:when test="$OPACTrackClicks='anonymous'">
799
	        <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="marc:subfield[@code='u']"/>;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
800
            <xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&amp;biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
800
	      </xsl:when>
801
	      </xsl:when>
801
	      <xsl:otherwise>
802
	      <xsl:otherwise>
802
                <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
803
                <xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
803
- 

Return to bug 14441