[koha-commits] main Koha release repository branch new/bug_6755 updated. v3.04.00-583-g166f166
Git repo owner
gitmaster at git.koha-community.org
Mon Sep 26 12:26:34 CEST 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, new/bug_6755 has been updated
via 166f1668d83974f9728728d269136095395f5200 (commit)
from 3bb33fd666d4d0eea26114b373874189edc82459 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 166f1668d83974f9728728d269136095395f5200
Author: Frédéric Demians <f.demians at tamil.fr>
Date: Fri Sep 23 15:06:56 2011 +0200
Bug 6755 Web browser default lang != syspref selected langs
When Web browser default selected language doesn't belong to selected
languages list defined by syspref (language / opaclanguages), web pages
are returned in this language, which is wrong...
This patch get this behavior:
- If selected by user language is available (cookie), it is used.
- Otherwise, language is set to default web browser language.
- If this language doesn't belong to languages list (syspref),
English is selected
Some code cleanup.
To test properly: don't forget to delete your cookies, and to test what
happens without and with cookie.
-----------------------------------------------------------------------
Summary of changes:
C4/Languages.pm | 1 -
C4/Templates.pm | 160 ++++++++++++++++---------------------------------------
2 files changed, 46 insertions(+), 115 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list