Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix: follow link target setting on image search
lotus6fba6e7cee07
diff --git a/htroot/yacysearchitem.html b/htroot/yacysearchitem.htmlindex 61bdad4cb..cd48cd43d 100644--- a/htroot/yacysearchitem.html+++ b/htroot/yacysearchitem.html@@ -30,10 +30,10 @@</div>::#(item)#::<div class="thumbcontainer">- <a href="#[hrefCache]#" class="thumblink" onclick="return hs.expand(this)">+ <a href="#[hrefCache]#" target="#[target]#" class="thumblink" onclick="return hs.expand(this)"><img src="/ViewImage.png?maxwidth=96&maxheight=96&code=#[code]#" alt="#[name]#" /></a>- <div class="highslide-caption"><a href="#[href]#">#[name]#</a><br /><a href="#[source]#">#[sourcedom]#</a></div>+ <div class="highslide-caption"><a href="#[href]#" target="#[target]#">#[name]#</a><br /><a href="#[source]#" target="#[target]#">#[sourcedom]#</a></div><!--<div class="TableCellDark"><a href="#[href]#">#[name]#</a><br />#[attr]#</div>-->diff --git a/htroot/yacysearchitem.java b/htroot/yacysearchitem.javaindex 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);