aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort
diff options
context:
space:
mode:
Diffstat (limited to 'packages/snort')
-rw-r--r--packages/snort/snort_download_rules.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php
index ae9ae659..42bae3f0 100644
--- a/packages/snort/snort_download_rules.php
+++ b/packages/snort/snort_download_rules.php
@@ -61,6 +61,12 @@ include("head.inc");
</tr>
<?php
if(!$_GET['start'] && !$_POST['start']) {
+ echo "<tr>";
+ echo "<td>";
+ echo "<div id=\"mainarea\">";
+ echo "<table class=\"tabcont\" width=\"100%\" border=\"0\" cellpadding=\"6\" cellspacing=\"0\">";
+ echo "<tr>";
+ echo "<td align=\"center\" valign=\"top\">";
$last_ruleset_download = $config['installedpackages']['snort']['last_ruleset_download'];
$text = file_get_contents("http://www.snort.org/pub-bin/downloads.cgi");
if (preg_match_all("/.*RELEASED\: (.*)\</", $text, $matches))
@@ -82,6 +88,12 @@ include("head.inc");
else
echo "<tr><td colspan='2'>Your snort rulesets are up to date.</td></tr>";
echo "<tr><td>&nbsp;</td></tr>";
+ echo "</td>";
+ echo " </tr>";
+ echo " </table>";
+ echo " </div>";
+ echo "</td>";
+ echo "</tr>";
echo "</table>";
include("fend.inc");
exit;