bad image location
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Mon, 10 Nov 2008 16:13:36 +0000 (17:13 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Fri, 6 Mar 2009 09:53:00 +0000 (10:53 +0100)
commit53866c515064d0702af757f97695815589f3101a
tree3caf5a8f05e0ca3ddc00486da03c8a438ff36636
parent12b2e9b4f20aaec9ec1cd6b962a05a0455b3262a
bad image location

This patch make Page.pm to use the getitemtypeinfo function to generate the imageurl, and check (in the template) if an
image is set.
I backported a function from koha3.2, and the use of URI::Split.
Before this patch, always the "Alt" information was shown, because the url wasn't right.

Please enter the commit message for your changes.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl