I altered 'firewalllogcountry.dat', 'firewalllogip.dat', 'firewalllogport.dat' in the same manner as the 'Loggraphs'-Pages in commit http://git.ipfire.org/?p=people/mfischer/ipfire-2.x.git;a=commit;h=f6a956424...
Each 'Details'-page got a unique title.
Furthermore, I added a 'Back'-Button to go back to the page before. For this, I used 'back.png' from 'wio' (thanks Stephan! ;-) ) since I found no other appropriate image.
Best, Matthias
Signed-off-by: Matthias Fischer matthias.fischer@ipfire.org --- html/cgi-bin/logs.cgi/showrequestfromcountry.dat | 7 +++++-- html/cgi-bin/logs.cgi/showrequestfromip.dat | 6 ++++-- html/cgi-bin/logs.cgi/showrequestfromport.dat | 6 ++++-- html/html/images/back.png | Bin 0 -> 315 bytes 4 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 html/html/images/back.png
diff --git a/html/cgi-bin/logs.cgi/showrequestfromcountry.dat b/html/cgi-bin/logs.cgi/showrequestfromcountry.dat index cd97f8780..5a53fa6df 100644 --- a/html/cgi-bin/logs.cgi/showrequestfromcountry.dat +++ b/html/cgi-bin/logs.cgi/showrequestfromcountry.dat @@ -233,7 +233,7 @@ if ($multifile) { }
&Header::showhttpheaders(); -&Header::openpage($Lang::tr{'firewall log'}, 1, ''); +&Header::openpage($Lang::tr{'firewall log country'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage);
if ($errormessage) { @@ -292,7 +292,7 @@ END
&Header::closebox();
-&Header::openbox('100%', 'left', $Lang::tr{'firewall log'}); +&Header::openbox('100%', 'left', $Lang::tr{'firewall log country'}); print "<p><b>$Lang::tr{'firewall hits'} $longmonthstr $daystr: $lines</b></p>";
if ($start == -1) { @@ -415,6 +415,9 @@ END
&oldernewer();
+ print"<table width='100%'><tr><td><a href='/cgi-bin/logs.cgi/firewalllogcountry.dat'><img src='/images/back.png' alt='$Lang::tr{'back'}' title='$Lang::tr{'back'}' /></a></td></tr></table>"; + + &Header::closebox();
&Header::closebigbox(); diff --git a/html/cgi-bin/logs.cgi/showrequestfromip.dat b/html/cgi-bin/logs.cgi/showrequestfromip.dat index 154fa4030..c73724ad5 100644 --- a/html/cgi-bin/logs.cgi/showrequestfromip.dat +++ b/html/cgi-bin/logs.cgi/showrequestfromip.dat @@ -194,7 +194,7 @@ if ($multifile) { }
&Header::showhttpheaders(); -&Header::openpage($Lang::tr{'firewall log'}, 1, ''); +&Header::openpage($Lang::tr{'firewall log ip'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage);
if ($errormessage) { @@ -252,7 +252,7 @@ END
&Header::closebox();
-&Header::openbox('100%', 'left', $Lang::tr{'firewall log'}); +&Header::openbox('100%', 'left', $Lang::tr{'firewall log ip'}); print "<p><b>$Lang::tr{'firewall hits'} $longmonthstr $daystr: $lines</b></p>";
if ($start == -1) { @@ -357,6 +357,8 @@ END
&oldernewer();
+ print"<table width='100%'><tr><td><a href='/cgi-bin/logs.cgi/firewalllogip.dat'><img src='/images/back.png' alt='$Lang::tr{'back'}' title='$Lang::tr{'back'}' /></a></td></tr></table>"; + &Header::closebox();
&Header::closebigbox(); diff --git a/html/cgi-bin/logs.cgi/showrequestfromport.dat b/html/cgi-bin/logs.cgi/showrequestfromport.dat index e1f00aed8..777805078 100644 --- a/html/cgi-bin/logs.cgi/showrequestfromport.dat +++ b/html/cgi-bin/logs.cgi/showrequestfromport.dat @@ -202,7 +202,7 @@ if ($multifile) { }
&Header::showhttpheaders(); -&Header::openpage($Lang::tr{'firewall log'}, 1, ''); +&Header::openpage($Lang::tr{'firewall log port'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage);
if ($errormessage) { @@ -260,7 +260,7 @@ END
&Header::closebox();
-&Header::openbox('100%', 'left', $Lang::tr{'firewall log'}); +&Header::openbox('100%', 'left', $Lang::tr{'firewall log port'}); print "<p><b>$Lang::tr{'firewall hits'} $longmonthstr $daystr: $lines</b></p>";
if ($start == -1) { @@ -367,6 +367,8 @@ END
&oldernewer();
+ print"<table width='100%'><tr><td><a href='/cgi-bin/logs.cgi/firewalllogport.dat'><img src='/images/back.png' alt='$Lang::tr{'back'}' title='$Lang::tr{'back'}' /></a></td></tr></table>"; + &Header::closebox();
&Header::closebigbox(); diff --git a/html/html/images/back.png b/html/html/images/back.png new file mode 100644 index 0000000000000000000000000000000000000000..66921afb2ab5d73312b3498d0b5a2a2a28a6a657 GIT binary patch literal 315 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`Gj>?NMQuI%?&_&NCG=N~`J4;11o z@Q5sCU|>xIVMfLqwI6|kEa{HEjtmSN`?>!lvI6<1JY5_^DsH`<V#w8EAmU;h%;J2B zW1a(x;ym9C7Y^N%UgF2a&HunR?V?jm@9y{;Dbn39@11FO5kC7_=4a3KkM0lL4S1NR z1xSASV9^&Cdws<!uBhx70}G@0_T`yQmrYK5mgzBEl368Glcd+)YnX9c%r#J<FS+2H zVvEDH)aaRq=CrNd`eGMfYGj_O=F?fVGY{?Ioc3_v`-M}Yygeu7sD{rxw1(-_hSffa zhdB1g2X64@`!<v9_eG8K2mI%CB~N=a^}x|PVt39e|JeV4HOP6=!~YXmRe`=@@O1Ta JS?83{1ON-SdV2r>
literal 0 HcmV?d00001