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.
73 lines
2.8 KiB
73 lines
2.8 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Blacklist Cleaner</title>
|
|
#%env/templates/metas.template%#
|
|
</head>
|
|
<body id="BlacklistCleaner">
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuBlacklist.template%#
|
|
|
|
<h2>Blacklist Cleaner</h2>
|
|
<p>Here you can remove or edit illegal or double blacklist-entries.</p>
|
|
|
|
<form action="BlacklistCleaner_p.html" method="post" enctype="multipart/form-data">#(disabled)#
|
|
<fieldset class="selectList"><legend>Check list</legend>
|
|
<div style="display:inline;">
|
|
<select name="listNames" size="1">#{blacklists}#
|
|
<option value="#[name]#"#(selected)#:: selected="selected"#(/selected)#>#[name]#</option>#{/blacklists}#
|
|
</select>
|
|
<br /><br />
|
|
<input type="checkbox" name="allowRegex" #(checked)#:: checked="checked"#(/checked)# />
|
|
Allow regular expressions in host part of blacklist entries.
|
|
<br /><br />
|
|
<input type="submit" name="list" value="Check" />
|
|
</div>::
|
|
<p class="error">The blacklist-cleaner only works for the following blacklist-engines up to now:</p>
|
|
<ul>#{engines}#
|
|
<li class="tt">#[name]#</li>#{/engines}#
|
|
</ul>::
|
|
#(/disabled)#
|
|
</fieldset>
|
|
|
|
#(results)#
|
|
::<!-- 1: Show results -->
|
|
<fieldset><legend>#[entries]# Illegal Entries in #[blList]# for #[blEngine]#</legend>
|
|
#(modified)#
|
|
::<p>Deleted #[delCount]# entries</p>
|
|
::<p>Altered #[alterCount]# entries!</p>
|
|
#(/modified)#
|
|
|
|
#(disabled)#
|
|
<dl>
|
|
#{entries}#
|
|
<dt>
|
|
<label for="select#[entry]#" class="error">
|
|
#(error)#Two wildcards in host-part
|
|
::<!-- no error, should never be visible -->
|
|
::Either subdomain <u>or</u> wildcard
|
|
::Path is invalid Regex
|
|
::Wildcard not on begin or end
|
|
::Host contains illegal chars
|
|
::Double
|
|
::Host is invalid Regex
|
|
#(/error)#
|
|
</label>
|
|
<input type="checkbox" name="select#[entry]#" id="select#[entry]#" checked="checked" />
|
|
</dt>
|
|
<dd><input type="text" name="entry#[entry]#" value="#[entry]#" size="50" /></dd>#{/entries}#
|
|
<dt> </dt>
|
|
<dd>
|
|
<input type="submit" name="alter" value="Change Selected" /> <input type="submit" name="delete" value="Delete Selected" />
|
|
</dd>
|
|
</dl>::#(/disabled)#
|
|
</fieldset>
|
|
::<!-- 2: Error -->
|
|
<span class="error">No Blacklist selected</span>
|
|
#(/results)#
|
|
</form>
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|