diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2007-05-10 13:27:38 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2007-05-10 13:27:38 +0000 |
| commit | 85035dc3195c276eb63ca86d88b78071095b83a5 (patch) | |
| tree | 58eadc839ccbd97464aaca7e2dd7c06909dc81d7 /htroot/ConfigNetwork_p.html | |
| parent | 709b4c19051da623a408950e399648fa01bf85ed (diff) | |
addition to svn 3699: check send/receive if p2p-mode is activated
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3701 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/ConfigNetwork_p.html')
| -rw-r--r-- | htroot/ConfigNetwork_p.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/htroot/ConfigNetwork_p.html b/htroot/ConfigNetwork_p.html index 08e10a3af..23078a22d 100644 --- a/htroot/ConfigNetwork_p.html +++ b/htroot/ConfigNetwork_p.html @@ -24,6 +24,13 @@ document.ConfigForm.indexReceive.checked = false; } } + + function EnableP2P() { + if(document.ConfigForm.network[0].checked) { + document.ConfigForm.indexDistribute.checked = true; + document.ConfigForm.indexReceive.checked = true; + } + } //--> </script> </head> @@ -50,7 +57,7 @@ <form name="ConfigForm" method="post" action="ConfigNetwork_p.html" enctype="multipart/form-data" accept-charset="UTF-8"> <fieldset> <legend> - <input type="radio" name="network" id="p2p" value="p2p"#(p2p.checked)#:: checked="checked"#(/p2p.checked)# /> + <input type="radio" name="network" id="p2p" onclick="EnableP2P()" value="p2p"#(p2p.checked)#:: checked="checked"#(/p2p.checked)# /> <label for="p2p">Peer-to-Peer Mode</label> </legend> <dl> |
