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

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3558 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 4eecf0bb12
commit d59b31ec0c

@ -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>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> <p>
You cannot get global search results because you are not connected to another YaCy peer. 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> </p>
<form action="SettingsAck_p.html" method="get">
<input type="submit" name="pmode" value="go online">
</form>
:: ::
<p> <p>
You can enrich the search results by using the 'global' option; you must also switch to online mode You can enrich the search results by using the 'global' option; you must also switch to online mode

@ -429,13 +429,13 @@ public class yacysearch {
prop.put("type_resultbottomline", 1); prop.put("type_resultbottomline", 1);
prop.put("type_resultbottomline_globalresults", prop.get("num-results_globalresults", "0")); prop.put("type_resultbottomline_globalresults", prop.get("num-results_globalresults", "0"));
} else { } else {
prop.put("type_resultbottomline", 2); prop.put("type_resultbottomline", 0);
} }
} else { } else {
if (global) { if (global) {
prop.put("type_resultbottomline", 3); prop.put("type_resultbottomline", 3);
} else { } else {
prop.put("type_resultbottomline", 4); prop.put("type_resultbottomline", 0);
} }
} }

Loading…
Cancel
Save