]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/logs.cgi/log.dat
Firewallhitgraphs gefixt.
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / logs.cgi / log.dat
index 76d5d295968655cd3219910be280a537ffe7b0e7..d6139580a460ba89a4ce10c0ff463cd465e89c5d 100644 (file)
@@ -15,7 +15,7 @@ use strict;
 #use warnings;
 #use CGI::Carp 'fatalsToBrowser';
 
 #use warnings;
 #use CGI::Carp 'fatalsToBrowser';
 
-require 'CONFIG_ROOT/general-functions.pl';
+require '/var/ipfire/general-functions.pl';
 require "${General::swroot}/lang.pl";
 require "${General::swroot}/header.pl";
 
 require "${General::swroot}/lang.pl";
 require "${General::swroot}/header.pl";
 
@@ -59,7 +59,7 @@ my %sections = (
         'kernel' => '(kernel)',
         'ipsec' => '(ipsec_[\w_]+|pluto\[.*\])',
         'snort' => '(snort)',
         'kernel' => '(kernel)',
         'ipsec' => '(ipsec_[\w_]+|pluto\[.*\])',
         'snort' => '(snort)',
-        'installpackage' => '(installpackage\[.*\])'
+        'openvpn' => '(openvpnserver)\[.*\]'
         );
 
 # Translations for the %sections array.
         );
 
 # Translations for the %sections array.
@@ -74,8 +74,8 @@ my %trsections = (
         'auth' => "$Lang::tr{'loginlogout'}",
         'kernel' => "$Lang::tr{'kernel'}",
         'ipsec' => 'IPSec',
         'auth' => "$Lang::tr{'loginlogout'}",
         'kernel' => "$Lang::tr{'kernel'}",
         'ipsec' => 'IPSec',
-        'snort' => 'Snort',
-        'installpackage' => "$Lang::tr{'update transcript'}"   
+        'openvpn' => 'OpenVPN',
+        'snort' => 'Snort'
        );
 
 
        );
 
 
@@ -248,7 +248,7 @@ if ($cgiparams{'ACTION'} eq $Lang::tr{'export'})
 
 &Header::showhttpheaders();
 
 
 &Header::showhttpheaders();
 
-&Header::openpage($Lang::tr{'firewall log'}, 1, '');
+&Header::openpage($Lang::tr{'system logs'}, 1, '');
 
 &Header::openbigbox('100%', 'left', '', $errormessage);
 
 
 &Header::openbigbox('100%', 'left', '', $errormessage);
 
@@ -350,8 +350,8 @@ print <<END
 <table width='100%'>
 <tr>
        <td width='10%' align='center' class='boldbase'><b>$Lang::tr{'time'}</b></td>
 <table width='100%'>
 <tr>
        <td width='10%' align='center' class='boldbase'><b>$Lang::tr{'time'}</b></td>
-       <td width='15%' align='center' class='boldbase'><b>$Lang::tr{'section'}</b></td>
-       <td width='75%'>&nbsp;</td>
+       <td width='10%' align='center' class='boldbase'><b>$Lang::tr{'section'}</b></td>
+       <td width='80%'>&nbsp;</td>
 </tr>
 END
 ;
 </tr>
 END
 ;