aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBill Meeks <bmeeks8@bellsouth.net>2013-01-20 16:56:36 -0500
committerBill Meeks <bmeeks8@bellsouth.net>2013-01-20 16:56:36 -0500
commitce96b0e676813be429de061d72aef7a447f9bb0e (patch)
tree39cb2d8bd8a7141bfdd30f5a1d4d336ddf7cd1a9 /config
parente2368b54a0d454f7521618ae97fc361318bc428d (diff)
downloadpfsense-packages-ce96b0e676813be429de061d72aef7a447f9bb0e.tar.gz
pfsense-packages-ce96b0e676813be429de061d72aef7a447f9bb0e.tar.bz2
pfsense-packages-ce96b0e676813be429de061d72aef7a447f9bb0e.zip
Fix bug in page title display for CATEGORIES tab.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/snort/snort_rulesets.php9
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