[freeside-commits] freeside/httemplate/edit/process/addr_block manual_flag.cgi, NONE, 1.1
Jeff Finucane,420,,
jeff at wavetail.420.am
Fri Sep 26 20:01:45 PDT 2008
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main packages.html, 1.20.2.15, 1.20.2.16
- Next message: [freeside-commits] freeside/FS/FS Conf.pm, 1.243, 1.244 Schema.pm, 1.110, 1.111 addr_block.pm, 1.9, 1.10 svc_broadband.pm, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process/addr_block
In directory wavetail.420.am:/tmp/cvs-serv7676/httemplate/edit/process/addr_block
Added Files:
manual_flag.cgi
Log Message:
per address block ip auto assignment and auto router selection
--- NEW FILE: manual_flag.cgi ---
<% $cgi->redirect(popurl(4). "browse/addr_block.cgi?". $cgi->query_string ) %>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
unless $curuser->access_right('Broadband configuration')
|| $curuser->access_right('Broadband global configuration');
my $error = '';
$cgi->param('blocknum') =~ /^(\d+)$/ or die "invalid blocknum";
my $blocknum = $1;
my $addr_block = qsearchs({ 'table' => 'addr_block',
'hashref' => { blocknum => $blocknum },
'extra_sql' => ' AND '. $curuser->agentnums_sql(
'null_right' => 'Broadband global configuration'
),
})
or $error = "Unknown blocknum: $blocknum";
$addr_block->manual_flag($cgi->param('manual_flag'))
unless $error;
$error ||= $addr_block->replace;
$cgi->param('error', $error)
if $error;
</%init>
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main packages.html, 1.20.2.15, 1.20.2.16
- Next message: [freeside-commits] freeside/FS/FS Conf.pm, 1.243, 1.244 Schema.pm, 1.110, 1.111 addr_block.pm, 1.9, 1.10 svc_broadband.pm, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list