tor.cgi: Show number of connected relays.

This commit is contained in:
Michael Tremer
2013-07-31 19:26:37 +02:00
parent cee75a0d96
commit f16bcc3e31

View File

@@ -509,10 +509,12 @@ END
my @nodes = &TorORConnStatus($torctrl);
if (@nodes) {
my $nodes_length = scalar @nodes;
print <<END;
<table width='100%'>
<tr>
<td colspan='3' class='base'><b>$Lang::tr{'tor connected relays'}</b></td>
<td width='40%' class='base'><b>$Lang::tr{'tor connected relays'}</b></td>
<td width='60%' colspan='2'>($nodes_length)</td>
</tr>
END