Koha/opac/changelanguage.pl
tipaul b2d3fe1ccb moving language chooser to the main page.
moving the getalltemplates and getalllanguages subs out from Search.pm (that will be deprecated soon) to Koha.pm

moving changelanguage.pl to OPAC scope
2004-08-16 12:49:42 +00:00

10 lines
172 B
Perl
Executable file

#!/usr/bin/perl
use C4::Output;
use CGI;
my $query=new CGI;
my $language=$query->param('language');
my $url=$query->referer();
setlanguagecookie($query,$language,$url);