From 4a54e68baa0fe7c4171d57c3eb0e1579aa21ae77 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 23 Dec 2006 05:37:47 +0000 Subject: inital prizm support --- httemplate/edit/svc_broadband.cgi | 62 +++++++++++++++++++++++++++++++++++++-- httemplate/view/svc_broadband.cgi | 36 +++++++++++++++++++++++ 2 files changed, 96 insertions(+), 2 deletions(-) (limited to 'httemplate') diff --git a/httemplate/edit/svc_broadband.cgi b/httemplate/edit/svc_broadband.cgi index 2668bf419..16116f52d 100644 --- a/httemplate/edit/svc_broadband.cgi +++ b/httemplate/edit/svc_broadband.cgi @@ -67,11 +67,19 @@ % %my $p1 = popurl(1); % -%my ($ip_addr, $speed_up, $speed_down, $blocknum) = +%my ($ip_addr, $speed_up, $speed_down, $blocknum, $mac_addr, +% $latitude, $longitude, $altitude, $vlan_profile, $auth_key) = % ($svc_broadband->ip_addr, % $svc_broadband->speed_up, % $svc_broadband->speed_down, -% $svc_broadband->blocknum); +% $svc_broadband->blocknum, +% $svc_broadband->mac_addr, +% $svc_broadband->latitude, +% $svc_broadband->longitude, +% $svc_broadband->altitude, +% $svc_broadband->vlan_profile, +% $svc_broadband->auth_key, +% ); % % @@ -164,6 +172,56 @@ Service #<%$svcnum ? $svcnum : "(NEW)"%>

% } + + MAC Address + + + + + + Latitude + + + + + + Longitude + + + + + + Altitude + + + + + + VLAN Profile + +% if ( $part_svc->part_svc_column('vlan_profile')->columnflag eq 'F' ) { + + <%$vlan_profile%> +% } else { + + +% } + + + + + Authentication Key + +% if ( $part_svc->part_svc_column('auth_key')->columnflag eq 'F' ) { + + <%$auth_key%> +% } else { + + +% } + + + % %foreach my $field ($svc_broadband->virtual_fields) { % if ( $part_svc->part_svc_column($field)->columnflag ne 'F' && diff --git a/httemplate/view/svc_broadband.cgi b/httemplate/view/svc_broadband.cgi index 1800541f0..010439e90 100644 --- a/httemplate/view/svc_broadband.cgi +++ b/httemplate/view/svc_broadband.cgi @@ -33,6 +33,12 @@ % $ip_addr, % $ip_gateway, % $ip_netmask, +% $mac_addr, +% $latitude, +% $longitude, +% $altitude, +% $vlan_profile, +% $auth_key, % ) = ( % $router->getfield('routername'), % $router->getfield('routernum'), @@ -41,6 +47,12 @@ % $svc_broadband->getfield('ip_addr'), % $addr_block->ip_gateway, % $addr_block->NetAddr->mask, +% $svc_broadband->mac_addr, +% $svc_broadband->latitude, +% $svc_broadband->longitude, +% $svc_broadband->altitude, +% $svc_broadband->vlan_profile, +% $svc_broadband->auth_key, % ); % @@ -90,6 +102,30 @@ IP Gateway <%$ip_gateway%> + + MAC Address + <%$mac_addr%> + + + Latitude + <%$latitude%> + + + Longitude + <%$longitude%> + + + Altitude + <%$altitude%> + + + VLAN Profile + <%$vlan_profile%> + + + Authentication Key + <%$auth_key%> + % %foreach (sort { $a cmp $b } $svc_broadband->virtual_fields) { -- cgit v1.2.1