Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

better display of embedded search results (no more comment on global search, if local was choosen on purpose)

orbiterd59b31ec0cd9
diff --git a/htroot/yacysearch.html b/htroot/yacysearch.html
index 19d722f81..7931a8a74 100644
--- a/htroot/yacysearch.html
+++ b/htroot/yacysearch.html
@@ -145,18 +145,11 @@ document.getElementById("Enter").value = "search again - catch up more links";
::
<p>The global search resulted in #[globalresults]# link contributions from other YaCy peers.</p>
::
- <p>You can enrich the search results by using the 'global' option: This will search also other YaCy peers</p>
+ <p></p>
::
<p>
You cannot get global search results because you are not connected to another YaCy peer.
- To connect you must first use the proxy.
- See here for an <a href="http://www.anomic.de/AnomicHTTPProxy/Installation.html#wininst">installation guide</a>.
- Alternatively, you can run the proxy in permanent online mode, which also grants global search.
- To do this, press this button:
</p>
- <form action="SettingsAck_p.html" method="get">
- <input type="submit" name="pmode" value="go online">
- </form>
::
<p>
You can enrich the search results by using the 'global' option; you must also switch to online mode
diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java
index 3fb725a63..2d03c87d6 100644
--- a/htroot/yacysearch.java
+++ b/htroot/yacysearch.java
@@ -429,13 +429,13 @@ public class yacysearch {
prop.put("type_resultbottomline", 1);
prop.put("type_resultbottomline_globalresults", prop.get("num-results_globalresults", "0"));
} else {
- prop.put("type_resultbottomline", 2);
+ prop.put("type_resultbottomline", 0);
}
} else {
if (global) {
prop.put("type_resultbottomline", 3);
} else {
- prop.put("type_resultbottomline", 4);
+ prop.put("type_resultbottomline", 0);
}
}