From 35843e59c81366a7d30a44a94c8a135fc6834454 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 18 Jul 2011 15:12:03 -0400 Subject: [PATCH 1/3] Move early call up a bit --- usr/local/www/firewall_rules_edit.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 0e61806e6f..34a80d493c 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -602,6 +602,9 @@ $closehead = false; $page_filename = "firewall_rules_edit.php"; include("head.inc"); +// Allow extending of the firewall edit page and include custom input validation +pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/htmlphpearly"); + ?> @@ -617,10 +620,6 @@ include("head.inc"); - From b4b7bda6090cfa4541be2c00a3d7eac5c8abc524 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 18 Jul 2011 15:23:41 -0400 Subject: [PATCH 2/3] Revert "Move early call up a bit" This reverts commit 35843e59c81366a7d30a44a94c8a135fc6834454. --- usr/local/www/firewall_rules_edit.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 34a80d493c..0e61806e6f 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -602,9 +602,6 @@ $closehead = false; $page_filename = "firewall_rules_edit.php"; include("head.inc"); -// Allow extending of the firewall edit page and include custom input validation -pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/htmlphpearly"); - ?> @@ -620,6 +617,10 @@ pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/htmlphpearly"); + From 48fc39a3c0199bedca06e1877b165c9bc99a07ab Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 18 Jul 2011 15:25:29 -0400 Subject: [PATCH 3/3] Adding pre_input_errors hook --- usr/local/www/firewall_rules_edit.php | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 0e61806e6f..2d7b7d85d5 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -608,6 +608,7 @@ include("head.inc"); +