Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Enhance notability of current blacklist by diff color in header

reger24027e284ef90c
diff --git a/htroot/Blacklist_p.html b/htroot/Blacklist_p.html
index 3a9275d9b..70ee74f12 100644
--- a/htroot/Blacklist_p.html
+++ b/htroot/Blacklist_p.html
@@ -66,7 +66,7 @@
<br /><br />
#(disabled)#
<fieldset class="editList">
- <legend>Edit list <b><em>#[currentBlacklist]#</em></b></legend>
+ <legend>Edit list <b style="color: black"><em>#[currentBlacklist]#</em></b></legend>
<!-- Blacklist configuration -->
#(edit)#
@@ -175,7 +175,7 @@
</fieldset>
<fieldset class="listSettings">
- <legend>Settings for this list <b><em>#[currentBlacklist]#</em></b></legend>
+ <legend>Settings for this list <b style="color: black"><em>#[currentBlacklist]#</em></b></legend>
<form action="Blacklist_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<div>
<input type="hidden" name="selectedListName" value="#[currentBlacklist]#" />
diff --git a/source/net/yacy/repository/BlacklistHelper.java b/source/net/yacy/repository/BlacklistHelper.java
index aa2e140c2..a86836677 100644
--- a/source/net/yacy/repository/BlacklistHelper.java
+++ b/source/net/yacy/repository/BlacklistHelper.java
@@ -162,11 +162,10 @@ public final class BlacklistHelper {
// convert the loaded Map to the list used in this servlet
for (String it : blklist.keySet()) {
List<String> thevalue = blklist.get(it);
- String valstr = "";
+ // String valstr = "";
for (String valitem : thevalue) {
- valstr += "/" + valitem;
+ list.add(it + "/" + valitem);
}
- list.add(it + valstr);
}
// sort them
final String[] sortedlist = new String[list.size()];