diff options
author | Ermal <eri@pfsense.org> | 2012-07-10 07:20:09 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-10 07:20:09 +0000 |
commit | d25293151743c44ffef9121d10c0568f04066054 (patch) | |
tree | ce7531761ddf0b47e3d5776948fa8e458f30cfdf /config/snort/snort_interfaces_suppress.php | |
parent | 14ed520f1e7aeaf13461dabc1eb6bfcf9f4064ba (diff) | |
download | pfsense-packages-d25293151743c44ffef9121d10c0568f04066054.tar.gz pfsense-packages-d25293151743c44ffef9121d10c0568f04066054.tar.bz2 pfsense-packages-d25293151743c44ffef9121d10c0568f04066054.zip |
Some validation and whitespace fixes
Diffstat (limited to 'config/snort/snort_interfaces_suppress.php')
-rw-r--r-- | config/snort/snort_interfaces_suppress.php | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/config/snort/snort_interfaces_suppress.php b/config/snort/snort_interfaces_suppress.php index eb66b652..d4fe44ac 100644 --- a/config/snort/snort_interfaces_suppress.php +++ b/config/snort/snort_interfaces_suppress.php @@ -45,8 +45,6 @@ if (!is_array($config['installedpackages']['snortglobal']['suppress']['item'])) $a_suppress = &$config['installedpackages']['snortglobal']['suppress']['item']; $id_gen = count($config['installedpackages']['snortglobal']['suppress']['item']); -$d_suppresslistdirty_path = '/var/run/snort_suppress.dirty'; - if ($_GET['act'] == "del") { if ($a_suppress[$_GET['id']]) { /* make sure rule is not being referenced by any nat or filter rules */ @@ -68,15 +66,10 @@ include_once("head.inc"); <?php include_once("fbegin.inc"); +if($pfsense_stable == 'yes'){echo '<p class="pgtitle">' . $pgtitle . '</p>';} ?> -<?if($pfsense_stable == 'yes'){echo '<p class="pgtitle">' . $pgtitle . '</p>';}?> - <form action="/snort/snort_interfaces_suppress.php" method="post"><?php if ($savemsg) print_info_box($savemsg); ?> -<?php if (file_exists($d_suppresslistdirty_path)): ?> -<p><?php print_info_box_np("The white list has been changed.<br>You must apply the changes in order for them to take effect.");?> -<?php endif; ?> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td> <?php @@ -93,7 +86,7 @@ include_once("fbegin.inc"); </td> </tr> <tr><td class="tabcont"> -<table width="100%" border="0" cellpadding="6" cellspacing="0"> +<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" class="listhdrr">File Name</td> <td width="60%" class="listhdr">Description</td> |