[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/networks/bittorrent/bTStats.m
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/networks/bittorrent/bTStats.ml |
Date: |
Wed, 31 Aug 2005 19:51:59 -0400 |
Index: mldonkey/src/networks/bittorrent/bTStats.ml
diff -u mldonkey/src/networks/bittorrent/bTStats.ml:1.2
mldonkey/src/networks/bittorrent/bTStats.ml:1.3
--- mldonkey/src/networks/bittorrent/bTStats.ml:1.2 Mon Aug 15 20:27:56 2005
+++ mldonkey/src/networks/bittorrent/bTStats.ml Wed Aug 31 23:51:58 2005
@@ -306,7 +306,7 @@
Buffer.add_string buf "\\<div class=\\\"cs\\\"\\>\n";
html_mods_table_one_row buf "csTable" "cs" [
("", "srh",
- Printf.sprintf "Session Uptime: %d days, %02dh:%02dm (= %d seconds)"
+ Printf.sprintf "BT - Session Uptime: %d days, %02dh:%02dm (= %d
seconds)"
days hours mins uptime); ];
Buffer.add_string buf "\\</div\\>\n";
stats_html_header buf;
@@ -399,7 +399,7 @@
Buffer.add_string buf "\\<div class=\\\"cs\\\"\\>\n";
html_mods_table_one_row buf "csTable" "cs" [
("", "srh",
- Printf.sprintf "Total Uptime: %d days, %02dh:%02dm (= %d seconds)"
+ Printf.sprintf "BT - Total Uptime: %d days, %02dh:%02dm (= %d
seconds)"
gdays ghours gmins (guptime() + uptime)); ];
Buffer.add_string buf "\\</div\\>\n";
@@ -476,7 +476,7 @@
end
else
begin
- Printf.bprintf buf "Session Uptime: %d days, %02dh:%02dm (= %d
seconds)\n"
+ Printf.bprintf buf "BT - Session Uptime: %d days, %02dh:%02dm (= %d
seconds)\n"
days hours mins uptime;
Printf.bprintf buf "Client Brand| seen | Downloads |
Uploads | Banned | Requests\n";
Printf.bprintf buf
"------------+--------------+--------------------+--------------------+------------+--------------\n";
@@ -517,7 +517,7 @@
let ghours = grem / one_hour in
let grem = grem - ghours * one_hour in
let gmins = grem / one_minute in
- Printf.bprintf buf "\nTotal Uptime: %d days, %02dh:%02dm (= %d
seconds)\n"
+ Printf.bprintf buf "\nBT - Total Uptime: %d days, %02dh:%02dm (= %d
seconds)\n"
gdays ghours gmins (guptime() + uptime);
Printf.bprintf buf "Client Brand| seen | Downloads |
Uploads | Banned | Requests\n";
Printf.bprintf buf
"------------+--------------+--------------------+--------------------+------------+--------------\n";