diff options
| author | mikeworks <mikeworks@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-08-18 05:55:11 +0000 |
|---|---|---|
| committer | mikeworks <mikeworks@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-08-18 05:55:11 +0000 |
| commit | 2f8ff8ec02f42ad3bf9098e79dc09bfd46e72c92 (patch) | |
| tree | a9d4e0ff137513a8f93cde6abf5383ee53e69d5d /htroot/ConfigNetwork_p.html | |
| parent | 86d7f8a989fbd5b63c9d5fb46414581100763cb9 (diff) | |
de.lng: Added some German translation for Config* pages that I have found untranslated
ConfigNetwork_p.html: Updated Javascript for P2P <-> Robinson selection to use the new ID values - sorry for breaking this in 6996 (undoing id -> name changes again in 7041 and 7042 because the name tag is not allowed in XHMTL Strict 1.0)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7045 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/ConfigNetwork_p.html')
| -rw-r--r-- | htroot/ConfigNetwork_p.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/htroot/ConfigNetwork_p.html b/htroot/ConfigNetwork_p.html index efd45e15b..99bae70e1 100644 --- a/htroot/ConfigNetwork_p.html +++ b/htroot/ConfigNetwork_p.html @@ -6,30 +6,30 @@ <script type="text/javascript"> <!-- function CheckForRobinson() { - var dist = document.ConfigForm.indexDistribute.checked; - var recv = document.ConfigForm.indexReceive.checked; + var dist = document.getElementById("ConfigForm").indexDistribute.checked; + var recv = document.getElementById("ConfigForm").indexReceive.checked; if(!(dist || recv)) { //robinson-mode - document.ConfigForm.network[1].checked = true; + document.getElementById("ConfigForm").network[1].checked = true; } else { //p2p-mode - document.ConfigForm.network[0].checked = true; + document.getElementById("ConfigForm").network[0].checked = true; } } function EnableRobinson() { - if(document.ConfigForm.network[1].checked) { - document.ConfigForm.indexDistribute.checked = false; - document.ConfigForm.indexReceive.checked = false; + if(document.getElementById("ConfigForm").network[1].checked) { + document.getElementById("ConfigForm").indexDistribute.checked = false; + document.getElementById("ConfigForm").indexReceive.checked = false; } } function EnableP2P() { - if(document.ConfigForm.network[0].checked) { - document.ConfigForm.indexDistribute.checked = true; - document.ConfigForm.indexReceive.checked = true; - document.ConfigForm.crawlResponse.checked = true; + 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; } } //--> @@ -51,7 +51,7 @@ #(commitRobinsonWithRemoteIndexing)#::<div class="commit">This Robinson Mode switches remote indexing on, but limits targets to peers within the same cluster. Remote indexing requests from peers within the same cluster are accepted.</div>#(/commitRobinsonWithRemoteIndexing)# #(commitRobinsonWithoutRemoteIndexing)#::<div class="commit">This Robinson Mode does not allow any remote indexing (neither requests remote indexing, nor accepts it).</div>#(/commitRobinsonWithoutRemoteIndexing)# #(commitPasswordWarning)#::<div class="error">With this configuration it is not allowed to authentify automatically from localhost! Please open the <a href="ConfigAccounts_p.html">Account Configuration</a> and set a new password.</div>#(/commitPasswordWarning)# - <form name="NetworkForm" method="post" action="ConfigNetwork_p.html" enctype="multipart/form-data" accept-charset="UTF-8"> + <form id="NetworkForm" method="post" action="ConfigNetwork_p.html" enctype="multipart/form-data" accept-charset="UTF-8"> <fieldset> <legend> <label>Network and Domain Specification</label> @@ -96,7 +96,7 @@ a completely independent search engine instance, without any data exchange between your peer and other peers, which we call a 'Robinson' peer. </p> - <form name="ConfigForm" method="post" action="ConfigNetwork_p.html" enctype="multipart/form-data" accept-charset="UTF-8"> + <form id="ConfigForm" method="post" action="ConfigNetwork_p.html" enctype="multipart/form-data" accept-charset="UTF-8"> <fieldset> <legend> <input type="radio" name="network" id="p2p" onclick="EnableP2P()" value="p2p"#(p2p.checked)#:: checked="checked"#(/p2p.checked)# /> |
