From 6fba6e7cee07898770092c415cfb82303b71b9a5 Mon Sep 17 00:00:00 2001 From: lotus Date: Sun, 18 Sep 2011 16:59:01 +0000 Subject: [PATCH] fix: follow link target setting on image search git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7962 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacysearchitem.html | 4 ++-- htroot/yacysearchitem.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htroot/yacysearchitem.html b/htroot/yacysearchitem.html index 61bdad4cb..cd48cd43d 100644 --- a/htroot/yacysearchitem.html +++ b/htroot/yacysearchitem.html @@ -30,10 +30,10 @@ :: #(item)#::
- + #[name]# - + diff --git a/htroot/yacysearchitem.java b/htroot/yacysearchitem.java index e8be770ed..9a55175e8 100644 --- a/htroot/yacysearchitem.java +++ b/htroot/yacysearchitem.java @@ -217,6 +217,7 @@ public class yacysearchitem { sb.loader.loadIfNotExistBackground(ms.href.toNormalform(true, false), 1024 * 1024 * 10); prop.putHTML("content_item_hrefCache", (auth) ? "/ViewImage.png?url=" + ms.href.toNormalform(true, false) : ms.href.toNormalform(true, false)); prop.putHTML("content_item_href", ms.href.toNormalform(true, false)); + prop.putHTML("content_item_target", target); prop.put("content_item_code", license); prop.putHTML("content_item_name", shorten(ms.name, MAX_NAME_LENGTH)); prop.put("content_item_mimetype", ms.mime);