aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_rules.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_rules.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_rules.php')
-rw-r--r--config/suricata/suricata_rules.php19
1 files changed, 10 insertions, 9 deletions
diff --git a/config/suricata/suricata_rules.php b/config/suricata/suricata_rules.php
index 480bf3dc..020a826d 100644
--- a/config/suricata/suricata_rules.php
+++ b/config/suricata/suricata_rules.php
@@ -436,15 +436,6 @@ $pgtitle = gettext("Suricata: Interface {$if_friendly} - Rules: {$currentruleset
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php
include("fbegin.inc");
-/* Display error or save messages if present */
-if ($input_errors) {
- print_input_errors($input_errors); // TODO: add checks
-}
-
-if ($savemsg) {
- print_info_box($savemsg);
-}
-
?>
<form action='/suricata/suricata_rules.php' method='post' name='iform' id='iform'>
@@ -456,6 +447,16 @@ if ($savemsg) {
<?php if (is_subsystem_dirty('suricata_rules')): ?><p>
<?php print_info_box_np(gettext("A change has been made to a rule state.") . "<br/>" . gettext("Click APPLY when finished to send the changes to the running configuration."));?>
<?php endif; ?>
+<?php
+/* Display error or save messages if present */
+if ($input_errors) {
+ print_input_errors($input_errors);
+}
+
+if ($savemsg) {
+ print_info_box($savemsg);
+}
+?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>