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

paul poulain paul at koha-fr.org
Fri Dec 30 11:58:13 CET 2005


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	paul poulain <tipaul at savannah.gnu.org>	05/12/30 10:58:13

Modified files:
	opac           : opac-main.pl 

Log message:
	removing images and stylesheet from language list

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.2&tr2=1.16.2.3&r1=text&r2=text

Patches:
Index: koha/opac/opac-main.pl
diff -u koha/opac/opac-main.pl:1.16.2.2 koha/opac/opac-main.pl:1.16.2.3
--- koha/opac/opac-main.pl:1.16.2.2	Wed Aug 10 16:06:45 2005
+++ koha/opac/opac-main.pl	Fri Dec 30 10:58:13 2005
@@ -42,6 +42,8 @@
 foreach my $language (getalllanguages()) {
 	next if $language eq 'images';
 	next if $language eq 'CVS';
+	next if $language=~ /png$/;
+	next if $language=~ /css$/;
 	my $selected='0';
 #                            next if $currently_selected_languages->{$language};
 	push @options, { language => $language, counter => $counter };





More information about the Koha-cvs mailing list