my $counter = 0;
&General::readhash("${General::swroot}/main/settings", \%mainsettings);
-&General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color);
+&General::readhash("/srv/web/ipfire/html/themes/ipfire/include/colors.txt", \%color);
&Header::showhttpheaders();
&Header::openbox('100%', 'center', $Lang::tr{'ssh host keys'});
-print "<table class='tbl'>\n";
+print "<table class='tbl' width='100%'>\n";
print <<END
<thead>
&Header::openbox('100%', 'center', $Lang::tr{'ssh active sessions'});
print <<END;
- <table class="tbl" width='66%'>
+ <table class="tbl" width="100%">
<thead>
<tr>
<th align="center">
if ( scalar(@output) == 0 )
{
# no logins appeared
- my $table_colour = ($id++ % 2) ? $color{'color22'} : $color{'color20'};
+ my $table_colour = ($id++ % 2) ? $color{'color20'} : $color{'color22'};
print "<tr bgcolor='$table_colour'><td colspan='5'>$Lang::tr{'ssh no active logins'}</td></tr>\n";
} else {
# list active logins...
my $rdns = gethostbyaddr($iaddr, AF_INET);
if (!$rdns) { $rdns = $Lang::tr{'ptr lookup failed'}; };
- my $table_colour = ($id++ % 2) ? $color{'color22'} : $color{'color20'};
+ my $table_colour = ($id++ % 2) ? $color{'color20'} : $color{'color22'};
print <<END;
<tr bgcolor='$table_colour'>