yacy_search_server/htroot/BlacklistCleaner_p.html
low012 a6a3090c3d *) blacklist cleaner supports usage of regular expressions now
*) refacored BlacklistCleaner_p.java for better readability
*) moved check of validity of patterns to the Balcklist implementation since patterns might be valid in one implementation, but not in another
*) added method to check validity to Blacklist interface
*) fixed some minor issues like typos or wrong whitespaces
*) set subversion properties for a whole bunch of files

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6359 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-09-29 21:28:49 +00:00

73 lines
2.8 KiB
HTML

<!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>&nbsp;</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>