[Koha-bugs] [Bug 8793] New: Remove references to OPAC icons from NORMARC staff XSLT

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 19 15:27:35 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8793

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8793
                CC: gmcharlt at gmail.com
          Assignee: magnus at enger.priv.no
           Summary: Remove references to OPAC icons from NORMARC staff
                    XSLT
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: magnus at enger.priv.no
          Hardware: All
            Status: ASSIGNED
           Version: master
         Component: Staff Client
           Product: Koha

This was first pointed out on Bug 8624. 

NORMARCslim2intranetDetail.xsl:

<xsl:element name="img"><xsl:attribute
name="src">/opac-tmpl/prog/famfamfam/<xsl:value-of
select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute
name="alt"></xsl:attribute></xsl:element>

NORMARCslim2intranetResults.xsl:

<xsl:when test="$typeOf008='Mon'"><img
src="/opac-tmpl/prog/famfamfam/silk/book.png" alt="Bok" title="Bok"/>
Bok</xsl:when>
<xsl:when test="$typeOf008='Per'"><img
src="/opac-tmpl/prog/famfamfam/silk/newspaper.png" alt="Periodika"
title="Periodika"/> Periodika</xsl:when>
<xsl:when test="$typeOf008='Fil'"><img
src="/opac-tmpl/prog/famfamfam/silk/computer_link.png" alt="Fil" title="Fil"/>
Fil</xsl:when>
<xsl:when test="$typeOf008='Kar'"><img
src="/opac-tmpl/prog/famfamfam/silk/map.png" alt="Kart" title="Kart"/>
Kart</xsl:when>
<xsl:when test="$typeOf008='FV'"><img
src="/opac-tmpl/prog/famfamfam/silk/film.png" alt="Film og video" title="Film
og video"/> Film og video</xsl:when>
<xsl:when test="$typeOf008='Mus'"><img
src="/opac-tmpl/prog/famfamfam/silk/sound.png" alt="Musikktrykk og lydopptak"
title="Musikktrykk og lydopptak"/> Musikk</xsl:when>

MARC21 does not seem to use images like this, so I'll probably just remove
them.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list