diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-02-09 09:28:51 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-02-09 09:28:51 -0200 |
commit | e8721f705ab1f80b0e1fe897f65b3941e071ebcf (patch) | |
tree | 46917a85e4e08fbd5702983ab7db6907be0b115d /config/suricata/suricata_rules.php | |
parent | da3cd59d595b075ff33901966065d62a213bae4c (diff) | |
parent | 2913f596fc1a87d20a8d2aac9e2eadfc5bc8787d (diff) | |
download | pfsense-packages-e8721f705ab1f80b0e1fe897f65b3941e071ebcf.tar.gz pfsense-packages-e8721f705ab1f80b0e1fe897f65b3941e071ebcf.tar.bz2 pfsense-packages-e8721f705ab1f80b0e1fe897f65b3941e071ebcf.zip |
Merge pull request #810 from bmeeks8/suricata-2.0.6-v2.1.4
Diffstat (limited to 'config/suricata/suricata_rules.php')
-rw-r--r-- | config/suricata/suricata_rules.php | 19 |
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> |