r26803 - in trunk/freenet/src/freenet: clients/http node
[email protected] Tue, 14 Apr 2009 19:42:12 +0000
| Newsgroups | gmane.network.freenet.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dconrado
Date: 2009-04-14 19:42:11 +0000 (Tue, 14 Apr 2009)
New Revision: 26803
Modified:
trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
trunk/freenet/src/freenet/node/PeerNodeStatus.java
Log:
Show total data transferred to/from a peer over its entire lifetime. Adding a new column on Connections to friends/strangers in advanced interface mode with total traffic since source after total traffic.
Modified: trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java 2009-04-14 19:40:05 UTC (rev 26802)
+++ trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java 2009-04-14 19:42:11 UTC (rev 26803)
@@ -401,7 +401,7 @@
peerTableHeaderRow.addChild("th").addChild("a", "href", sortString(isReversed, "idle")).addChild("span", new String[] { "title", "style" }, new String[] { l10n("idleTime"), "border-bottom: 1px dotted; cursor: help;" }, l10n("idleTimeTitle"));
if(hasPrivateNoteColumn())
peerTableHeaderRow.addChild("th").addChild("a", "href", sortString(isReversed, "privnote")).addChild("span", new String[] { "title", "style" }, new String[] { l10n("privateNote"), "border-bottom: 1px dotted; cursor: help;" }, l10n("privateNoteTitle"));
-
+
if(mode >= PageMaker.MODE_ADVANCED) {
peerTableHeaderRow.addChild("th").addChild("a", "href", sortString(isReversed, "time_routable")).addChild("#", "%\u00a0Time Routable");
peerTableHeaderRow.addChild("th").addChild("a", "href", sortString(isReversed, "selection_percentage")).addChild("#", "%\u00a0Selection");
Modified: trunk/freenet/src/freenet/node/PeerNodeStatus.java
===================================================================
--- trunk/freenet/src/freenet/node/PeerNodeStatus.java 2009-04-14 19:40:05 UTC (rev 26802)
+++ trunk/freenet/src/freenet/node/PeerNodeStatus.java 2009-04-14 19:42:11 UTC (rev 26803)
@@ -2,7 +2,7 @@
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for further details of the GPL. */
package freenet.node;
-
+
import java.util.Map;
import freenet.clients.http.DarknetConnectionsToadlet;