mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
WIO: patch log.dat to show wio logs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
0d6cc79d98
commit
dec5269370
@@ -50,6 +50,7 @@ $cgiparams{'SECTION'} = 'ipfire';
|
||||
|
||||
my %sections = (
|
||||
'auth' => '(\w+\(pam_unix\)\[.*\]: )',
|
||||
'wio' => '(wio|wio\[.*\])',
|
||||
'clamav' => '(clamd\[.*\]: |freshclam\[.*\]: )',
|
||||
'collectd' => '(collectd\[.*\]: )',
|
||||
'cron' => '(fcron\[.*\]: )',
|
||||
@@ -75,6 +76,7 @@ my %sections = (
|
||||
# Translations for the %sections array.
|
||||
my %trsections = (
|
||||
'auth' => "$Lang::tr{'loginlogout'}",
|
||||
'wio' => 'Who Is Online?',
|
||||
'clamav' => 'ClamAV',
|
||||
'collectd' => 'Collectd',
|
||||
'cron' => 'Cron',
|
||||
|
||||
@@ -64,7 +64,7 @@ else {
|
||||
&Header::openbigbox('100%', 'left');
|
||||
&Header::openbox('100%', 'left', "$Lang::tr{'wio_graphs_stat'} $hostname");
|
||||
&WIOGraphs::wiographbox("wiographs.cgi","$hostid","day","$hostname");
|
||||
print"<table width='100%'><tr><td><a href='/cgi-bin/wio.cgi'><img src='/images/wio/back.png' alt='$Lang::tr{'wio_back'}' title='$Lang::tr{'wio_back'}' /></a></td></tr></table>";
|
||||
print"<table width='100%'><tr><td align='center'><a href='/cgi-bin/wio.cgi'><img src='/images/wio/back.png' alt='$Lang::tr{'wio_back'}' title='$Lang::tr{'wio_back'}' /></a></td></tr></table>";
|
||||
&Header::closebox();
|
||||
&Header::closebigbox();
|
||||
&Header::closepage();
|
||||
|
||||
Reference in New Issue
Block a user