From 20bb426a02c0ea54d8feaea7c5da51735ab70293 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 22 Mar 2002 18:56:33 +0000 Subject: RADIUS groups on the way! --- httemplate/edit/part_svc.cgi | 4 ++++ httemplate/edit/svc_acct.cgi | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'httemplate/edit') diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 3292a9b9b..b1bb7f3d3 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -86,6 +86,10 @@ my %defs = ( select_key => 'svcnum', select_label => 'domain', }, + 'radius_groups' => { + desc =>'ICRADIUS/FreeRADIUS groups', + type =>'radius_usergroup_selector', + }, }, 'svc_domain' => { 'domain' => 'Domain', diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index d147a1683..6846b5c93 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -239,6 +239,10 @@ foreach my $r ( grep { /^r(adius|[cr])_/ } fields('svc_acct') ) { } } +print 'RADIUS groups'. + &FS::svc_acct::radius_usergroup_selector( [ $svc_acct->radius_groups ] ). + ''; + #submit print qq!
!; -- cgit v1.2.1