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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl (-20 / +17 lines)
Lines 72-97 Link Here
72
		</xsl:if>
72
		</xsl:if>
73
	</xsl:template>
73
	</xsl:template>
74
74
75
    <xsl:template name="buildBiblioDefaultViewURL">
75
  <xsl:template name="buildBiblioDefaultViewURL">
76
      <xsl:param name="BiblioDefaultView"/>
76
    <xsl:param name="BiblioDefaultView"/>
77
      <xsl:choose>
77
    <xsl:choose>
78
          <xsl:when test="$BiblioDefaultView='normal'">
78
        <xsl:when test="$BiblioDefaultView='normal'">
79
              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
79
            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
80
          </xsl:when>
80
        </xsl:when>
81
          <xsl:when test="$BiblioDefaultView='isbd'">
81
        <xsl:when test="$BiblioDefaultView='isbd'">
82
              <xsl:text>/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=</xsl:text>
82
            <xsl:text>/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=</xsl:text>
83
          </xsl:when>
83
        </xsl:when>
84
          <xsl:when test="$BiblioDefaultView='labeled_marc'">
84
        <xsl:when test="$BiblioDefaultView='marc'">
85
              <xsl:text>/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=</xsl:text>
85
            <xsl:text>/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=</xsl:text>
86
          </xsl:when>
86
        </xsl:when>
87
          <xsl:when test="$BiblioDefaultView='marc'">
87
        <xsl:otherwise>
88
              <xsl:text>/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=</xsl:text>
88
            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
89
          </xsl:when>
89
        </xsl:otherwise>
90
          <xsl:otherwise>
90
    </xsl:choose>
91
              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
91
  </xsl:template>
92
          </xsl:otherwise>
93
      </xsl:choose>
94
    </xsl:template>
95
92
96
	<xsl:template name="chopPunctuation">
93
	<xsl:template name="chopPunctuation">
97
		<xsl:param name="chopString"/>
94
		<xsl:param name="chopString"/>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslimUtils.xsl (-20 / +17 lines)
Lines 52-77 Link Here
52
		</xsl:if>
52
		</xsl:if>
53
	</xsl:template>
53
	</xsl:template>
54
54
55
    <xsl:template name="buildBiblioDefaultViewURL">
55
  <xsl:template name="buildBiblioDefaultViewURL">
56
      <xsl:param name="BiblioDefaultView"/>
56
    <xsl:param name="BiblioDefaultView"/>
57
      <xsl:choose>
57
    <xsl:choose>
58
          <xsl:when test="$BiblioDefaultView='normal'">
58
        <xsl:when test="$BiblioDefaultView='normal'">
59
              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
59
            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
60
          </xsl:when>
60
        </xsl:when>
61
          <xsl:when test="$BiblioDefaultView='isbd'">
61
        <xsl:when test="$BiblioDefaultView='isbd'">
62
              <xsl:text>/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=</xsl:text>
62
            <xsl:text>/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=</xsl:text>
63
          </xsl:when>
63
        </xsl:when>
64
          <xsl:when test="$BiblioDefaultView='labeled_marc'">
64
        <xsl:when test="$BiblioDefaultView='marc'">
65
              <xsl:text>/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=</xsl:text>
65
            <xsl:text>/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=</xsl:text>
66
          </xsl:when>
66
        </xsl:when>
67
          <xsl:when test="$BiblioDefaultView='marc'">
67
        <xsl:otherwise>
68
              <xsl:text>/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=</xsl:text>
68
            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
69
          </xsl:when>
69
        </xsl:otherwise>
70
          <xsl:otherwise>
70
    </xsl:choose>
71
              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
71
  </xsl:template>
72
          </xsl:otherwise>
73
      </xsl:choose>
74
    </xsl:template>
75
72
76
	<xsl:template name="chopPunctuation">
73
	<xsl:template name="chopPunctuation">
77
		<xsl:param name="chopString"/>
74
		<xsl:param name="chopString"/>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl (-19 / +16 lines)
Lines 58-83 Link Here
58
  </xsl:template>
58
  </xsl:template>
59
59
60
  <xsl:template name="buildBiblioDefaultViewURL">
60
  <xsl:template name="buildBiblioDefaultViewURL">
61
      <xsl:param name="BiblioDefaultView"/>
61
    <xsl:param name="BiblioDefaultView"/>
62
      <xsl:choose>
62
    <xsl:choose>
63
          <xsl:when test="$BiblioDefaultView='normal'">
63
        <xsl:when test="$BiblioDefaultView='normal'">
64
              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
64
            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
65
          </xsl:when>
65
        </xsl:when>
66
          <xsl:when test="$BiblioDefaultView='isbd'">
66
        <xsl:when test="$BiblioDefaultView='isbd'">
67
              <xsl:text>/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=</xsl:text>
67
            <xsl:text>/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=</xsl:text>
68
          </xsl:when>
68
        </xsl:when>
69
          <xsl:when test="$BiblioDefaultView='labeled_marc'">
69
        <xsl:when test="$BiblioDefaultView='marc'">
70
              <xsl:text>/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=</xsl:text>
70
            <xsl:text>/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=</xsl:text>
71
          </xsl:when>
71
        </xsl:when>
72
          <xsl:when test="$BiblioDefaultView='marc'">
72
        <xsl:otherwise>
73
              <xsl:text>/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=</xsl:text>
73
            <xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
74
          </xsl:when>
74
        </xsl:otherwise>
75
          <xsl:otherwise>
75
    </xsl:choose>
76
              <xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
77
          </xsl:otherwise>
78
      </xsl:choose>
79
  </xsl:template>
76
  </xsl:template>
80
77
78
81
  <xsl:template name="chopPunctuation">
79
  <xsl:template name="chopPunctuation">
82
    <xsl:param name="chopString"/>
80
    <xsl:param name="chopString"/>
83
    <xsl:variable name="length" select="string-length($chopString)"/>
81
    <xsl:variable name="length" select="string-length($chopString)"/>
84
- 

Return to bug 12901