diff options
Diffstat (limited to 'config/snort/snort_interfaces_suppress_edit.php')
-rw-r--r-- | config/snort/snort_interfaces_suppress_edit.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/config/snort/snort_interfaces_suppress_edit.php b/config/snort/snort_interfaces_suppress_edit.php index db2757a9..082911b0 100644 --- a/config/snort/snort_interfaces_suppress_edit.php +++ b/config/snort/snort_interfaces_suppress_edit.php @@ -47,8 +47,6 @@ $a_suppress = &$config['installedpackages']['snortglobal']['suppress']['item']; $id = $_GET['id']; if (isset($_POST['id'])) $id = $_POST['id']; -if (!is_numeric($id)) - $id = 0; // XXX: safety belt /* gen uuid for each iface */ @@ -158,7 +156,9 @@ include("fbegin.inc"); } ?> -<form action="/snort/snort_interfaces_suppress_edit.php?id=<?=$id?>" name="iform" id="iform"> +<form action="/snort/snort_interfaces_suppress_edit.php" name="iform" id="iform" method="post"> +<table width="100%" border="0" cellpadding="0" cellspacing="0"> +<tr><td class="tabcont"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> <td colspan="2" class="listtopic">Add the name and description of the file.</td> @@ -207,9 +207,9 @@ include("fbegin.inc"); count 100, seconds 1, new_action log, timeout 10</td> </tr> <tr> - <td colspan="2" width="100%" class="vtable"><textarea wrap="off" - name="suppresspassthru" cols="90" rows="28" id="suppresspassthru"> - <?=htmlspecialchars($pconfig['suppresspassthru']);?></textarea> + <td width="10%" class="vncell"> Advanced pass through</td> + <td width="100%" class="vtable"><textarea wrap="off" + name="suppresspassthru" cols="90" rows="28" id="suppresspassthru" class="formpre"> <?=htmlspecialchars($pconfig['suppresspassthru']);?></textarea> </td> </tr> <tr> @@ -222,6 +222,8 @@ include("fbegin.inc"); </td> </tr> </table> +</td></tr> +</table> </form> <?php include("fend.inc"); ?> <script type="text/javascript"> |