From 7d0ad4ec4d04fd202fefc01aae49fd37500771dd Mon Sep 17 00:00:00 2001 From: Joecowboy Date: Sat, 25 Feb 2012 15:25:55 -0600 Subject: Added check box for DHCPv6 lease time to select local time instead of the default UTC time. --- usr/local/www/services_dhcpv6.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'usr/local/www/services_dhcpv6.php') diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php index 33ad647..5a22676 100644 --- a/usr/local/www/services_dhcpv6.php +++ b/usr/local/www/services_dhcpv6.php @@ -119,6 +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']; if (!is_array($config['dhcpdv6'][$if]['staticmap'])) $config['dhcpdv6'][$if]['staticmap'] = array(); $a_maps = &$config['dhcpdv6'][$if]['staticmap']; @@ -318,6 +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']; // Handle the custom options rowhelper if(isset($config['dhcpdv6'][$if]['numberoptions']['item'])) @@ -659,6 +661,31 @@ include("head.inc"); + + + + + + + + + + + +
+ > + + + + +
  + + +
+ + +
-- cgit v1.1