Bug 6755 Problems with switching languages
authorFrédéric Demians <f.demians@tamil.fr>
Thu, 25 Aug 2011 13:01:19 +0000 (15:01 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 22 Sep 2011 21:47:09 +0000 (09:47 +1200)
commit6b8be20497dd877c4ba5c5278a89fd82fc0862a9
treef7481a38db4099b8a9f4876742157c6cd2472b26
parent4029e8ed755b58c7b3a25c162838c20f5a6ad149
Bug 6755 Problems with switching languages

This patch solves the situation that news is in another language than
the Koha interface AND makes that themelanguage routine is always called
the same way in order to prevent mixed display.

It fixes also a bug related to language preselection based on web
browser prefered language.

September 9: Adjusted with input of Frederic Demians.

Septembre 10: Avoid circular dependency, as pointed by Chris Cormack.
Templates related functions are moved from C4::Output to C4::Templates

Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
16 files changed:
C4/Auth.pm
C4/Output.pm
C4/Templates.pm
C4/XSLT.pm
about.pl
admin/preferences.pl
catalogue/moredetail.pl
catalogue/search.pl
changelanguage.pl
installer/InstallAuth.pm
misc/cronjobs/gather_print_notices.pl
misc/exportauth.pl
opac/opac-changelanguage.pl
opac/opac-main.pl
opac/opac-search.pl
tools/export.pl