mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
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
This commit is contained in:
parent
ce2a76d603
commit
6fba6e7cee
|
@ -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>
|
||||
-->
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user