From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Feddersen To: development@lists.ipfire.org Subject: [PATCH] WIO: patch log.dat to show wio logs Date: Tue, 18 Jul 2017 20:26:17 +0200 Message-ID: <1500402377-2096-1-git-send-email-sfeddersen@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9192441049207187095==" List-Id: --===============9192441049207187095== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable --- 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 3597799..5734fed 100644 --- a/html/cgi-bin/logs.cgi/log.dat +++ b/html/cgi-bin/logs.cgi/log.dat @@ -50,6 +50,7 @@ $cgiparams{'SECTION'} =3D 'ipfire'; =20 my %sections =3D ( 'auth' =3D> '(\w+\(pam_unix\)\[.*\]: )', + 'wio' =3D> '(wio|wio\[.*\])', 'clamav' =3D> '(clamd\[.*\]: |freshclam\[.*\]: )', 'collectd' =3D> '(collectd\[.*\]: )', 'cron' =3D> '(fcron\[.*\]: )', @@ -75,6 +76,7 @@ my %sections =3D ( # Translations for the %sections array. my %trsections =3D ( 'auth' =3D> "$Lang::tr{'loginlogout'}", + 'wio' =3D> 'Who Is Online?', 'clamav' =3D> 'ClamAV', 'collectd' =3D> 'Collectd', 'cron' =3D> 'Cron', diff --git a/src/wio/wiographs.cgi b/src/wio/wiographs.cgi index 234d287..7370237 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"
3D'$Lang::tr{'wio_back'}'
"; + print"
3D'$Lang::tr{'wio_back'}'
"; &Header::closebox(); &Header::closebigbox(); &Header::closepage(); --=20 2.7.4 --===============9192441049207187095==--