|
|
@ -117,10 +117,13 @@ public class Bookmarks {
|
|
|
|
prop.put("address", address);
|
|
|
|
prop.put("address", address);
|
|
|
|
|
|
|
|
|
|
|
|
//defaultvalues
|
|
|
|
//defaultvalues
|
|
|
|
if(isAdmin)
|
|
|
|
if(isAdmin) {
|
|
|
|
prop.put("mode", "1");
|
|
|
|
prop.put("mode", "1");
|
|
|
|
else
|
|
|
|
prop.put("admin", "1");
|
|
|
|
|
|
|
|
} else {
|
|
|
|
prop.put("mode", "0");
|
|
|
|
prop.put("mode", "0");
|
|
|
|
|
|
|
|
prop.put("admin", "0");
|
|
|
|
|
|
|
|
}
|
|
|
|
prop.put("mode_edit", "0");
|
|
|
|
prop.put("mode_edit", "0");
|
|
|
|
prop.put("mode_title", "");
|
|
|
|
prop.put("mode_title", "");
|
|
|
|
prop.put("mode_description", "");
|
|
|
|
prop.put("mode_description", "");
|
|
|
@ -315,7 +318,7 @@ public class Bookmarks {
|
|
|
|
tagCount=0;
|
|
|
|
tagCount=0;
|
|
|
|
while (tagsIt.hasNext()) {
|
|
|
|
while (tagsIt.hasNext()) {
|
|
|
|
String tname = tagsIt.next();
|
|
|
|
String tname = tagsIt.next();
|
|
|
|
if (!tname.startsWith("/")) {
|
|
|
|
if ((!tname.startsWith("/")) && (!tname.equals(""))) {
|
|
|
|
prop.put("bookmarks_"+count+"_tags_"+tagCount+"_tag", tname);
|
|
|
|
prop.put("bookmarks_"+count+"_tags_"+tagCount+"_tag", tname);
|
|
|
|
tagCount++;
|
|
|
|
tagCount++;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -389,7 +392,7 @@ public class Bookmarks {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
while(it.hasNext()){
|
|
|
|
while(it.hasNext()){
|
|
|
|
tag=(Tag) it.next();
|
|
|
|
tag=(Tag) it.next();
|
|
|
|
if (!tag.getTagName().startsWith("/")) {
|
|
|
|
if ((!tag.getTagName().startsWith("/")) && (!tag.getTagName().equals(""))) {
|
|
|
|
prop.putHTML(id+"_"+count+"_name", tag.getFriendlyName());
|
|
|
|
prop.putHTML(id+"_"+count+"_name", tag.getFriendlyName());
|
|
|
|
prop.putHTML(id+"_"+count+"_tag", tag.getTagName());
|
|
|
|
prop.putHTML(id+"_"+count+"_tag", tag.getTagName());
|
|
|
|
prop.put(id+"_"+count+"_num", tag.size());
|
|
|
|
prop.put(id+"_"+count+"_num", tag.size());
|
|
|
|