|
|
|
@ -26,6 +26,7 @@ import java.util.HashMap;
|
|
|
|
|
import java.util.Iterator;
|
|
|
|
|
|
|
|
|
|
import net.yacy.cora.protocol.RequestHeader;
|
|
|
|
|
import net.yacy.data.TransactionManager;
|
|
|
|
|
import net.yacy.http.ReferrerPolicy;
|
|
|
|
|
import net.yacy.peers.Network;
|
|
|
|
|
import net.yacy.peers.Seed;
|
|
|
|
@ -47,6 +48,9 @@ public final class Settings_p {
|
|
|
|
|
|
|
|
|
|
final String page = (post == null) ? "general" : post.get("page", "general");
|
|
|
|
|
|
|
|
|
|
/* Acquire a transaction token for the next possible POST form submission */
|
|
|
|
|
prop.put(TransactionManager.TRANSACTION_TOKEN_PARAM, TransactionManager.getTransactionToken(header, "/SettingsAck_p.html"));
|
|
|
|
|
|
|
|
|
|
if (page.equals("ProxyAccess")) {
|
|
|
|
|
prop.put("settingsTables", "Settings_ProxyAccess.inc");
|
|
|
|
|
}
|
|
|
|
|