From: Jared Camins-Esakov To: dev@bywatersolutions.com Cc: Jared Camins-Esakov Subject: [PATCH] Bug 3382: Add CSS classes to OPAC XSLT tags Date: Mon, 21 Mar 2011 13:13:24 -0400 Message-Id: <1300727604-2496-1-git-send-email-jcamins@bywatersolutions.com> X-Mailer: git-send-email 1.7.2.3 X-Original-Sender: jcamins@bywatersolutions.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.216.177 is neither permitted nor denied by best guess record for domain of jcamins@bywatersolutions.com) smtp.mail=jcamins@bywatersolutions.com Precedence: list Mailing-list: list dev@bywatersolutions.com; contact dev+owners@bywatersolutions.com List-ID: X-Google-Group-Id: 274270250429 List-Help: , Content-Type: text/plain; charset="utf-8" This patch adds materialtype, format, and natureofcontents CSS classes to the tags produced by the OPAC XSLT stylesheets for use with CSS and jQuery. --- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- .../prog/en/xslt/MARC21slim2OPACResults.xsl | 76 ++++++++++---------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index b5e60b9..24a6440 100755 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -186,7 +186,7 @@ Type: - /opac-tmpl/prog/famfamfam/.png + /opac-tmpl/prog/famfamfam/.pngmaterialTypeLabelmaterialtype diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl index 39eddd7..0b53e22 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl @@ -160,7 +160,7 @@ chip cartridge - computer optical disc cartridge + computer optical disc cartridge magnetic disc @@ -169,11 +169,11 @@ magneto-optical disc - optical disc + optical disc available online - remote + remote tape cartridge @@ -186,16 +186,16 @@ - celestial globe + celestial globe - earth moon globe + earth moon globe - planetary or lunar globe + planetary or lunar globe - terrestrial globe + terrestrial globe @@ -258,19 +258,19 @@ film reel - chart + chart collage - drawing + drawing - flash card + flash card - painting + painting photomechanical print @@ -282,7 +282,7 @@ photoprint - picture + picture print @@ -291,7 +291,7 @@ technical drawing - notated music + notated music filmslip @@ -306,7 +306,7 @@ other filmstrip type - slide + slide transparency @@ -327,7 +327,7 @@ sound cassette - sound disc + sound disc sound-tape reel @@ -354,7 +354,7 @@ braille - large print + large print regular print @@ -369,7 +369,7 @@ videocassette - videodisc + videodisc videoreel @@ -517,23 +517,23 @@ Type: - book Set + book Set - book Book - serial Continuing Resource - article Article + book Book + serial Continuing Resource + article Article - book Book - kit Kit - mixed materialsMixed Materials - computer file Computer File - map Map - visual material Visual Material - score Score - sound Sound - music Music + book Book + kit Kit + mixed materialsMixed Materials + computer file Computer File + map Map + visual material Visual Material + score Score + sound Sound + music Music @@ -548,7 +548,7 @@ - database + database loose-leaf @@ -563,7 +563,7 @@ periodical - web site + web site @@ -577,7 +577,7 @@ bibliography - bibliography + bibliography catalog @@ -625,7 +625,7 @@ statistics - technical report + technical report legal case and case notes @@ -652,13 +652,13 @@ numeric data - database + database - font + font - game + game @@ -673,7 +673,7 @@ festschrift - biography + biography -- 1.7.2.3