Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) fixed "select all" and "deselect all"-button
low012012157c87f27
diff --git a/htroot/sharedBlacklist_p.html b/htroot/sharedBlacklist_p.htmlindex c01984116..b809e6ef0 100644--- a/htroot/sharedBlacklist_p.html+++ b/htroot/sharedBlacklist_p.html@@ -5,15 +5,15 @@#%env/templates/metas.template%#<script><!--- function selectall(){- var selectForm = document.forms[0];+ function selectall(name){+ var selectForm = document.forms.namedItem(name);var count = selectForm.elements["num"].value;for(i = 0; i<= count; i++){selectForm.elements["item" + i].checked = true;}}- function deselectall(){- var selectForm = document.forms[0];+ function deselectall(name){+ var selectForm = document.forms.namedItem(name);var count = selectForm.elements["num"].value;for(i = 0; i<= count; i++){selectForm.elements["item" + i].checked = false;@@ -51,7 +51,7 @@Parse Error! An error occured while parsing XML data. Please check if the XML is valid.#(/status)#</p>- <form action="sharedBlacklist_p.html" method="post" enctype="multipart/form-data">+ <form action="sharedBlacklist_p.html" method="post" enctype="multipart/form-data" name="blacklist_0"><input type="hidden" name="num" value="#[num]#" />#(page)#<!-- [0] --><table>@@ -83,8 +83,8 @@</tr>#{/urllist}#<tr class="small" style="background-color: #eeeeee"><td colspan="2">- <input type="button" onclick="selectall()" value="select all" />- <input type="button" onclick="deselectall()" value="deselect all" />+ <input type="button" onclick="selectall(this.form.name)" value="select all" />+ <input type="button" onclick="deselectall(this.form.name)" value="deselect all" /><input type="submit" value="add" name="add" /></td></tr>