Bugzilla – Attachment 12032 Details for
Bug 8737
Incorrect icon at login in staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Sets missing environment variable so correct icon is displayed.
0001-Bug-8737-Incorrect-icon-at-login-in-staff-client.patch (text/plain), 1.69 KB, created by
Mark Tompsett
on 2012-09-07 06:00:37 UTC
(
hide
)
Description:
Sets missing environment variable so correct icon is displayed.
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2012-09-07 06:00:37 UTC
Size:
1.69 KB
patch
obsolete
>From 59ee893fb337b1bf7ba9a39b6190e464d2de4b34 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Fri, 7 Sep 2012 13:34:04 +0800 >Subject: [PATCH] Bug 8737 - Incorrect icon at login in staff client >Content-Type: text/plain; charset="utf-8" > >Added the following missing code to ensure the correct icon >is used when logged out: > IntranetFavicon => C4::Context->preference('IntranetFavicon') >This was added into an existing $template->param() call. > >Not to be confused with the koha logo on the login page, the >icon is a 16x16 pixel graphic in the browser tab. The default >is found at .../intranet-tmpl/prog/en/includes/favicon.ico. > >If the "IntranetFavicon" system preference is set, it should be >used by the staff client regardless of login state. It was not >being used in the "AUTH rejected" section of Auth.pm, but the >OpacFavicon variable was being set. This explains why the >"OpacFavicon" system preference works for the OPAC client, but >not the staff client upon logout. >--- > C4/Auth.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 59c9955..fa6eacb 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -964,6 +964,7 @@ sub checkauth { > intranetstylesheet => C4::Context->preference("intranetstylesheet"), > intranetbookbag => C4::Context->preference("intranetbookbag"), > IntranetNav => C4::Context->preference("IntranetNav"), >+ IntranetFavicon => C4::Context->preference("IntranetFavicon"), > intranetuserjs => C4::Context->preference("intranetuserjs"), > IndependantBranches=> C4::Context->preference("IndependantBranches"), > AutoLocation => C4::Context->preference("AutoLocation"), >-- >1.7.9.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 8737
:
12032
|
12046