From 5bc996ff4bcedf873fafc133b4eefbd0179b01dd Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Wed, 23 Apr 2008 22:44:32 -0500 Subject: [PATCH] Validation of opac results and detail pages, normalization of XSL stylesheets and display --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 6 +- .../prog/en/modules/opac-detail.tmpl | 219 +++++++++--------- .../prog/en/modules/opac-results.tmpl | 4 +- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 65 +++--- .../prog/en/xslt/MARC21slim2OPACResults.xsl | 2 +- 5 files changed, 144 insertions(+), 152 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 8cc8a5a7fd..cf65e43630 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -1564,7 +1564,7 @@ ul.ui-tabs-nav li.ui-tabs-selected a, ul.ui-tabs-nav li.ui-tabs-selected span.a margin-top : .5em; } -a#MARCview, span#MARCview, a#ISBDview, span#ISBDview, a#Normalview, span#Normalview { +a#MARCview, span#MARCview, a#MARCviewPop, a#ISBDview, span#ISBDview, a#Normalview, span#Normalview { background-position : 5px 3px; background-repeat : no-repeat; font-size : 87%; @@ -1577,6 +1577,10 @@ a#MARCview, span#MARCview { background-image : url(../../images/marc.gif); padding-left : 17px; } +a#MARCviewPop, span#MARCviewPop { + background-image : url(../../images/marc.gif); + padding-left : 17px; +} a#ISBDview, span#ISBDview { background-image : url(../../images/isbd.gif); padding-left : 20px; diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl index 78c2c6a4c7..5434011fdd 100755 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -27,131 +27,118 @@
- - - - -
- - "> - See Baker & Taylor" /> - - -
- - - - - -
-

Normal View ">MARC View ">ISBD View -
-

By ">

-

+

+ + + + +
+

Normal View ">MARC View ">ISBD View +
+ +
by ">
+ [ - + ] - - , - , -

+ + , + , +
-

Authors: + Authors: - + - -

+ - -

Series: + + Series: - "> - + "> -

+ + -

Edition statement:/

+ Edition statement:/ -

Published by : + Published by : "> () , -

+ -

Physical details:

+ Physical details: &rft.au=&rft.btitle=&rft.date=&rft.tpages=&rft.isbn=&rft.aucorp=&rft.place=&rft.pub=&rft.edition=&rft.series=&rft.genre="> -

ISBN: ">

+ ISBN: "> -

ISSN:

+ ISSN: -

Collection: + Collection: - , ISSN - ; + , ISSN + ; -

+ -

Uniform titles: + Uniform titles: ; -

+ - -

Subject(s): + + Subject(s): - " href="/cgi-bin/koha/opac-search.pl?q=: "> + " href="/cgi-bin/koha/opac-search.pl?q=: "> | -

- -

Subject(s): "> |

- + + + Subject(s): "> | + -

Year :

+ Year : -" alt="" title=""> -

Item type : + " alt="" title=""> + Item type : - + -

+ -

Online Resources: -

+ Online Resources:

  • @@ -162,8 +149,37 @@
+
+ +
+ + Tags: + + + + New: +
" method="post" action="/cgi-bin/koha/opac-tags.pl"> + " id="newtag" maxlength="100" /> + +
+
+ " class="tagstatus" style="display:none;"> + Tag status here. + + +
+ + + + + Enhanced Content:">Content Cafe + +
@@ -203,12 +219,12 @@ - " title="" alt="" /> + " title="" alt="" /> - (&shelfbrowse_itemnumber=#shelfbrowser">Browse Shelf) - - + (&shelfbrowse_itemnumber=#shelfbrowser">Browse Shelf) + + @@ -218,7 +234,7 @@ On loan - + Item lost @@ -249,10 +265,22 @@ &shelfbrowse_itemnumber=#shelfbrowser">Previous
-
&shelfbrowse_itemnumber=#shelfbrowser">.01._AA75_PU_PU-5_.jpg" />
&shelfbrowse_itemnumber=#shelfbrowser">
+
&shelfbrowse_itemnumber=#shelfbrowser"> + + /ref=sib_dp_pt/002-7879865-0184864#reader-link">.01._AA75_PU_PU-5_.jpg" alt="Cover Image" /> +
" id="" class="gbs-thumbnail">
+ ">See Baker & Taylor" /> + +
&shelfbrowse_itemnumber=#shelfbrowser">
-
&shelfbrowse_itemnumber=#shelfbrowser">.01._AA75_PU_PU-5_.jpg" />
&shelfbrowse_itemnumber=#shelfbrowser">
+
&shelfbrowse_itemnumber=#shelfbrowser"> + + /ref=sib_dp_pt/002-7879865-0184864#reader-link">.01._AA75_PU_PU-5_.jpg" alt="Cover Image" /> +
" id="" class="gbs-thumbnail">
+ ">See Baker & Taylor" /> + +
&shelfbrowse_itemnumber=#shelfbrowser">
&shelfbrowse_itemnumber=#shelfbrowser">Next @@ -287,9 +315,9 @@

This is a serial subscription

-

(There are subscriptions associated with this title).

+

(There are subscriptions associated with this title).

-

At branch:

+

At branch:

The three latest issues for this subscription:

@@ -327,7 +355,7 @@ -

">More details

+

">More details

@@ -398,9 +426,6 @@
- - -

Average Rating (from Amazon.com):

px"> &store=books">Add your own review
@@ -475,7 +500,7 @@
-
+
" /> -
- - - -
Tags: - - - -
" method="post" action="/cgi-bin/koha/opac-tags.pl"> - - " id="newtag" maxlength="100" /> - -
-
- " class="tagstatus" style="display:none;"> - Tag status here. - +
- - - - - +
-
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl index f823640222..26fd7e3f4d 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl @@ -242,7 +242,7 @@ $(document).ready(function(){ - +
Tags:
  • &q="> ()
  • @@ -259,7 +259,7 @@ $(document).ready(function(){ Tag status here. - +
Match: diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index 72182ed25e..7f5b4d3fa5 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -6,8 +6,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc items"> - - + @@ -26,7 +25,7 @@ BK - MM + MX CF MP VM @@ -59,12 +58,6 @@ -

@@ -77,7 +70,7 @@ Normal View - MARC View + MARC View Expanded MARC View Card View (ISBD)

@@ -133,20 +126,19 @@ -
- -

Type: - -

+ Type: + /opac-tmpl/prog/famfamfam/.pngtypeicon + +
-

Library of Congress Classification: + Library of Congress Classification: -

+
-

Series: + Series: @@ -172,40 +164,40 @@ .; -

+
-

Publisher: + Publisher: bcg .; -

+
-

ISBN: + ISBN: .; -

+
-

ISSN: + ISSN: .; -

+
-

Uniform titles: + Uniform titles: @@ -223,11 +215,11 @@ .; -

+
-

Related Subjects: + Related Subjects: @@ -252,11 +244,11 @@ -

+
-

Online Resources: + Online Resources: @@ -270,13 +262,13 @@ -

+ -

+ Continues: @@ -312,11 +304,11 @@ /cgi-bin/koha/opac-search.pl?q= -

+ -

+
@@ -326,7 +318,7 @@ -

+ Continued by: @@ -368,10 +360,9 @@ -

+
-
diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl index 6b49e7900c..5206a7627d 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl @@ -6,7 +6,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc items"> - + -- 2.39.2