[freenet-cvs] r16860 - trunk/freenet/src/freenet/clients/http
nextgens at freenetproject.org
nextgens at freenetproject.org
Thu Jan 3 17:48:08 UTC 2008
Author: nextgens
Date: 2008-01-03 17:48:08 +0000 (Thu, 03 Jan 2008)
New Revision: 16860
Modified:
trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java
Log:
see http://archives.freenetproject.org/message/20080103.172411.d7a47d3e.en.html
Modified: trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java 2008-01-03 17:13:02 UTC (rev 16859)
+++ trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java 2008-01-03 17:48:08 UTC (rev 16860)
@@ -467,11 +467,11 @@
// END PEER TABLE
}
- drawAddPeerBox(contentNode, ctx);
-
// our reference
- if(shouldDrawNoderefBox(advancedModeEnabled))
+ if(shouldDrawNoderefBox(advancedModeEnabled)) {
+ drawAddPeerBox(contentNode, ctx);
drawNoderefBox(contentNode, ctx);
+ }
// our ports
HTMLNode portInfobox = contentNode.addChild("div", "class", "infobox infobox-normal");
Modified: trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java 2008-01-03 17:13:02 UTC (rev 16859)
+++ trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java 2008-01-03 17:48:08 UTC (rev 16860)
@@ -27,10 +27,6 @@
PeerNodeStatus peerNodeStatus, boolean fProxyJavascriptEnabled) {
// Do nothing - no private notes either (no such thing as negative trust in cyberspace)
}
-
- protected void drawAddPeerBox(HTMLNode contentNode, ToadletContext ctx) {
- // Do nothing - we don't want opennet-refs dealing
- }
protected boolean hasNameColumn() {
return false;
@@ -57,8 +53,7 @@
}
protected boolean shouldDrawNoderefBox(boolean advancedModeEnabled) {
- // Developers may want to see the noderef.
- return advancedModeEnabled;
+ return false;
}
protected boolean showPeerActionsBox() {
More information about the cvs
mailing list