X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_svc.cgi;h=c5fff25e0540af19ee996759ce07c654bf98801e;hb=c738a3c4923774b64960aa87fa58bd0751487edb;hp=bc38c34bda42318737ed335ea4fde8a968cf70d3;hpb=4d599c8ce382f51d7bfbb4172cdc73a2c8bd400d;p=freeside.git diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index bc38c34bd..c5fff25e0 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -23,8 +23,7 @@ my $hashref = $part_svc->hashref; #" onLoad=\"visualize()\"" %> - -<%= header("$action Service Definition", +<%= include("/elements/header.html","$action Service Definition", menubar( 'Main Menu' => $p, 'View all service definitions' => "${p}browse/part_svc.cgi" ), @@ -67,8 +66,8 @@ my $conf = new FS::Conf; my %defs = ( 'svc_acct' => { 'dir' => 'Home directory', - 'uid' => 'UID (set to fixed and blank for dial-only)', - 'slipip' => 'IP address (Set to fixed and blank to disable dialin, or, set a value to be exported to RADIUS Framed-IP-Address. Use the special value 0e0 [zero e zero] to enable export to RADIUS without a Framed-IP-Address.)', + 'uid' => 'UID (set to fixed and blank for no UIDs)', + 'slipip' => 'IP address', # 'popnum' => qq!POP number!, 'popnum' => { desc => 'Access number', @@ -85,7 +84,7 @@ my %defs = ( '_password' => 'Password', 'gid' => 'GID (when blank, defaults to UID)', 'shell' => { - desc =>'Shell (all service definitions should have a default or fixed shell that is present in the shells configuration file)', + desc =>'Shell (all service definitions should have a default or fixed shell that is present in the shells configuration file, set to blank for no shell tracking)', type =>'select', select_list => [ $conf->config('shells') ], }, @@ -98,7 +97,7 @@ my %defs = ( select_label => 'domain', }, 'usergroup' => { - desc =>'ICRADIUS/FreeRADIUS groups', + desc =>'RADIUS groups', type =>'radius_usergroup_selector', }, }, @@ -194,7 +193,7 @@ my %defs = ( $html .= table(). "FieldModifier"; #yucky kludge - my @fields = defined( $FS::Record::dbdef->table($layer) ) + my @fields = defined( dbdef->table($layer) ) ? grep { $_ ne 'svcnum' } fields($layer) : (); push @fields, 'usergroup' if $layer eq 'svc_acct'; #kludge