From dec5269370dfc4a2fe10100f1fa1f1830c2b4cb5 Mon Sep 17 00:00:00 2001 From: Stephan Feddersen Date: Tue, 18 Jul 2017 20:26:17 +0200 Subject: [PATCH] WIO: patch log.dat to show wio logs Signed-off-by: Michael Tremer --- html/cgi-bin/logs.cgi/log.dat | 2 ++ src/wio/wiographs.cgi | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.2