diff options
| author | Michael Peter Christen <mc@yacy.net> | 2013-11-13 13:38:01 +0100 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2013-11-13 13:38:01 +0100 |
| commit | 087df05e2418f5a60a0d17537172b73125654ace (patch) | |
| tree | 823674f833ef15c067bf166cefc9c00a2dadeb91 /htroot/ConfigNetwork_p.html | |
| parent | 1a4a69c226101ceaa6270c12cb1a5f1b0258ff88 (diff) | |
added option to Config_Network_p.html to enable remote search while
DHT-Receive is switched off.
Diffstat (limited to 'htroot/ConfigNetwork_p.html')
| -rw-r--r-- | htroot/ConfigNetwork_p.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/htroot/ConfigNetwork_p.html b/htroot/ConfigNetwork_p.html index 63551f477..364ea7eb3 100644 --- a/htroot/ConfigNetwork_p.html +++ b/htroot/ConfigNetwork_p.html @@ -11,17 +11,18 @@ if(!(dist || recv)) { //robinson-mode document.getElementById("ConfigForm").network[1].checked = true; - } - else { + } else { //p2p-mode document.getElementById("ConfigForm").network[0].checked = true; } + document.getElementById("ConfigForm").indexReceiveSearch[recv ? 0 : 1].checked = true; } function EnableRobinson() { if(document.getElementById("ConfigForm").network[1].checked) { document.getElementById("ConfigForm").indexDistribute.checked = false; document.getElementById("ConfigForm").indexReceive.checked = false; + document.getElementById("ConfigForm").indexReceiveSearch[1].checked = true; } } @@ -29,7 +30,7 @@ if(document.getElementById("ConfigForm").network[0].checked) { document.getElementById("ConfigForm").indexDistribute.checked = true; document.getElementById("ConfigForm").indexReceive.checked = true; - document.getElementById("ConfigForm").crawlResponse.checked = true; + document.getElementById("ConfigForm").indexReceiveSearch[0].checked = true; } } //--> @@ -143,7 +144,15 @@ <input type="radio" value="off" id="indexReceiveBlockBlacklistOff" name="indexReceiveBlockBlacklist" #(indexReceiveBlockBlacklistChecked.off)#::checked="checked" #(/indexReceiveBlockBlacklistChecked.off)#/> - <label for="indexReceiveBlockBlacklistOff">accept transmitted URLs that match your blacklist</label>. + <label for="indexReceiveBlockBlacklistOff">accept transmitted URLs that match your blacklist</label>.<br /> + <input type="radio" value="on" id="indexReceiveSearchOn" + name="indexReceiveSearch" + #(indexReceiveSearchChecked)#::checked="checked"#(/indexReceiveSearchChecked)#/> + <label for="indexReceiveSearchOn">allow</label> / + <input type="radio" value="off" id="indexReceiveSearchOff" + name="indexReceiveSearch" + #(indexReceiveSearchChecked)#checked="checked"::#(/indexReceiveSearchChecked)#/> + <label for="indexReceiveSearchOff">deny remote search</label>. </dd> <dt></dt> <dd> |
