diff options
author | N0YB <Al_Stu@Frontier.com> | 2013-07-01 00:46:01 -0700 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2013-07-01 00:46:01 -0700 |
commit | 63c704c314ebe11387256227eececec5e5573ab8 (patch) | |
tree | 79c824c36506884f91c811ee3419a7574a682744 /usr/local/www | |
parent | bc82e33190bfb581298dc930cee61a8a2d0be73b (diff) | |
download | pfsense-63c704c314ebe11387256227eececec5e5573ab8.zip pfsense-63c704c314ebe11387256227eececec5e5573ab8.tar.gz |
Add show/hide to the new "Reject Leases From" row
Show for Basic and Advanced. Hide for Config File Override.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/interfaces.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index ef80627..c7b146a 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -4,7 +4,7 @@ interfaces.php Copyright (C) 2004-2008 Scott Ullrich Copyright (C) 2006 Daniel S. Haischt. - Copyright (C) 2008-2010 Ermal Luçi + Copyright (C) 2008-2010 Ermal Luçi All rights reserved. originally part of m0n0wall (http://m0n0.ch/wall) @@ -1926,7 +1926,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"), "DHCP client."); ?> </td> </tr> - <tr> + <tr style='display:none' name="show_basic_dhcprejectlease" id="show_basic_dhcprejectlease"> <td width="22%" valign="top" class="vncell"><?=gettext("Reject Leases From"); ?></td> <td width="78%" class="vtable"> <input name="dhcprejectfrom" type="text" class="formfld unknown" id="dhcprejectfrom" size="20" value="<?=htmlspecialchars($pconfig['dhcprejectfrom']);?>" /> @@ -1935,8 +1935,6 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"), <?=gettext("this is useful for rejecting leases from cable modems that offer private IPs when they lose upstream sync."); ?> </td> </tr> - <tr> - <td colspan="2" valign="top" height="16"></td> <tr style='display:none' name="show_adv_dhcp_protocol_timing" id="show_adv_dhcp_protocol_timing"> <td width="22%" valign="top" class="vncell"><?=gettext("<a target=FreeBSD DHCP href=http://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&sektion=5#PROTOCOL_TIMING>Protocol Timing</a>"); ?></td> @@ -2063,6 +2061,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"), document.getElementById("show_basic_dhcphostname").style.display = basic; document.getElementById("show_basic_dhcpalias-address").style.display = basic; + document.getElementById("show_basic_dhcprejectlease").style.display = basic; document.getElementById("show_adv_dhcp_protocol_timing").style.display = advanced; document.getElementById("show_adv_dhcp_lease_requirements_and_requests").style.display = advanced; |