Bugzilla – Attachment 9333 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]
Bug 8019 - Preserve language choice between Browser sessions
Bug-8019---Preserve-language-choice-between-Browse.patch (text/plain), 1.15 KB, created by
Marc Véron
on 2012-04-27 22:58:12 UTC
(
hide
)
Description:
Bug 8019 - Preserve language choice between Browser sessions
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2012-04-27 22:58:12 UTC
Size:
1.15 KB
patch
obsolete
>From 3cf0dcc27d0fdab345739a0eb19c3c9cec634995 Mon Sep 17 00:00:00 2001 >From: Marc Veron <veron@veron.ch> >Date: Sat, 28 Apr 2012 00:48:28 +0200 >Subject: [PATCH] Bug 8019 - Preserve language choice between Browser sessions >Content-Type: text/plain; charset="utf-8" > >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 >--- > C4/Templates.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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.2.5
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