ids.cgi: Draw daemon status and setting in the same box.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 30 Jan 2019 08:33:47 +0000 (09:33 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 30 Jan 2019 08:33:47 +0000 (09:33 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index 6fbc0b7..1bb193a 100644 (file)
@@ -696,7 +696,6 @@ END
                </table>
 END
 }
-&Header::closebox();
 
 my $rulesdate;
 
@@ -709,10 +708,10 @@ if ( -f "$IDS::rulestarball"){
         $rulesdate = localtime($Info[9]);
 }
 
-# Draw elements for IDS configuration.
-&Header::openbox('100%', 'center', $Lang::tr{'settings'});
-
 print <<END
+
+<br><br><h2>$Lang::tr{'settings'}</h2>
+
 <form method='post' action='$ENV{'SCRIPT_NAME'}'>
        <table width='100%' border='0'>
                <tr>