From df0ea86399fb15c129012024f1dc42341d282b58 Mon Sep 17 00:00:00 2001 From: Daniel Stefan Haischt Date: Mon, 25 Sep 2006 22:46:48 +0000 Subject: misc HTML cleanup --- packages/snort/snort_download_rules.php | 23 +++++++++++++++-------- packages/snort/snort_rulesets.php | 33 ++++++++++++++++++--------------- 2 files changed, 33 insertions(+), 23 deletions(-) (limited to 'packages/snort') diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php index 7e7761c5..af87fc1a 100644 --- a/packages/snort/snort_download_rules.php +++ b/packages/snort/snort_download_rules.php @@ -39,14 +39,13 @@ include("head.inc"); -

here to start download.
"; + echo "Press here to start download.
"; include("fend.inc"); exit; } @@ -162,12 +161,20 @@ function check_for_common_errors($filename) { if(stristr($contents, "You don't have permission")) { update_all_status("An error occured. Scroll down to inspect it's contents."); hide_progress_bar_status(); - echo "
"; - echo " 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"; - echo "The following error occured while downloading the snort rules file from snort.org:

"; - echo $contents; - echo " 

 

 

 

 

 

"; - echo "

"; + echo " +
+
+ +

 

 

 

 

 

 

 

+

 

 

 

 

 

 

 

+

 

 

 

 

 

 

 

+

 

 

 

 

 

 

 

+

The following error occured while downloading the snort rules file from snort.org:

+ {$contents} +

 

 

 

 

 

 

 

+
+
+ "; scroll_down_to_bottom_of_page(); exit; } diff --git a/packages/snort/snort_rulesets.php b/packages/snort/snort_rulesets.php index a84fafc2..b60318f4 100644 --- a/packages/snort/snort_rulesets.php +++ b/packages/snort/snort_rulesets.php @@ -56,10 +56,8 @@ include("head.inc"); -

- - - + + @@ -78,10 +76,10 @@ include("head.inc");
- +
@@ -114,7 +119,7 @@ include("head.inc"); - +
- +
@@ -90,23 +88,30 @@ include("head.inc"); "; - if(in_array($file, $enabled_rulesets_array)) - $CHECKED = " CHECKED"; - else + echo ""; - echo ""; + } + echo " "; + echo ""; + echo ""; //echo ""; } + ?>
Enabled Ruleset"; + if(in_array($file, $enabled_rulesets_array)) { + $CHECKED = " checked=\"checked\""; + } else { $CHECKED = ""; - echo "{$file}"; + echo "{$file}"; + echo ""; //echo "description"; //echo "
 
Check the rulesets that you would like Snort to load at startup.
 
@@ -123,8 +128,6 @@ include("head.inc");
-
- -- cgit v1.2.3