]> git.koha-community.org Git - koha.git/commit
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 Nighswonger <chris.nighswonger@gmail.com>
Sat, 8 Oct 2011 16:21:25 +0000 (12:21 -0400)
commita8d0be4bcd4e0f355184521fba5fe2a2022fcf8c
tree144c3251c58b41d6e9a312a9de7032b07835396c
parent9310c45e527d122abe363e9453be2e0c69ec4c28
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>
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
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