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 |
- |
|
|