[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/opac opac-main.pl [rel_2_2]
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/opac opac-main.pl [rel_2_2] |
Date: |
Tue, 14 Mar 2006 15:29:15 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Joshua Ferraro <address@hidden> 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 => address@hidden);
}
@@ -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;