Bugzilla – Attachment 9401 Details for
Bug 8019
Preserve language choice between Browser sessions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Preserve language choice between Browser sessions
0001-Bug-8019-Preserve-language-choice-between-Browser-se.patch (text/plain), 1.18 KB, created by
Julian Maurice
on 2012-05-03 13:08:55 UTC
(
hide
)
Description:
[SIGNED-OFF] Preserve language choice between Browser sessions
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-05-03 13:08:55 UTC
Size:
1.18 KB
patch
obsolete
>From cdeafbd56d5866590b0404ef4d1aa5b16ec005f7 Mon Sep 17 00:00:00 2001 >From: Marc Veron <veron@veron.ch> >Date: Sat, 28 Apr 2012 00:48:28 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 8019 - Preserve language choice between Browser sessions > >Language choice in Opac an Staff client was not preserved between Browser sessions. >Changed expiry date of cookie 'KohaOpacLanguage' from '' (= expire after session) to '+3y' (3 years from now) > >To test: >- In a multilingual Koha istallation, choose a language. >- Log out, close all Browser instances. Go to login screen. Login should show up in same language as before. >- Repeat with other languages. > > modified: C4/Templates.pm > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > C4/Templates.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Templates.pm b/C4/Templates.pm >index d6e3ce4..47bda04 100644 >--- a/C4/Templates.pm >+++ b/C4/Templates.pm >@@ -300,7 +300,7 @@ sub setlanguagecookie { > my $cookie = $query->cookie( > -name => 'KohaOpacLanguage', > -value => $language, >- -expires => '' >+ -expires => '+3y' > ); > print $query->redirect( > -uri => $uri, >-- >1.7.10 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8019
:
9333
| 9401