Skip to content

Commit

Permalink
FeedReader Bookmarks only for admin.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3843 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
allo committed Jun 9, 2007
1 parent 38c180b commit 256a3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htroot/Bookmarks.java
Expand Up @@ -264,7 +264,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
while(count<max_count && it.hasNext()){
bookmark=switchboard.bookmarksDB.getBookmark((String)it.next());
if(bookmark!=null){
if(bookmark.getFeed())
if(bookmark.getFeed() && isAdmin)
prop.put("bookmarks_"+count+"_link", "/FeedReader_p.html?url="+de.anomic.data.htmlTools.replaceXMLEntities(bookmark.getUrl()));
else
prop.put("bookmarks_"+count+"_link", de.anomic.data.htmlTools.replaceXMLEntities(bookmark.getUrl()));
Expand Down

0 comments on commit 256a3e7

Please sign in to comment.