summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-03-14 13:44:00 -0700
committerMark Wells <mark@freeside.biz>2012-03-14 13:44:00 -0700
commita69299c596de60f4b26db7431165f7f3ffe928e2 (patch)
tree076319cad385baeb8bcf6fe9ce0ac980ccab50c7 /httemplate/edit
parentda590709ee5f3e6a661950fcfce39dbbf9d6add4 (diff)
svc_hardware MAC address input format, #16266
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/svc_broadband.cgi3
-rw-r--r--httemplate/edit/svc_hardware.cgi3
2 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/edit/svc_broadband.cgi b/httemplate/edit/svc_broadband.cgi
index b07c725ae..b266928a1 100644
--- a/httemplate/edit/svc_broadband.cgi
+++ b/httemplate/edit/svc_broadband.cgi
@@ -103,7 +103,8 @@ my @fields = (
qw( description speed_down speed_up ),
{ field=>'sectornum', type=>'select-tower_sector', },
{ field=>'routernum', type=>'select-router_block_ip' },
- qw( mac_addr latitude longitude altitude vlan_profile
+ { field=>'mac_addr' , type=>'input-mac_addr' },
+ qw( latitude longitude altitude vlan_profile
performance_profile authkey plan_id )
);
diff --git a/httemplate/edit/svc_hardware.cgi b/httemplate/edit/svc_hardware.cgi
index dcf83de37..d9cd4cd66 100644
--- a/httemplate/edit/svc_hardware.cgi
+++ b/httemplate/edit/svc_hardware.cgi
@@ -26,7 +26,8 @@ my @fields = (
},
{
field => 'hw_addr',
- type => 'text',
+ type => $conf->exists('svc_hardware-check_mac_addr') ?
+ 'input-mac_addr' : 'text',
label => 'Hardware address',
},
{