diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-25 12:51:17 +0545 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-30 10:26:10 -0200 |
commit | a6caa27eb615dbfb298553249fecb8f2734c9339 (patch) | |
tree | bf67b07404d2329a4f0860daa14191e8a2e00322 /src/usr/local/www/services_captiveportal_mac_edit.php | |
parent | 57965f9b79ed0971cf2bf17161d7c0ec7af9f937 (diff) | |
download | pfsense-a6caa27eb615dbfb298553249fecb8f2734c9339.zip pfsense-a6caa27eb615dbfb298553249fecb8f2734c9339.tar.gz |
Required fields for Captive Portal
(cherry picked from commit c06865be6de6b164d06ee9bb1768dfe6829d783c)
Diffstat (limited to 'src/usr/local/www/services_captiveportal_mac_edit.php')
-rw-r--r-- | src/usr/local/www/services_captiveportal_mac_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_captiveportal_mac_edit.php b/src/usr/local/www/services_captiveportal_mac_edit.php index 0261d23..57eb0ea 100644 --- a/src/usr/local/www/services_captiveportal_mac_edit.php +++ b/src/usr/local/www/services_captiveportal_mac_edit.php @@ -231,7 +231,7 @@ $section = new Form_Section('Edit MAC Address Rules'); $section->addInput(new Form_Select( 'action', - 'Action', + '*Action', strtolower($pconfig['action']), array('pass' => gettext('Pass'), 'block' => gettext('Block')) ))->setHelp('Choose what to do with packets coming from this MAC address.'); @@ -253,7 +253,7 @@ $btnmymac = new Form_Button( $btnmymac->setAttribute('type','button')->removeClass('btn-primary')->addClass('btn-success btn-sm'); -$group = new Form_Group('MAC Address'); +$group = new Form_Group('*MAC Address'); $group->add($macaddress); $group->add($btnmymac); $group->setHelp('6 hex octets separated by colons'); |