diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-19 06:46:45 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-19 06:46:45 -0500 |
commit | 285aa44de41f6738a9ce2abf898a4f882e338c3d (patch) | |
tree | f6af6e35175860e65943f666a2ca8a1e87b26c09 /src | |
parent | 7c40255c3a101e848580b22482d90022683b1c60 (diff) | |
download | pfsense-285aa44de41f6738a9ce2abf898a4f882e338c3d.zip pfsense-285aa44de41f6738a9ce2abf898a4f882e338c3d.tar.gz |
Save tab value (if) in HTML
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/firewall_rules.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php index 23a2c29..aff201a 100644 --- a/src/usr/local/www/firewall_rules.php +++ b/src/usr/local/www/firewall_rules.php @@ -174,10 +174,6 @@ if ($_POST['apply']) { clear_subsystem_dirty('filter'); } -if ($_POST) { - $pconfig = $_POST; -} - if ($_POST['act'] == "del") { if ($a_filter[$_POST['id']]) { if (!empty($a_filter[$_POST['id']]['associated-rule-id'])) { @@ -371,6 +367,7 @@ $columns_in_table = 13; </style> <form method="post"> + <input name="if" id="if" type="hidden" value="<?=$if?>" /> <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext("Rules (Drag to Change Order)")?></h2></div> <div id="mainarea" class="table-responsive panel-body"> |