From a81dfc27ebee67f4e4045dd39d8a308176a87b2f Mon Sep 17 00:00:00 2001 From: reger Date: Fri, 2 May 2014 00:35:54 +0200 Subject: [PATCH 1/3] remove obsolet css class bookmarkfieldset --- htroot/Bookmarks.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 @@ - +
:: From 80e0ee92e59edf430511b45dfcaa84a3070ae3cb Mon Sep 17 00:00:00 2001 From: reger Date: Fri, 2 May 2014 01:15:03 +0200 Subject: [PATCH 2/3] adjust search page layout - search box to current style --- htroot/ConfigSearchPage_p.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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() {
- - +
+ +
+ +
+
   From 0d88f292dcbe716e09e636e54255036e8f7a942a Mon Sep 17 00:00:00 2001 From: Marc Nause Date: Fri, 2 May 2014 14:18:52 +0200 Subject: [PATCH 3/3] Key for parameter "blacklist name" is "list" in all servlets now. --- htroot/api/blacklists/add_entry_p.java | 2 +- htroot/api/blacklists/delete_entry_p.java | 2 +- htroot/api/blacklists/get_list_p.java | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) 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) {