[freenet-cvs] r14754 - trunk/freenet/src/freenet/clients/http

nextgens at freenetproject.org nextgens at freenetproject.org
Fri Aug 17 15:49:35 UTC 2007


Author: nextgens
Date: 2007-08-17 15:49:35 +0000 (Fri, 17 Aug 2007)
New Revision: 14754

Modified:
   trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
Log:
Display the config key on the ConfigToadlet if advanced mode is turned on

Modified: trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConfigToadlet.java	2007-08-17 15:03:23 UTC (rev 14753)
+++ trunk/freenet/src/freenet/clients/http/ConfigToadlet.java	2007-08-17 15:49:35 UTC (rev 14754)
@@ -162,7 +162,7 @@
 					
 					HTMLNode configItemNode = configGroupUlNode.addChild("li");
 					configItemNode.addChild("span", new String[]{ "class", "title", "style" },
-							new String[]{ "configshortdesc", L10n.getString("ConfigToadlet.defaultIs", new String[] { "default" }, new String[] { o[j].getDefault() }), 
+							new String[]{ "configshortdesc", L10n.getString("ConfigToadlet.defaultIs", new String[] { "default" }, new String[] { o[j].getDefault() }) + (advancedModeEnabled ? " ["+sc[i].getPrefix() + '.' + o[j].getName() + ']' : ""), 
 							"cursor: help;" }).addChild(L10n.getHTMLNode(o[j].getShortDesc()));
 					HTMLNode configItemValueNode = configItemNode.addChild("span", "class", "config");
 					if(o[j].getValueString() == null){




More information about the cvs mailing list