[Koha-cvs] CVS: koha/opac changelanguage.pl,NONE,1.1
Paul POULAIN
tipaul at users.sourceforge.net
Mon Aug 16 14:49:44 CEST 2004
Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv558/opac
Added Files:
changelanguage.pl
Log Message:
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
--- NEW 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);
More information about the Koha-cvs
mailing list