Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) Added Lotus' patch (http://forum.yacy-websuche.de/viewtopic.php?t=979), user will be taken back to last opened page after making changes in Advanced Settings.
low0128e889de50bcb
diff --git a/htroot/SettingsAck_p.html b/htroot/SettingsAck_p.htmlindex 9d571ea1d..880adae07 100644--- a/htroot/SettingsAck_p.html+++ b/htroot/SettingsAck_p.html@@ -220,7 +220,7 @@::<!-- 31: Cralwer settings, maxFtpFileSize error --><p class="error">Invalid maximum file size for ftp crawler: <tt>#[crawler.http.maxFileSize]#</tt></p>#(/info)#- <p>You can now go back to the <a href="Settings_p.html">Settings</a> page if you want to make more changes.</p>+ <p>You can now go back to the <a href="#[referer]#">Settings</a> page if you want to make more changes.</p>#%env/templates/footer.template%#</body></html>diff --git a/htroot/SettingsAck_p.java b/htroot/SettingsAck_p.javaindex ef34338ca..2fbbf7a93 100644--- a/htroot/SettingsAck_p.java+++ b/htroot/SettingsAck_p.java@@ -83,6 +83,10 @@ public class SettingsAck_p {// return variable that accumulates replacementsserverObjects prop = new serverObjects();+ // get referer for backlink+ String referer = (String) header.get(httpHeader.REFERER);+ prop.put("referer", (referer == null) ? "Settings_p.html" : referer);+//if (post == null) System.out.println("POST: NULL"); else System.out.println("POST: " + post.toString());if (post == null) {