From 58d7e6f1a65acaff33cc7e4fda5ff8cf84b75fd9 Mon Sep 17 00:00:00 2001 From: apfelmaennchen Date: Fri, 22 Aug 2008 18:19:21 +0000 Subject: [PATCH] - some small, rather optical changes to bookmarks git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5071 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Bookmarks.html | 13 ++++++++++--- htroot/Bookmarks.java | 8 ++++---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/htroot/Bookmarks.html b/htroot/Bookmarks.html index a49a9b003..a03f87b2f 100644 --- a/htroot/Bookmarks.html +++ b/htroot/Bookmarks.html @@ -7,7 +7,10 @@ - + #%env/templates/header.template%# #(mode)# @@ -17,7 +20,9 @@
  • Login
  • Add Bookmark
  • Import Bookmarks
  • -
  • Export Bookmarks
  • +
  • Bookmarks (XBEL)
  • +
  • Bookmarks (XML)
  • +
  • Bookmarks (RSS)
  • @@ -27,7 +32,9 @@

    diff --git a/htroot/Bookmarks.java b/htroot/Bookmarks.java index 1a0e28e65..c8965d7b1 100644 --- a/htroot/Bookmarks.java +++ b/htroot/Bookmarks.java @@ -131,11 +131,11 @@ public class Bookmarks { final String title=post.get("title"); final String description=post.get("description"); String tagsString = post.get("tags"); - final String pathString = post.get("path"); - tagsString=tagsString+","+pathString; - if(tagsString.equals("")){ - tagsString="/unsorted"; //default tag + String pathString = post.get("path"); + if(pathString.equals("")){ + pathString="/unsorted"; //default folder } + tagsString=tagsString+","+pathString; final Set tags=listManager.string2set(bookmarksDB.cleanTagsString(tagsString)); final bookmarksDB.Bookmark bookmark = sb.bookmarksDB.createBookmark(url, username); if(bookmark != null){