[Koha-cvs] koha/opac opac-main.pl [rel_2_2]

Joshua Ferraro jmf at kados.org
Tue Mar 14 16:29:15 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/03/14 15:29:15

Modified files:
	opac           : opac-main.pl 

Log message:
	hide authorities search if Disable_Dictionary is set

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/opac/opac-main.pl.diff?only_with_tag=rel_2_2&tr1=1.16.2.8&tr2=1.16.2.9&r1=text&r2=text

Patches:
Index: koha/opac/opac-main.pl
diff -u koha/opac/opac-main.pl:1.16.2.8 koha/opac/opac-main.pl:1.16.2.9
--- koha/opac/opac-main.pl:1.16.2.8	Wed Mar  8 18:55:04 2006
+++ koha/opac/opac-main.pl	Tue Mar 14 15:29:15 2006
@@ -66,7 +66,6 @@
 	$counter++;
 }
 my $languages_count = @options;
-
 if($languages_count > 1){
 		$template->param(languages => \@options);
 }
@@ -85,4 +84,7 @@
 				opaccolorstylesheet => C4::Context->preference("opaccolorstylesheet"),
 				opaclanguagesdisplay => C4::Context->preference("opaclanguagesdisplay"),
 );
+
+$template->param('Disable_Dictionary'=>C4::Context->preference("Disable_Dictionary")) if (C4::Context->preference("Disable_Dictionary"));
+
 output_html_with_http_headers $input, $cookie, $template->output;





More information about the Koha-cvs mailing list