[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/opac opac-main.pl [rel_3_0]
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/opac opac-main.pl [rel_3_0] |
Date: |
Thu, 28 Sep 2006 08:16:14 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/09/28 08:16:14
Modified files:
opac : opac-main.pl
Log message:
Display "change language" only if there is more than one language.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-main.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.23.2.1&r2=1.23.2.2
Patches:
Index: opac-main.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-main.pl,v
retrieving revision 1.23.2.1
retrieving revision 1.23.2.2
diff -u -b -r1.23.2.1 -r1.23.2.2
--- opac-main.pl 29 Aug 2006 07:27:13 -0000 1.23.2.1
+++ opac-main.pl 28 Sep 2006 08:16:14 -0000 1.23.2.2
@@ -61,7 +61,10 @@
# Template params
if( (scalar @options) > 1){
- $template->param(languages => address@hidden);
+ $template->param(
+ languages => address@hidden,
+ opaclanguagesdisplay => C4::Context->preference("opaclanguagesdisplay")
+ );
}
$template->param(
branchloop=>address@hidden,
@@ -76,9 +79,9 @@
opacsmallimage =>
C4::Context->preference("opacsmallimage"),
opaclayoutstylesheet =>
C4::Context->preference("opaclayoutstylesheet"),
opaccolorstylesheet =>
C4::Context->preference("opaccolorstylesheet"),
- opaclanguagesdisplay =>
C4::Context->preference("opaclanguagesdisplay"),
-
+ opaclanguagesdisplay => 0,
);
+
$template->param('Disable_Dictionary'=>C4::Context->preference("Disable_Dictionary"))
if (C4::Context->preference("Disable_Dictionary"));
output_html_with_http_headers $input, $cookie, $template->output;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/opac opac-main.pl [rel_3_0],
Antoine Farnault <=