aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_define_vars.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_define_vars.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_define_vars.php')
-rw-r--r--config/suricata/suricata_define_vars.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/config/suricata/suricata_define_vars.php b/config/suricata/suricata_define_vars.php
index b94292c3..1aff122c 100644
--- a/config/suricata/suricata_define_vars.php
+++ b/config/suricata/suricata_define_vars.php
@@ -157,13 +157,7 @@ include_once("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php
-include("fbegin.inc");
-if($pfsense_stable == 'yes'){echo '<p class="pgtitle">' . $pgtitle . '</p>';}
-/* Display Alert message */
-if ($input_errors)
- print_input_errors($input_errors); // TODO: add checks
-if ($savemsg)
- print_info_box($savemsg);
+include("fbegin.inc");
?>
<script type="text/javascript" src="/javascript/autosuggest.js">
@@ -171,6 +165,15 @@ if ($savemsg)
<script type="text/javascript" src="/javascript/suggestions.js">
</script>
<form action="suricata_define_vars.php" method="post" name="iform" id="iform">
+
+<?php
+/* Display Alert message */
+if ($input_errors)
+ print_input_errors($input_errors);
+if ($savemsg)
+ print_info_box($savemsg);
+?>
+
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr><td>