From: Stephan Feddersen Date: Tue, 18 Jul 2017 18:26:17 +0000 (+0200) Subject: WIO: patch log.dat to show wio logs X-Git-Url: http://git.ipfire.org/?p=people%2Fmlorenz%2Fipfire-2.x.git;a=commitdiff_plain;h=dec5269370dfc4a2fe10100f1fa1f1830c2b4cb5 WIO: patch log.dat to show wio logs Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat index 35977992cd..5734fed18e 100644 --- a/html/cgi-bin/logs.cgi/log.dat +++ b/html/cgi-bin/logs.cgi/log.dat @@ -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', diff --git a/src/wio/wiographs.cgi b/src/wio/wiographs.cgi index 234d2873c4..73702370eb 100644 --- a/src/wio/wiographs.cgi +++ b/src/wio/wiographs.cgi @@ -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"
$Lang::tr{
"; + print"
$Lang::tr{
"; &Header::closebox(); &Header::closebigbox(); &Header::closepage();