]> 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)
committerChris Cormack <chris@bigballofwax.co.nz>
Thu, 3 Sep 2009 22:23:10 +0000 (10:23 +1200)
commit30950409865df8d782dc34ec431e15cee7646041
treef427850b2a4b98cbb5d1c66a786532003fcffa2a
parentb3e0e2bfe10b6271dcac8f30cc23a13acc6b36f0
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>
C4/Koha.pm
C4/Search.pm
catalogue/detail.pl
catalogue/search.pl
members/moremember.pl
opac/opac-search.pl