You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.6 KiB
66 lines
1.6 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Shared Blacklist</title>
|
|
#[metas]#
|
|
<script>
|
|
<!--
|
|
function selectall(){
|
|
for(i = 1; i<= document.getElementsByName("num")[0].value; i++){
|
|
document.getElementsByName(i)[0].checked = true;
|
|
}
|
|
}
|
|
-->
|
|
</script>
|
|
</head>
|
|
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
|
|
#[header]#
|
|
<br><br>
|
|
<h2>Add Items to Blacklist</h2>
|
|
|
|
#(page)#
|
|
<p>This are all new Blacklist Entries from "#[name]#":</p>
|
|
::
|
|
#(/page)#
|
|
<p>
|
|
#(status)#
|
|
::
|
|
#{list}#
|
|
<b>#[entry]#</b> was added to your Blacklist.<br>
|
|
#{/list}#
|
|
::
|
|
File Error! Wrong Path?
|
|
::
|
|
YaCy-Peer "#[name]#" not found.
|
|
::
|
|
URL "#[address]#" not found or empty list.
|
|
::
|
|
Wrong Invocation! Please invoke with sharedBlacklist.html?name=PeerName
|
|
#(/status)#
|
|
</p>
|
|
|
|
<form action="sharedBlacklist_p.html" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" name="num" value="#[num]#">
|
|
<input type="hidden" name="filename" value="#[filename]#">
|
|
<p>
|
|
#(page)#
|
|
<table border="1" cellspacing="1" cellpadding="3">
|
|
<tr><th>Hostname/File/URL</th><th width="100%" align="left">Blocked Server</th><th> </th></tr>
|
|
#{urllist}#
|
|
<tr>
|
|
<td>#[name]#</td>
|
|
<td>#[url]#</td>
|
|
<td><input type="checkbox" name="#[count]#" value="#[url]#"></td>
|
|
</tr>
|
|
#{/urllist}#
|
|
<tr><td colspan="3"><input type="button" onclick="selectall()" value="select all"><br><input type="submit" value="add" name="add"></td></tr>
|
|
</table>
|
|
::
|
|
#(/page)#
|
|
</p>
|
|
</form>
|
|
|
|
#[footer]#
|
|
</body>
|
|
</html>
|