[Koha-patches] [PATCH] Adding a couple missing variables for opac login screen (opacheader,OpacUserCSS); Minor tweak to OPAC tags on opac-detail

Owen Leonard oleonard at myacpl.org
Sat Apr 26 22:41:54 CEST 2008


---
 C4/Auth.pm                                         |    2 ++
 koha-tmpl/opac-tmpl/prog/en/css/opac.css           |    9 +++++++--
 .../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 cc29d8a..4bf459e 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 6350e97..64b0d95 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 1958ef3..272c83d 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;
 		});
 	}); 
 //]]>
-- 
1.5.2.1




More information about the Koha-patches mailing list