freeside/httemplate/edit part_svc.cgi,1.27.4.5,1.27.4.6
ivan
ivan at pouncequick.420.am
Thu Aug 19 03:53:35 PDT 2004
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory pouncequick:/tmp/cvs-serv29701
Modified Files:
Tag: FREESIDE_1_4_BRANCH
part_svc.cgi
Log Message:
shell field is now a dropdown of legal shells, closes: Bug#118
Index: part_svc.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_svc.cgi,v
retrieving revision 1.27.4.5
retrieving revision 1.27.4.6
diff -u -d -r1.27.4.5 -r1.27.4.6
--- part_svc.cgi 13 Jan 2003 06:20:03 -0000 1.27.4.5
+++ part_svc.cgi 19 Aug 2004 10:53:33 -0000 1.27.4.6
@@ -67,6 +67,7 @@
<%
#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',
@@ -87,7 +88,11 @@
'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',
More information about the freeside-commits
mailing list