diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-25 16:34:09 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-25 16:34:09 -0400 |
commit | 6eac9b90b35b219eb6f549c2ffb41108f491b8b4 (patch) | |
tree | 44ba811d9724d6c732db40436ccae33e487f224a | |
parent | 234bb0a59931f82041a3e0c2803d85f3bc26b452 (diff) | |
download | pfsense-6eac9b90b35b219eb6f549c2ffb41108f491b8b4.zip pfsense-6eac9b90b35b219eb6f549c2ffb41108f491b8b4.tar.gz |
Pretty sure ruleid should be a hidden field.
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 8 |
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"> |