projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
19ca51b
)
shell field is now a dropdown of legal shells, closes: Bug#118
author
ivan
<ivan>
Thu, 19 Aug 2004 10:53:32 +0000
(10:53 +0000)
committer
ivan
<ivan>
Thu, 19 Aug 2004 10:53:32 +0000
(10:53 +0000)
httemplate/edit/part_svc.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/part_svc.cgi
b/httemplate/edit/part_svc.cgi
index
6868ffd
..
72fffae
100755
(executable)
--- 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
#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',
my %defs = (
'svc_acct' => {
'dir' => 'Home directory',
@@
-91,7
+92,11
@@
my %defs = (
'quota' => '',
'_password' => 'Password',
'gid' => 'GID (when blank, defaults to UID)',
'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',
'finger' => 'GECOS',
'domsvc' => {
desc =>'svcnum from svc_domain',