aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/snort/snort.inc29
-rw-r--r--config/snort/snort_download_rules.php2
2 files changed, 1 insertions, 30 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 4bcbd3ae..3cb3cf26 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -1961,33 +1961,4 @@ EOD;
return $snort_conf_text;
}
-/* hide progress bar */
-function hide_progress_bar_status() {
- global $snort_filename, $snort_filename_md5, $console_mode;
-
- ob_flush();
- if(!$console_mode)
- echo "\n<script type=\"text/javascript\">document.progressbar.style.visibility='hidden';\n</script>";
-}
-
-/* unhide progress bar */
-function unhide_progress_bar_status() {
- global $snort_filename, $snort_filename_md5, $console_mode;
-
- ob_flush();
- if(!$console_mode)
- echo "\n<script type=\"text/javascript\">document.progressbar.style.visibility='visible';\n</script>";
-}
-
-/* update both top and bottom text box during an operation */
-function update_all_status($status) {
- global $snort_filename, $snort_filename_md5, $console_mode;
-
- ob_flush();
- if(!$console_mode) {
- update_status($status);
- update_output_window($status);
- }
-}
-
?>
diff --git a/config/snort/snort_download_rules.php b/config/snort/snort_download_rules.php
index 56bc2ebd..d5a0ae8f 100644
--- a/config/snort/snort_download_rules.php
+++ b/config/snort/snort_download_rules.php
@@ -82,6 +82,6 @@ $snort_gui_include = true;
include("/usr/local/pkg/snort/snort_check_for_rule_updates.php");
/* hide progress bar and lets end this party */
-hide_progress_bar_status();
+echo "\n<script type=\"text/javascript\">document.progressbar.style.visibility='hidden';\n</script>";
?>