diff --git a/htroot/Bookmarks.html b/htroot/Bookmarks.html index 8da791b93..96f258dc9 100644 --- a/htroot/Bookmarks.html +++ b/htroot/Bookmarks.html @@ -92,17 +92,18 @@ +

#(edit)# -

+ :: -

+ #(/edit)# +

::
-
Import XML Bookmarks
@@ -122,9 +123,8 @@
- +
-
@@ -153,7 +153,7 @@ - +
:: diff --git a/htroot/ConfigSearchPage_p.html b/htroot/ConfigSearchPage_p.html index 9f55dfb39..ce4a62555 100644 --- a/htroot/ConfigSearchPage_p.html +++ b/htroot/ConfigSearchPage_p.html @@ -90,8 +90,12 @@ $(function() {
- - +
+ +
+ +
+
   diff --git a/htroot/api/blacklists/add_entry_p.java b/htroot/api/blacklists/add_entry_p.java index f5d7c081c..c9d3e5035 100644 --- a/htroot/api/blacklists/add_entry_p.java +++ b/htroot/api/blacklists/add_entry_p.java @@ -14,7 +14,7 @@ public class add_entry_p { private static final String RESULT_SUCCESS = "1"; private static final String XML_ITEM_STATUS = "status"; private static final String KEY_NEW_ENTRY = "entry"; - private static final String KEY_CURRENT_BLACKLIST = "blacklist"; + private static final String KEY_CURRENT_BLACKLIST = "list"; public static serverObjects respond(final RequestHeader header, final serverObjects post, @SuppressWarnings("unused") final serverSwitch env) { diff --git a/htroot/api/blacklists/delete_entry_p.java b/htroot/api/blacklists/delete_entry_p.java index a6844f05b..693ed9abf 100644 --- a/htroot/api/blacklists/delete_entry_p.java +++ b/htroot/api/blacklists/delete_entry_p.java @@ -14,7 +14,7 @@ public class delete_entry_p { private static final String RESULT_SUCCESS = "1"; private static final String XML_ITEM_STATUS = "status"; private static final String KEY_NEW_ENTRY = "entry"; - private static final String KEY_CURRENT_BLACKLIST = "blacklist"; + private static final String KEY_CURRENT_BLACKLIST = "list"; public static serverObjects respond(final RequestHeader header, final serverObjects post, @SuppressWarnings("unused") final serverSwitch env) { diff --git a/htroot/api/blacklists/get_list_p.java b/htroot/api/blacklists/get_list_p.java index c33bf90dc..076cefc90 100644 --- a/htroot/api/blacklists/get_list_p.java +++ b/htroot/api/blacklists/get_list_p.java @@ -13,6 +13,7 @@ import net.yacy.server.serverSwitch; public class get_list_p { + private static final String KEY_CURRENT_BLACKLIST = "list"; private static final String ITEMS = "items"; private static final String POSTFIX_ITEM = "_item"; private static final String PREFIX_ITEMS = "items_"; @@ -31,7 +32,7 @@ public class get_list_p { final Collection dirlist = FileUtils.getDirListing(ListManager.listsPath, Blacklist.BLACKLIST_FILENAME_FILTER); - final String blackListName = (post == null) ? "" : post.get("name", ""); + final String blackListName = (post == null) ? "" : post.get(KEY_CURRENT_BLACKLIST, ""); int count; if (dirlist != null) {