]> git.koha-community.org Git - koha.git/commit
fix for bug 1771: Template errors with remote itemtype image
authorJesse Weaver <jesse.weaver@liblime.com>
Wed, 20 Aug 2008 18:21:50 +0000 (13:21 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 21 Aug 2008 21:50:29 +0000 (16:50 -0500)
commit7da895cda7a1e3afba3b6de55482d19e8e8bd9aa
tree1ee2af1399a924498dafba0841a9d2648962d1cc
parente957b3d3c71069b0debcf84d690ea44332279353
fix for bug 1771: Template errors with remote itemtype image

This adds a new function, getitemtypeimagelocation, that returns the image
unmodified for absolute urls and returns the proper intranet or opac path
otherwise. It also updates all of the relevant files to use that function.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 files changed:
C4/Items.pm
C4/Koha.pm
C4/Search.pm
admin/authorised_values.pl
admin/itemtypes.pl
catalogue/detail.pl
catalogue/search.pl
members/moremember.pl
opac/opac-detail.pl
opac/opac-readingrecord.pl
opac/opac-reserve.pl
opac/opac-search.pl
opac/opac-user.pl
reserve/request.pl
serials/subscription-bib-search.pl