Bug 12901: (QA followup) correct copy and paste error
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Works as described now, no problems found. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
eedc8e3543
commit
19d3e55032
3 changed files with 50 additions and 58 deletions
|
@ -72,26 +72,23 @@
|
|||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="buildBiblioDefaultViewURL">
|
||||
<xsl:param name="BiblioDefaultView"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$BiblioDefaultView='normal'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='isbd'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='labeled_marc'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='marc'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
<xsl:template name="buildBiblioDefaultViewURL">
|
||||
<xsl:param name="BiblioDefaultView"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$BiblioDefaultView='normal'">
|
||||
<xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='isbd'">
|
||||
<xsl:text>/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='marc'">
|
||||
<xsl:text>/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="chopPunctuation">
|
||||
<xsl:param name="chopString"/>
|
||||
|
|
|
@ -52,26 +52,23 @@
|
|||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="buildBiblioDefaultViewURL">
|
||||
<xsl:param name="BiblioDefaultView"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$BiblioDefaultView='normal'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='isbd'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='labeled_marc'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='marc'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
<xsl:template name="buildBiblioDefaultViewURL">
|
||||
<xsl:param name="BiblioDefaultView"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$BiblioDefaultView='normal'">
|
||||
<xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='isbd'">
|
||||
<xsl:text>/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='marc'">
|
||||
<xsl:text>/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="chopPunctuation">
|
||||
<xsl:param name="chopString"/>
|
||||
|
|
|
@ -58,26 +58,24 @@
|
|||
</xsl:template>
|
||||
|
||||
<xsl:template name="buildBiblioDefaultViewURL">
|
||||
<xsl:param name="BiblioDefaultView"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$BiblioDefaultView='normal'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='isbd'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='labeled_marc'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='marc'">
|
||||
<xsl:text>/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>/cgi-bin/koha/catalogue/detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:param name="BiblioDefaultView"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$BiblioDefaultView='normal'">
|
||||
<xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='isbd'">
|
||||
<xsl:text>/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$BiblioDefaultView='marc'">
|
||||
<xsl:text>/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>/cgi-bin/koha/opac-detail.pl?biblionumber=</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template name="chopPunctuation">
|
||||
<xsl:param name="chopString"/>
|
||||
<xsl:variable name="length" select="string-length($chopString)"/>
|
||||
|
|
Loading…
Reference in a new issue