Bug 8737 - Incorrect icon at login in staff client origin/new/bug_8737
authorMark Tompsett <mtompset@hotmail.com>
Fri, 7 Sep 2012 05:34:04 +0000 (13:34 +0800)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 3 Oct 2012 09:07:14 +0000 (11:07 +0200)
commit4c8cfd0c299157e012d462ea116798d55bc0a806
treec3289e0f2b85e34bc6e260a7b7d80ee67f4efc61
parent0a35b2671a69723df9dae23ab56f0fd19c7ff9b7
Bug 8737 - Incorrect icon at login in staff client

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.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Auth.pm