From a70b6e9dacbb2c5c57425df6ef30802115509645 Mon Sep 17 00:00:00 2001 From: mensonge Date: Mon, 12 Jan 2009 16:40:39 +0000 Subject: New Feature: adding private note to describe a bookmark. Just visible by the author and friends. (Useful for collaborative work) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@231 b3834d28-1941-0410-a4f8-b48e95affb8f --- importNetscape.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'importNetscape.php') diff --git a/importNetscape.php b/importNetscape.php index b720001..e7fe31f 100644 --- a/importNetscape.php +++ b/importNetscape.php @@ -84,6 +84,8 @@ if ($userservice->isLoggedOn() && sizeof($_FILES) > 0 && $_FILES['userfile']['si case "TAGS": $bCategories = $attrVal; break; + case "NOTE": + $bPrivateNote = $attrVal; } } $bTitle = trim($titles[$i]); @@ -100,7 +102,7 @@ if ($userservice->isLoggedOn() && sizeof($_FILES) > 0 && $_FILES['userfile']['si $bDatetime = gmdate('Y-m-d H:i:s'); } - if ($bookmarkservice->addBookmark($bAddress, $bTitle, $bDescription, $status, $bCategories, $bDatetime, false, true)) { + if ($bookmarkservice->addBookmark($bAddress, $bTitle, $bDescription, $bPrivateNote, $status, $bCategories, $bDatetime, false, true)) { $countImportedBookmarks++; } else { $tplVars['error'] = T_('There was an error saving your bookmark. Please try again or contact the administrator.'); -- cgit v1.2.3