diff options
| author | ivan <ivan> | 2004-08-19 10:53:32 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2004-08-19 10:53:32 +0000 | 
| commit | aef8e9696491331ed26197f43eb351ed4d416336 (patch) | |
| tree | b801d43cb3999fe5af373f2d3cb32917beafc45d | |
| parent | 19ca51b6b215fc76757812b5b4d2bea6dd6e4cf7 (diff) | |
shell field is now a dropdown of legal shells, closes: Bug#118
| -rwxr-xr-x | httemplate/edit/part_svc.cgi | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 6868ffd65..72fffaeb8 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -71,6 +71,7 @@ my %vfields;  #these might belong somewhere else for other user interfaces   #pry need to eventually create stuff that's shared amount UIs +my $conf = new FS::Conf;  my %defs = (    'svc_acct' => {      'dir'       => 'Home directory', @@ -91,7 +92,11 @@ my %defs = (      'quota'     => '',      '_password' => 'Password',      'gid'       => 'GID (when blank, defaults to UID)', -    'shell'     => 'Shell (all service definitions should have a default or fixed shell that is present in the <b>shells</b> configuration file)', +    'shell'     => { +                     desc =>'Shell (all service definitions should have a default or fixed shell that is present in the <b>shells</b> configuration file)', +                     type =>'select', +                     select_list => [ $conf->config('shells') ], +                   },      'finger'    => 'GECOS',      'domsvc'    => {                       desc =>'svcnum from svc_domain', | 
