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)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 28 Oct 2008 21:09:24 +0000 (22:09 +0100)
commit102792a89f2cbff8c95f2c343d6bd069a8de54dc
treef00fa700f75f08718efc7240404247fc1a5e7247
parent27398a9b5346ed79c841d27a176d6d2bf45d2393
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