Bugzilla – Attachment 7815 Details for
Bug 7579
Icons for authorized values/item types not showing in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed off] Bug 7579 - Icons for authorized values/item types not showing in OPAC
0001-Bug-7579-Icons-for-authorized-values-item-types-not-.patch (text/plain), 1.40 KB, created by
Julian Maurice
on 2012-02-23 08:51:49 UTC
(
hide
)
Description:
[Signed off] Bug 7579 - Icons for authorized values/item types not showing in OPAC
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-02-23 08:51:49 UTC
Size:
1.40 KB
patch
obsolete
>From 9cf8fc3e084e88864b119dbda990fa6b2467aa2a Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 22 Feb 2012 10:08:24 -0500 >Subject: [PATCH] Bug 7579 - Icons for authorized values/item types not > showing in OPAC > >The functions getitemtypeimagedir and getitemtypeimagesrc >in Koha.pm were using the system preference 'template' >when they should be using 'opacthemes' instead. > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > C4/Koha.pm | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Koha.pm b/C4/Koha.pm >index 976b46a..43bfdf5 100644 >--- a/C4/Koha.pm >+++ b/C4/Koha.pm >@@ -452,7 +452,7 @@ sub getitemtypeimagedir { > if ($src eq 'intranet') { > return C4::Context->config('intrahtdocs') . '/' .C4::Context->preference('template') . '/img/itemtypeimg'; > } else { >- return C4::Context->config('opachtdocs') . '/' . C4::Context->preference('template') . '/itemtypeimg'; >+ return C4::Context->config('opachtdocs') . '/' . C4::Context->preference('opacthemes') . '/itemtypeimg'; > } > } > >@@ -461,7 +461,7 @@ sub getitemtypeimagesrc { > if ($src eq 'intranet') { > return '/intranet-tmpl' . '/' . C4::Context->preference('template') . '/img/itemtypeimg'; > } else { >- return '/opac-tmpl' . '/' . C4::Context->preference('template') . '/itemtypeimg'; >+ return '/opac-tmpl' . '/' . C4::Context->preference('opacthemes') . '/itemtypeimg'; > } > } > >-- >1.7.9 >
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 7579
:
7803
| 7815