]> git.koha-community.org Git - koha.git/commit
fix for bug 1771: Template errors with remote itemtype image
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 4 Nov 2008 17:44:35 +0000 (18:44 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 4 Nov 2008 17:44:35 +0000 (18:44 +0100)
commit32796a847f793267aa72c1fe4315edf2ff49db09
treec79560a10ed18e73097ead5ee699eb6a0dae19c5
parente1cd39b1a1724e19d49515236d33b6bc083ea9b2
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>
Conflicts:

C4/Koha.pm
catalogue/search.pl
opac/opac-search.pl
C4/Koha.pm
members/moremember.pl
opac/opac-search.pl