From 53866c515064d0702af757f97695815589f3101a Mon Sep 17 00:00:00 2001 From: Nahuel Angelinetti Date: Mon, 10 Nov 2008 17:13:36 +0100 Subject: [PATCH] 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 --- koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl index 750101a899..76c540e320 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl @@ -121,7 +121,10 @@ $.tablesorter.addParser({ - " alt="" title="" /> + + " alt="" title="" /> + + "> -- 2.39.5