[Koha-devel] Deletion of changelanguage.pl and opac-changelanguage.pl

Tomas Cohen Arazi tomascohen at gmail.com
Sun Mar 3 15:15:39 CET 2013


Working on Bug 9735 [1] I ended up writing C4::Templates::getlanguagecookie
and hooking C4::Auth::get_template_and_user in a way that the language can
be changed using URL parameters, and the corresponding is properly set.

Using this new code, the language selection could be simplified by using
JavaScript + document.location to generate the links to languages.

What do u think?

Regards
To+

[1] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9735
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20130303/26221245/attachment.html>


More information about the Koha-devel mailing list