Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
show "Augmented Browsing" link in search result only if urlproxy allowed and option switched on in layout (AugmentedBrowsing_p.html, ConfigSearchPage_p.html) as user only gets a error page if the option is not enabled
reger4c907bec89d0
diff --git a/htroot/yacysearchitem.java b/htroot/yacysearchitem.javaindex 41980c540..fb6d0ec23 100644--- a/htroot/yacysearchitem.java+++ b/htroot/yacysearchitem.java@@ -207,7 +207,7 @@ public class yacysearchitem {prop.put("content_showCitation", sb.getConfigBool("search.result.show.citation", true) ? 1 : 0);prop.put("content_showPictures", sb.getConfigBool("search.result.show.pictures", true) ? 1 : 0);prop.put("content_showCache", sb.getConfigBool("search.result.show.cache", true) && Cache.has(resultURL.hash()) ? 1 : 0);- prop.put("content_showProxy", sb.getConfigBool("search.result.show.proxy", true) ? 1 : 0);+ prop.put("content_showProxy", sb.getConfigBool("search.result.show.proxy", true) && sb.getConfigBool("proxyURL", false) ? 1 : 0);prop.put("content_showHostBrowser", sb.getConfigBool("search.result.show.hostbrowser", true) ? 1 : 0);prop.put("content_showVocabulary", sb.getConfigBool("search.result.show.vocabulary", true) ? 1 : 0);