summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2002-03-22 18:56:33 +0000
committerivan <ivan>2002-03-22 18:56:33 +0000
commit20bb426a02c0ea54d8feaea7c5da51735ab70293 (patch)
tree28282f7c74f9f13ba831df23b26465d9b7b1b6e2 /httemplate/edit
parentb159f42fa3f48cc2ca3b43773e7661e17d2fb072 (diff)
RADIUS groups on the way!
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/part_svc.cgi4
-rwxr-xr-xhttemplate/edit/svc_acct.cgi4
2 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi
index 3292a9b..b1bb7f3 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 d147a16..6846b5c 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 '<TR><TD ALIGN="right">RADIUS groups</TD><TD>'.
+ &FS::svc_acct::radius_usergroup_selector( [ $svc_acct->radius_groups ] ).
+ '</TD></TR>';
+
#submit
print qq!</TABLE><BR><INPUT TYPE="submit" VALUE="Submit">!;