Author: nextgens
Date: 2008-01-03 16:15:23 +0000 (Thu, 03 Jan 2008)
New Revision: 16856

Modified:
   trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
Log:
ConnectionToadlet: don't display the "add a peer" box for opennet

Modified: trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2008-01-03 16:11:15 UTC (rev 16855)
+++ trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2008-01-03 16:15:23 UTC (rev 16856)
@@ -466,9 +466,10 @@
                        }
                        // END PEER TABLE
                }
-
-               drawAddPeerBox(contentNode, ctx);

+               if(!isOpennet())
+                       drawAddPeerBox(contentNode, ctx);
+               
                // our reference
                if(shouldDrawNoderefBox(advancedModeEnabled))
                        drawNoderefBox(contentNode, ctx);


Reply via email to