summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-25 16:34:09 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-25 16:34:09 -0400
commit6eac9b90b35b219eb6f549c2ffb41108f491b8b4 (patch)
tree44ba811d9724d6c732db40436ccae33e487f224a /usr/local/www/firewall_rules_edit.php
parent234bb0a59931f82041a3e0c2803d85f3bc26b452 (diff)
downloadpfsense-6eac9b90b35b219eb6f549c2ffb41108f491b8b4.zip
pfsense-6eac9b90b35b219eb6f549c2ffb41108f491b8b4.tar.gz
Pretty sure ruleid should be a hidden field.
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index d9bc01b..fd492cf 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -494,17 +494,13 @@ include("head.inc");
<?php if ($input_errors) print_input_errors($input_errors); ?>
<form action="firewall_rules_edit.php" method="post" name="iform" id="iform">
+<input type='hidden' name="ruleid" value="<?=(isset($pconfig['ruleid'])&&$pconfig['ruleid']>0)?htmlspecialchars($pconfig['ruleid']):''?>">
+
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td colspan="2" valign="top" class="listtopic">Edit Firewall rule</td>
</tr>
<tr>
- <td width="22%" valign="top" class="vncell">ID</td>
- <td width="78%" class="vtable">
- <input name="ruleid" value="<?=(isset($pconfig['ruleid'])&&$pconfig['ruleid']>0)?htmlspecialchars($pconfig['ruleid']):''?>">
- </td>
- </tr>
- <tr>
<td width="22%" valign="top" class="vncellreq">Action</td>
<td width="78%" class="vtable">
<select name="type" class="formselect">
OpenPOWER on IntegriCloud