mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 12:15:52 +02:00
GUI: Some simple FW-Log cosmetics
Fixed the 'details'-Button in 'firewalllogcountry.dat' by adding missing translation string. Each 'Loggraphs'-Page got a unique title and a new heading for the corresponding diagram. Just cosmetics... Best, Matthias Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
723d1d911f
commit
1bea8be2ce
@@ -213,7 +213,7 @@ if ($multifile) {
|
||||
my $MODNAME="fwlogs";
|
||||
|
||||
&Header::showhttpheaders();
|
||||
&Header::openpage($Lang::tr{'firewall log'}, 1, '');
|
||||
&Header::openpage($Lang::tr{'firewall log country'}, 1, '');
|
||||
&Header::openbigbox('100%', 'left', '', $errormessage);
|
||||
|
||||
|
||||
@@ -281,7 +281,7 @@ END
|
||||
|
||||
&Header::closebox();
|
||||
|
||||
&Header::openbox('100%', 'left', 'Firewall Logs');
|
||||
&Header::openbox('100%', 'left', $Lang::tr{'firewall graph country'});
|
||||
print "<p><b>$Lang::tr{'firewall hits'} $longmonthstr $daystr: $lines</b></p>";
|
||||
|
||||
my $red_interface = &General::get_red_interface();
|
||||
@@ -471,7 +471,7 @@ for($s=0;$s<$lines;$s++)
|
||||
print"<input type='hidden' name='MONTH' value='$cgiparams{'MONTH'}'>";
|
||||
print"<input type='hidden' name='DAY' value='$cgiparams{'DAY'}'>";
|
||||
print"<input type='hidden' name='country' value='$key[$s]'>";
|
||||
print"<input type='submit' value='details'></form>";
|
||||
print"<input type='submit' value='$Lang::tr{'details'}'></form>";
|
||||
}
|
||||
elsif ($key[$s] eq 'unknown') {
|
||||
print "unknown";
|
||||
|
||||
@@ -212,7 +212,7 @@ if ($multifile) {
|
||||
my $MODNAME="fwlogs";
|
||||
|
||||
&Header::showhttpheaders();
|
||||
&Header::openpage($Lang::tr{'firewall log'}, 1, '');
|
||||
&Header::openpage($Lang::tr{'firewall log ip'}, 1, '');
|
||||
&Header::openbigbox('100%', 'left', '', $errormessage);
|
||||
|
||||
|
||||
@@ -283,7 +283,7 @@ END
|
||||
|
||||
&Header::closebox();
|
||||
|
||||
&Header::openbox('100%', 'left', 'Firewall Logs');
|
||||
&Header::openbox('100%', 'left', $Lang::tr{'firewall graph ip'});
|
||||
print "<p><b>$Lang::tr{'firewall hits'} $longmonthstr $daystr: $lines</b></p>";
|
||||
|
||||
my $linesjc = 0;
|
||||
|
||||
@@ -213,7 +213,7 @@ if ($multifile) {
|
||||
my $MODNAME="fwlogs";
|
||||
|
||||
&Header::showhttpheaders();
|
||||
&Header::openpage($Lang::tr{'firewall log'}, 1, '');
|
||||
&Header::openpage($Lang::tr{'firewall log port'}, 1, '');
|
||||
&Header::openbigbox('100%', 'left', '', $errormessage);
|
||||
|
||||
if ($errormessage) {
|
||||
@@ -281,7 +281,7 @@ END
|
||||
|
||||
&Header::closebox();
|
||||
|
||||
&Header::openbox('100%', 'left', 'Firewall Logs');
|
||||
&Header::openbox('100%', 'left', $Lang::tr{'firewall graph port'});
|
||||
print "<p><b>$Lang::tr{'firewall hits'} $longmonthstr $daystr: $lines</b></p>";
|
||||
|
||||
my $linesjc = 0;
|
||||
|
||||
Reference in New Issue
Block a user