]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ids.cgi: Stop showing ruleset date on customize rulest sub-page.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 22 Mar 2021 13:42:42 +0000 (14:42 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Dec 2021 12:22:47 +0000 (13:22 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index 01fb96cbe9ddfb5193f1215d7994a5739949fba7..3f0ab07b2c24dd2e4e964884217a8784f1858e2c 100644 (file)
@@ -1116,22 +1116,7 @@ print <<END
        </script>
 END
 ;
-       # Load neccessary perl modules for file stat and to format the timestamp.
-       use File::stat;
-       use POSIX qw( strftime );
-
-       # Call stat on the rulestarball.
-       my $stat = stat("$IDS::rulestarball");
-
-       if (defined $stat) {
-               # Get timestamp the file creation.
-               my $mtime = $stat->mtime;
-
-               # Convert into human read-able format.
-               my $rulesdate = strftime('%Y-%m-%d %H:%M:%S', localtime($mtime));
-
-               &Header::openbox('100%', 'LEFT', "$Lang::tr{'intrusion detection system rules'} ($rulesdate)" );
-
+       &Header::openbox('100%', 'LEFT', "$Lang::tr{'intrusion detection system rules'}" );
                print"<form method='POST' action='$ENV{'SCRIPT_NAME'}'>\n";
 
                # Output display table for rule files