diff options
author | Mark Wells <mark@freeside.biz> | 2012-02-27 10:31:47 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-02-27 10:31:47 -0800 |
commit | eb9d1063e1203231ee0c6922ea5638370f7b5ece (patch) | |
tree | e2d6781d7b0a9239c5e3deb98b27c694426f86c5 /httemplate/edit | |
parent | caba365bbebc7e73ad0c25f9a3a9c75a48ed6140 (diff) |
allow svc_broadband to link directly to a router, #14698
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/router.cgi | 3 | ||||
-rw-r--r-- | httemplate/edit/svc_broadband.cgi | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/edit/router.cgi b/httemplate/edit/router.cgi index 70eaa4576..6672d5d75 100755 --- a/httemplate/edit/router.cgi +++ b/httemplate/edit/router.cgi @@ -6,11 +6,14 @@ 'labels' => { 'routernum' => 'Router', 'routername' => 'Name', 'svc_part' => 'Service', + 'agentnum' => 'Agent', + 'auto_addr' => 'Assign IP addresses automatically', }, 'fields' => [ { 'field'=>'routername', 'type'=>'text', 'size'=>32 }, { 'field'=>'agentnum', 'type'=>'select-agent' }, { 'field'=>'svcnum', 'type'=>'hidden' }, + { 'field'=>'auto_addr','type'=>'checkbox','value'=>'Y'}, ], 'error_callback' => $callback, 'edit_callback' => $callback, diff --git a/httemplate/edit/svc_broadband.cgi b/httemplate/edit/svc_broadband.cgi index ff57ac0ce..8fccb1fa8 100644 --- a/httemplate/edit/svc_broadband.cgi +++ b/httemplate/edit/svc_broadband.cgi @@ -100,10 +100,9 @@ END ; my @fields = ( - qw( description ip_addr speed_down speed_up ), + qw( description speed_down speed_up ), { field=>'sectornum', type=>'select-tower_sector', }, - qw( blocknum ), - { field=>'block_label', type=>'fixed' }, + { field=>'routernum', type=>'select-router_block_ip', }, qw( mac_addr latitude longitude altitude vlan_profile performance_profile authkey plan_id ), ); |