*) 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.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4601 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 17 years ago
parent 8d6a13bc07
commit 8e889de50b

@ -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>

@ -83,6 +83,10 @@ public class SettingsAck_p {
// return variable that accumulates replacements
serverObjects 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) {

Loading…
Cancel
Save