summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-20 22:08:28 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-20 22:08:28 -0400
commitb1d132f54be897f7067f9c0cfb223d81e6df782a (patch)
tree18bc76739d2b040eaf305201baa8bddfe9ae69af /usr/local/www/services_dhcp.php
parent4e10cf0a7a9feddc5abfa4129a053b53ac0d4b6d (diff)
downloadpfsense-b1d132f54be897f7067f9c0cfb223d81e6df782a.zip
pfsense-b1d132f54be897f7067f9c0cfb223d81e6df782a.tar.gz
Hide Additional BOOTP/DHCP Options behind an advanced button like other items
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-xusr/local/www/services_dhcp.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index 7c1a514..4b76a65 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -401,6 +401,12 @@ include("head.inc");
document.iform.denyunknown.disabled = endis;
}
+ function show_shownumbervalue() {
+ document.getElementById("shownumbervaluebox").innerHTML='';
+ aodiv = document.getElementById('shownumbervalue');
+ aodiv.style.display = "block";
+ }
+
function show_ddns_config() {
document.getElementById("showddnsbox").innerHTML='';
aodiv = document.getElementById('showddns');
@@ -716,6 +722,10 @@ include("head.inc");
Additional BOOTP/DHCP Options
</td>
<td width="78%" class="vtable">
+ <div id="shownumbervaluebox">
+ <input type="button" onClick="show_shownumbervalue()" value="Advanced"></input> - Show Additional BOOTP/DHCP Options</a>
+ </div>
+ <div id="shownumbervalue" style="display:none">
<table id="maintable">
<tbody>
<tr>
@@ -764,7 +774,7 @@ include("head.inc");
totalrows = <?php echo $counter; ?>;
loaded = <?php echo $counter; ?>;
</script>
-
+ </div>
</td>
</tr>
OpenPOWER on IntegriCloud