diff options
author | Bill Meeks <bmeeks8@bellsouth.net> | 2013-01-20 16:56:36 -0500 |
---|---|---|
committer | Bill Meeks <bmeeks8@bellsouth.net> | 2013-01-20 16:56:36 -0500 |
commit | ce96b0e676813be429de061d72aef7a447f9bb0e (patch) | |
tree | 39cb2d8bd8a7141bfdd30f5a1d4d336ddf7cd1a9 | |
parent | e2368b54a0d454f7521618ae97fc361318bc428d (diff) | |
download | pfsense-packages-ce96b0e676813be429de061d72aef7a447f9bb0e.tar.gz pfsense-packages-ce96b0e676813be429de061d72aef7a447f9bb0e.tar.bz2 pfsense-packages-ce96b0e676813be429de061d72aef7a447f9bb0e.zip |
Fix bug in page title display for CATEGORIES tab.
-rwxr-xr-x | config/snort/snort_rulesets.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php index b9aa2647..9c562d31 100755 --- a/config/snort/snort_rulesets.php +++ b/config/snort/snort_rulesets.php @@ -158,6 +158,9 @@ if ($_POST['selectall']) { } $enabled_rulesets_array = explode("||", $a_nat[$id]['rulesets']); + +$if_friendly = snort_get_friendly_interface($pconfig['interface']); +$pgtitle = "Snort: Interface {$if_friendly} Categories"; include_once("head.inc"); ?> @@ -165,12 +168,8 @@ include_once("head.inc"); <?php include("fbegin.inc"); -$if_friendly = snort_get_friendly_interface($pconfig['interface']); -$pgtitle = "Snort: Interface {$if_friendly} Categories"; - -if($pfsense_stable == 'yes'){echo '<p class="pgtitle">' . $pgtitle . '</p>';}?> +if($pfsense_stable == 'yes'){echo '<p class="pgtitle">' . $pgtitle . '</p>';} -<?php /* Display message */ if ($input_errors) { print_input_errors($input_errors); // TODO: add checks |