b2d3fe1ccb
moving the getalltemplates and getalllanguages subs out from Search.pm (that will be deprecated soon) to Koha.pm moving changelanguage.pl to OPAC scope
10 lines
172 B
Perl
Executable file
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);
|