diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-24 17:46:20 +0545 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-30 10:26:24 -0200 |
commit | 5c9dcd194ffe38b7009e0955ea6f029f15e93966 (patch) | |
tree | c748a77b7cade8ac8731055cad618132cb1294ad /src/usr/local/www/firewall_rules_edit.php | |
parent | a6caa27eb615dbfb298553249fecb8f2734c9339 (diff) | |
download | pfsense-5c9dcd194ffe38b7009e0955ea6f029f15e93966.zip pfsense-5c9dcd194ffe38b7009e0955ea6f029f15e93966.tar.gz |
Required fields for firewall*.php
(cherry picked from commit 8a1b5c561f93611b711eb4e7b58ccb4990577d8e)
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index 9c385d4..43c60fd 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -1190,7 +1190,7 @@ if ($if == "FloatingRules" || isset($pconfig['floating'])) { $section->addInput(new Form_Select( 'type', - 'Action', + '*Action', $pconfig['type'], $values ))->setHelp('Choose what to do with packets that match the criteria specified '. @@ -1256,7 +1256,7 @@ if ($edit_disabled) { if ($if == "FloatingRules" || isset($pconfig['floating'])) { $section->addInput($input = new Form_Select( 'interface', - 'Interface', + '*Interface', $pconfig['interface'], build_if_list(), true @@ -1264,7 +1264,7 @@ if ($if == "FloatingRules" || isset($pconfig['floating'])) { } else { $section->addInput($input = new Form_Select( 'interface', - 'Interface', + '*Interface', $pconfig['interface'], build_if_list() ))->setHelp('Choose the interface from which packets must come to match this rule.'); @@ -1273,7 +1273,7 @@ if ($if == "FloatingRules" || isset($pconfig['floating'])) { if ($if == "FloatingRules" || isset($pconfig['floating'])) { $section->addInput(new Form_Select( 'direction', - 'Direction', + '*Direction', $pconfig['direction'], array( 'any' => gettext('any'), @@ -1292,7 +1292,7 @@ if ($if == "FloatingRules" || isset($pconfig['floating'])) { $section->addInput(new Form_Select( 'ipprotocol', - 'Address Family', + '*Address Family', $pconfig['ipprotocol'], array( 'inet' => 'IPv4', @@ -1303,7 +1303,7 @@ $section->addInput(new Form_Select( $section->addInput(new Form_Select( 'proto', - 'Protocol', + '*Protocol', $pconfig['proto'], array( 'any' => gettext('Any'), @@ -1343,7 +1343,7 @@ $form->add($section); foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) { $section = new Form_Section($name); - $group = new Form_Group($name); + $group = new Form_Group('*' . $name); $group->add(new Form_Checkbox( $type .'not', $name .' not', |