summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcpv6.php
diff options
context:
space:
mode:
authorJoecowboy <i7wasn7m3@gmail.com>2012-02-25 17:18:30 -0600
committerJoecowboy <i7wasn7m3@gmail.com>2012-02-25 17:18:30 -0600
commit138208bf779d341f427cdfbb319d479343c80152 (patch)
tree4c578af23b0e3436758805d5660d14e4c2141385 /usr/local/www/services_dhcpv6.php
parentf365fa90eb84a32e87773263a95df309e9133578 (diff)
downloadpfsense-138208bf779d341f427cdfbb319d479343c80152.zip
pfsense-138208bf779d341f427cdfbb319d479343c80152.tar.gz
Changed the variable name from timeformtchangev6 to dhcpv6leaseinlocaltime per jim-p request and it will now write the xml dhcpv6leaseinlocaltime in the dhcpv6 sub catagory in the config.xml file.
Diffstat (limited to 'usr/local/www/services_dhcpv6.php')
-rw-r--r--usr/local/www/services_dhcpv6.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php
index 5a22676..5390dac 100644
--- a/usr/local/www/services_dhcpv6.php
+++ b/usr/local/www/services_dhcpv6.php
@@ -119,7 +119,7 @@ if (is_array($config['dhcpdv6'][$if])){
$pconfig['failover_peerip'] = $config['dhcpdv6'][$if]['failover_peerip'];
$pconfig['netmask'] = $config['dhcpdv6'][$if]['netmask'];
$pconfig['numberoptions'] = $config['dhcpdv6'][$if]['numberoptions'];
- $pconfig['timeformatchangev6'] = $config['system']['timeformatchangev6'];
+ $pconfig['dhcpv6leaseinlocaltime'] = $config['dhcpdv6'][$if]['dhcpv6leaseinlocaltime'];
if (!is_array($config['dhcpdv6'][$if]['staticmap']))
$config['dhcpdv6'][$if]['staticmap'] = array();
$a_maps = &$config['dhcpdv6'][$if]['staticmap'];
@@ -319,7 +319,7 @@ if ($_POST) {
$config['dhcpdv6'][$if]['nextserver'] = $_POST['nextserver'];
$config['dhcpdv6'][$if]['filename'] = $_POST['filename'];
$config['dhcpdv6'][$if]['rootpath'] = $_POST['rootpath'];
- $config['system']['timeformatchangev6'] = $_POST['timeformatchangev6'];
+ $config['dhcpdv6'][$if]['dhcpv6leaseinlocaltime'] = $_POST['dhcpv6leaseinlocaltime'];
// Handle the custom options rowhelper
if(isset($config['dhcpdv6'][$if]['numberoptions']['item']))
@@ -403,6 +403,7 @@ include("head.inc");
document.iform.maxtime.disabled = endis;
document.iform.gateway.disabled = endis;
document.iform.failover_peerip.disabled = endis;
+ document.iform.dhcpv6leaseinlocaltime.disabled = endis;
document.iform.domain.disabled = endis;
document.iform.domainsearchlist.disabled = endis;
document.iform.ddnsdomain.disabled = endis;
@@ -666,7 +667,7 @@ include("head.inc");
<table>
<tr>
<td>
- <input name="timeformatchangev6" type="checkbox" id="timeformatchangev6" value="yes" <?php if ($pconfig['timeformatchangev6']) echo "checked"; ?>>
+ <input name="dhcpv6leaseinlocaltime" type="checkbox" id="dhcpv6leaseinlocaltime" value="yes" <?php if ($pconfig['dhcpv6leaseinlocaltime']) echo "checked"; ?>>
</td>
<td>
<strong>
OpenPOWER on IntegriCloud