aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_blocked.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2015-02-04 17:28:47 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2015-02-04 17:28:47 -0500
commit6f6eaffe83fc541e207df8207ee944e725f50dec (patch)
tree6352b1dc3ecf493c84df6829bfb6677a3bab1a6b /config/suricata/suricata_blocked.php
parent372d553209678813dbedc4fe26b8b6249c13c8f3 (diff)
downloadpfsense-packages-6f6eaffe83fc541e207df8207ee944e725f50dec.tar.gz
pfsense-packages-6f6eaffe83fc541e207df8207ee944e725f50dec.tar.bz2
pfsense-packages-6f6eaffe83fc541e207df8207ee944e725f50dec.zip
Move print_info_box() call to inside of <form> tag where it belongs.
Diffstat (limited to 'config/suricata/suricata_blocked.php')
-rw-r--r--config/suricata/suricata_blocked.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/suricata/suricata_blocked.php b/config/suricata/suricata_blocked.php
index 4f4bf095..ccb3548b 100644
--- a/config/suricata/suricata_blocked.php
+++ b/config/suricata/suricata_blocked.php
@@ -163,19 +163,21 @@ include_once("fbegin.inc");
/* refresh every 60 secs */
if ($pconfig['brefresh'] == 'on')
echo "<meta http-equiv=\"refresh\" content=\"60;url=/suricata/suricata_blocked.php\" />\n";
+?>
+
+<form action="/suricata/suricata_blocked.php" method="post">
+<input type="hidden" name="ip" id="ip" value=""/>
+<?php
/* Display Alert message */
if ($input_errors) {
- print_input_errors($input_errors); // TODO: add checks
+ print_input_errors($input_errors);
}
if ($savemsg) {
print_info_box($savemsg);
}
?>
-<form action="/suricata/suricata_blocked.php" method="post">
-<input type="hidden" name="ip" id="ip" value=""/>
-
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>