]> git.ipfire.org Git - people/mlorenz/ipfire-2.x.git/commitdiff
WIO: patch log.dat to show wio logs
authorStephan Feddersen <sfeddersen@ipfire.org>
Tue, 18 Jul 2017 18:26:17 +0000 (20:26 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Aug 2017 10:45:51 +0000 (11:45 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/logs.cgi/log.dat
src/wio/wiographs.cgi

index 35977992cd7578e4a38f64318f1e611adf25ab17..5734fed18e7ee87c39c24c98b9679bcd238f8159 100644 (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',
index 234d2873c4df510933661268c4c9242f1041b411..73702370eba55fc310c88530609441479c40654f 100644 (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();