bug 2772: bad image location
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Mon, 10 Nov 2008 16:16:16 +0000 (17:16 +0100)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 6 Mar 2009 15:07:46 +0000 (09:07 -0600)
commite080066db4d8039a1b70f5782309a48ccd0923ca
tree48242bb02666e30c851691f9a36f7537f62be7fa
parent04f8382d5b4ac1262ac78262a1c7c018d6d87a25
bug 2772: 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.
Before this patch, always the "Alt" information was shown, because the url wasn't right.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/VirtualShelves/Page.pm
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl