[Koha-patches] [PATCH 2/2] Bug 5885 Followup. Report editing to OPAC XSL files
Frédéric Demians
f.demians at tamil.fr
Sat May 14 08:52:20 CEST 2011
Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
---
.../prog/en/xslt/UNIMARCslim2OPACDetail.xsl | 2 +-
.../prog/en/xslt/UNIMARCslim2OPACResults.xsl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl
index 2832b6b..3963292 100644
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl
+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl
@@ -28,7 +28,7 @@
<xsl:call-template name="addClassRtl" />
<xsl:variable name="title" select="marc:subfield[@code='a']"/>
<xsl:variable name="ntitle"
- select="translate($title, '˜œ','')"/>
+ select="translate($title, '˜œ슜슛슘슈슉','')"/>
<xsl:value-of select="$ntitle" />
<xsl:if test="marc:subfield[@code='e']">
<xsl:text> : </xsl:text>
diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl
index 831724c..85bcd84 100644
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl
+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl
@@ -33,7 +33,7 @@
<xsl:for-each select="marc:datafield[@tag=200]">
<xsl:variable name="title" select="marc:subfield[@code='a']"/>
<xsl:variable name="ntitle"
- select="translate($title, '˜œ','')"/>
+ select="translate($title, '˜œ슜슛슘슈슉','')"/>
<div>
<xsl:call-template name="addClassRtl" />
<span class="results_summary">
--
1.7.4
More information about the Koha-patches
mailing list