$Lang::tr{'this field may be blank'}
@@ -418,7 +473,7 @@ END
-
+
| |
|
@@ -429,13 +484,13 @@ END
# If we have a control connection, show the stats.
if ($torctrl) {
- &Header::openbox('100%', 'left', $Lang::tr{'tor stats'});
+ &Header::openbox('100%', 'center', $Lang::tr{'tor stats'});
my @traffic = &TorTrafficStats($torctrl);
if (@traffic) {
print <
+
END
if ($settings{'TOR_RELAY_ENABLED'} eq 'on') {
@@ -476,7 +531,7 @@ END
my $accounting = &TorAccountingStats($torctrl);
if ($accounting) {
print <
+
| $Lang::tr{'tor accounting'} |
@@ -527,7 +582,7 @@ END
if (@nodes) {
my $nodes_length = scalar @nodes;
print <
+
| $Lang::tr{'tor connected relays'} |
($nodes_length) |
@@ -546,7 +601,11 @@ END
END
if (exists($node->{'country_code'})) {
+ if ($node->{'country_code'} eq '??') {
+ print " ";
+ } else {
print " ";
+ }
}
print </dev/null");
}
+ # Update pid and memory
+ daemonstats();
}
sub TorConnect() {
|