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:
Tomás Cohen Arazi 2014-10-28 18:10:33 -03:00
parent eedc8e3543
commit 19d3e55032
3 changed files with 50 additions and 58 deletions

View file

@ -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"/>

View file

@ -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"/>

View file

@ -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)"/>