]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - html/cgi-bin/logs.cgi/firewalllogport.dat
firewalllog*.cgi and country.cgi: Use language strings, and align graphs
[people/teissler/ipfire-2.x.git] / html / cgi-bin / logs.cgi / firewalllogport.dat
index 9f7ce3a11375e1fe1ab67e557e18789062503f27..5b0db62314df237f3db248040b7e14815e722caa 100644 (file)
@@ -400,17 +400,17 @@ if ($showpie != 2 && $pienumber <= 50 && $pienumber != 0) {
         print FILE $myimage->png;
         close(FILE);
         #####################################################
-        print "<table align='center'><tr><td>";
+        print "<div style='text-align:center'>";
         print "<img src='/graphs/fwlog-port$imagerandom.png'>";
-        print "</td></tr></table>";
+        print "</div>";
 }
 
 print <<END
-<table width='100%' CLASS='tbl'>
+<table width='100%' class='tbl'>
 <tr>
 <th width='10%' align='center' class='boldbase'></th>
 <th width='33%' align='center' class='boldbase'><b>$Lang::tr{'port'}</b></th>
-<th width='33%' align='center' class='boldbase'><b>count</b></th>
+<th width='33%' align='center' class='boldbase'><b>$Lang::tr{'count'}</b></th>
 <th width='33%' align='center' class='boldbase'><b>$Lang::tr{'percentage'}</b></th>
 </tr>
 END
@@ -437,7 +437,7 @@ for($s=0;$s<$lines;$s++)
   print "<tr>";
 
   $color++;
-  print "<td align='center' $col><form method='post' action='showrequestfromport.dat'><input type='hidden' name='MONTH' value='$cgiparams{'MONTH'}'> <input type='hidden' name='DAY' value='$cgiparams{'DAY'}'> <input type='hidden' name='port' value='$key[$s]'> <input type='submit' value='details'></form></td>";
+  print "<td align='center' $col><form method='post' action='showrequestfromport.dat'><input type='hidden' name='MONTH' value='$cgiparams{'MONTH'}'> <input type='hidden' name='DAY' value='$cgiparams{'DAY'}'> <input type='hidden' name='port' value='$key[$s]'> <input type='submit' value='$Lang::tr{'details'}'></form></td>";
   print "<td align='center' $col>$key[$s]</td>";
   print "<td align='center' $col>$value[$s]</td>";
   print "<td align='center' $col>$percent</td>";