Author: saces
Date: 2008-09-14 10:00:31 +0000 (Sun, 14 Sep 2008)
New Revision: 22649
Modified:
trunk/plugins/FMSPlugin/ui/Backup.java
trunk/plugins/FMSPlugin/ui/IdentityEditor.java
Log:
text fixes
removed debug output
Modified: trunk/plugins/FMSPlugin/ui/Backup.java
===================================================================
--- trunk/plugins/FMSPlugin/ui/Backup.java 2008-09-13 21:12:50 UTC (rev
22648)
+++ trunk/plugins/FMSPlugin/ui/Backup.java 2008-09-14 10:00:31 UTC (rev
22649)
@@ -179,7 +179,6 @@
}
if ("PublishTrustList".equals(name)) {
String val = currentItem.toString();
- System.out.println("PTL: "+val);
publishTL = "true".equals(val);
resetRecord();
return;
Modified: trunk/plugins/FMSPlugin/ui/IdentityEditor.java
===================================================================
--- trunk/plugins/FMSPlugin/ui/IdentityEditor.java 2008-09-13 21:12:50 UTC
(rev 22648)
+++ trunk/plugins/FMSPlugin/ui/IdentityEditor.java 2008-09-14 10:00:31 UTC
(rev 22649)
@@ -168,7 +168,7 @@
else
addForm.addChild("input", new String[] { "type",
"name", "value" }, new String[] { "checkbox", "publishTrustList", "false" });
addForm.addChild("br");
- addForm.addChild("input", new String[] { "type", "name",
"value" }, new String[] { "submit", "create", "Create a new identity !" });
+ addForm.addChild("input", new String[] { "type", "name",
"value" }, new String[] { "submit", "delete", "Delete identity" });
return addBox;
}
@@ -223,7 +223,7 @@
}
private static final HTMLNode createNewKnownIdentityBox(FMS fms, String
requestUri, List<String> errors) {
- HTMLNode addBox = fms.pm.getInfobox("New Identity");
+ HTMLNode addBox = fms.pm.getInfobox("Add Identity");
HTMLNode addContent = fms.pm.getContentNode(addBox);
if (errors != null) {
@@ -283,7 +283,7 @@
else
addForm.addChild("input", new String[] { "type",
"name", "value" }, new String[] { "checkbox", "publishTrustList", "false" });
addForm.addChild("br");
- addForm.addChild("input", new String[] { "type", "name",
"value" }, new String[] { "submit", "create", "Create a new identity !" });
+ addForm.addChild("input", new String[] { "type", "name",
"value" }, new String[] { "submit", "delete", "Delete identity" });
return addBox;
}
@@ -338,7 +338,6 @@
FMSIdentity templateId = new FMSIdentity(null, requestUri);
ObjectSet<FMSIdentity> toDelete =
fms.db_config.queryByExample(templateId);
- System.out.println("To delete: "+toDelete.size());
if (toDelete.size() > 0) {
for (FMSIdentity id:toDelete) {
fms.db_config.delete(id);
@@ -348,6 +347,4 @@
err.add("Identity ?"+requestUri+"? not found, nothing
deleted");
}
}
- //<table class="column">
-
}