From bbae57c926ba5b2c810818f8c80b8512f0e85b55 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 26 Nov 2007 15:00:57 -0600 Subject: [PATCH] More work on editions in the OPAC; Need both a staff client and OPAC system pref for turning on and off XISBN stuff. Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 3 ++- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 27 ++++++++++++++++++- .../prog/en/modules/opac-detail.tmpl | 17 ++++++------ 3 files changed, 37 insertions(+), 10 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index f823824f1c..5db0b8d05d 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -263,6 +263,7 @@ sub get_template_and_user { IndependantBranches => C4::Context->preference("IndependantBranches"), CircAutocompl => C4::Context->preference("CircAutocompl"), yuipath => C4::Context->preference("yuipath"), + FRBRizeEditions => C4::Context->preference("FRBRizeEditions"), ); } else { @@ -306,7 +307,7 @@ sub get_template_and_user { patronimages => C4::Context->preference("patronimages"), mylibraryfirst => C4::Context->preference("SearchMyLibraryFirst"), "BiblioDefaultView".C4::Context->preference("BiblioDefaultView") => 1, - FRBRizeEditions => C4::Context->preference("FRBRizeEditions"), + OPACFRBRizeEditions => C4::Context->preference("OPACFRBRizeEditions"), ); } return ( $template, $borrowernumber, $cookie ); diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 561837ec7c..23c883519c 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -919,4 +919,29 @@ td.overdue { display:block; font-size:0.8em; padding:0.5em; -} \ No newline at end of file +} +/* +h1#libraryname { + border:0pt none; + margin:0; + padding:0; + width:240px; +} +h1#libraryname { + background:transparent url(http://www.myacpl.org/themes/npl/logo.png) no-repeat scroll 0%; + border: 0; + margin:0.75em .3em 0.75em .7em; + padding:0; +} + +h1#libraryname a { + border:0; + cursor:pointer; + display:block; + height:0px !important; + margin:0; + overflow:hidden; + padding:60px 0 0; + text-decoration:none; + width:240px; +}*/ \ No newline at end of file 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 e505e079f2..cd378a906c 100755 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -179,7 +179,7 @@
  • #comments">Comments
  • -
  • #editions">Editions
  • +
  • #editions">Editions
  • #amazonreviews">Amazon Reviews
  • @@ -241,6 +241,7 @@
    +Description (from Amazon.com):

    @@ -330,20 +331,20 @@
    -
    +

    Other Editions of this Work

      -
    • .gif" title="" /> -"> by ©
    • -.01._THUMBZZZ_PU_PU-5_.jpg" /> +
    • .gif" alt="" title="" /> --> +"> by ©
    • +.01._THUMBZZZ_PU_PU-5_.jpg" /> --> - - .gif" title="" /> + + .gif" title="" alt="" /> barcode: - + -->
    -- 2.39.5