diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-01-12 16:40:39 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-01-12 16:40:39 +0000 |
commit | a70b6e9dacbb2c5c57425df6ef30802115509645 (patch) | |
tree | a7420f5a4b8b7d85f05782c93a1ad64eecf37a02 /importNetscape.php | |
parent | 78b493f41c9490d3ef1c8c9f57c486ad40f9d152 (diff) | |
download | semanticscuttle-a70b6e9dacbb2c5c57425df6ef30802115509645.tar.gz semanticscuttle-a70b6e9dacbb2c5c57425df6ef30802115509645.tar.bz2 |
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
Diffstat (limited to 'importNetscape.php')
-rw-r--r-- | importNetscape.php | 4 |
1 files changed, 3 insertions, 1 deletions
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.'); |