WIO: patch log.dat to show wio logs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Stephan Feddersen
2017-07-18 20:26:17 +02:00
committed by Michael Tremer
parent 0d6cc79d98
commit dec5269370
2 changed files with 3 additions and 1 deletions

View File

@@ -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',

View File

@@ -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();