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

Joshua Ferraro jmf at kados.org
Mon Sep 11 03:27:54 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Joshua Ferraro <kados>	06/09/11 01:27:54

Modified files:
	opac           : opac-main.pl 

Log message:
	only the OPAC languages should be displayed.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-main.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.16.2.10&r2=1.16.2.11

Patches:
Index: opac-main.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-main.pl,v
retrieving revision 1.16.2.10
retrieving revision 1.16.2.11
diff -u -b -r1.16.2.10 -r1.16.2.11
--- opac-main.pl	3 Apr 2006 10:29:23 -0000	1.16.2.10
+++ opac-main.pl	11 Sep 2006 01:27:54 -0000	1.16.2.11
@@ -49,7 +49,7 @@
 my $borrower = getmember('',$borrowernumber);
 my @options;
 my $counter=0;
-foreach my $language (getalllanguages()) {
+foreach my $language (getalllanguages("opac")) {
 	next if $language eq 'images';
 	next if $language eq 'CVS';
 	next if $language=~ /png$/;





More information about the Koha-cvs mailing list