From cfc2b0e1849656ae02b7498939de6b93e8d4d1a5 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 26 Apr 2008 15:41:54 -0500 Subject: [PATCH] Adding a couple missing variables for opac login screen (opacheader,OpacUserCSS); Minor tweak to OPAC tags on opac-detail Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 2 ++ koha-tmpl/opac-tmpl/prog/en/css/opac.css | 9 +++++++-- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index cc29d8a6cb..4bf459e29c 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -728,6 +728,8 @@ sub checkauth { OpacTopissue => C4::Context->preference("OpacTopissue"), OpacAuthorities => C4::Context->preference("OpacAuthorities"), OpacBrowser => C4::Context->preference("OpacBrowser"), + opacheader => C4::Context->preference("opacheader"), + OPACUserCSS => C4::Context->preference("OPACUserCSS"), intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), intranetstylesheet => C4::Context->preference("intranetstylesheet"), diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 6350e975fc..64b0d956e9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -1038,14 +1038,19 @@ width: 100%; font-weight: normal; } -.results_summary ul { +#catalogue_detail_biblio div.results_summary { + clear : left; +} +#catalogue_detail_biblio div.results_summary ul { display : inline; + float : none; + clear : none; margin: 0; padding: 0; list-style : none; } -.results_summary ul li { +#catalogue_detail_biblio div.results_summary ul li { display : inline; } 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 1958ef3e62..272c83d6b4 100755 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -9,10 +9,12 @@ $("#addtagl a").click(function(){ $("#addtagl").hide(); $("#tagform, #tagform a").show(); + return false; }); $("#tagform a").click(function(){ $("#addtagl").show(); $("#tagform").hide(); + return false; }); }); //]]> -- 2.39.5