X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fedit%2Fpart_svc.cgi;h=8a9018a2525be99238d146bae70761f978386285;hb=b6d1aed30d51bdae49ca22e5aa5baab635969097;hp=8a39fc7a9be3f13d889eab1be2a49212f343e8bc;hpb=e0da34d97b1463b55a334e8dae10cd55796e2312;p=freeside.git diff --git a/htdocs/edit/part_svc.cgi b/htdocs/edit/part_svc.cgi index 8a39fc7a9..8a9018a25 100755 --- a/htdocs/edit/part_svc.cgi +++ b/htdocs/edit/part_svc.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: part_svc.cgi,v 1.8 1999-02-07 09:59:21 ivan Exp $ +# $Id: part_svc.cgi,v 1.11 1999-04-09 03:52:55 ivan Exp $ # # ivan@sisd.com 97-nov-14 # @@ -10,7 +10,17 @@ # use FS::CGI, added inline documentation ivan@sisd.com 98-jul-12 # # $Log: part_svc.cgi,v $ -# Revision 1.8 1999-02-07 09:59:21 ivan +# Revision 1.11 1999-04-09 03:52:55 ivan +# explicit & for table/itable/ntable +# +# Revision 1.10 1999/04/08 13:01:50 ivan +# [ AND DOCUMENT! ] all svc_acct services should have a default +# or fixed shell +# +# Revision 1.9 1999/02/23 08:09:21 ivan +# beginnings of one-screen new customer entry and some other miscellania +# +# Revision 1.8 1999/02/07 09:59:21 ivan # more mod_perl fixes, and bugfixes Peter Wemm sent via email # # Revision 1.7 1999/01/19 05:13:42 ivan @@ -93,7 +103,7 @@ blank slipip as well as a fixed shell something like /bin/true or /usr/bin/passwd.

END -print table, 'Table', map '{svcdb}). ">$_\n", qw( svc_acct svc_domain svc_acct_sm ); @@ -117,7 +127,7 @@ END 'quota' => '(unimplemented)', '_password' => 'Password', 'gid' => 'GID (when blank, defaults to UID)', - 'shell' => 'Shell', + 'shell' => 'Shell (all service definitions should have a default or fixed shell that is present in the shells configuration file)', 'finger' => 'GECOS', }, 'svc_domain' => { @@ -151,9 +161,12 @@ foreach $svcdb ( qw( my($ptmp)="$svcdb"; my($row); foreach $row (@rows) { - my($value)=$part_svc->getfield($svcdb.'__'.$row); - my($flag)=$part_svc->getfield($svcdb.'__'.$row.'_flag'); - print "$ptmp$row - $defs{$svcdb}{$row}"; + my $value = $part_svc->getfield($svcdb. '__'. $row); + my $flag = $part_svc->getfield($svcdb. '__'. $row. '_flag'); + print "$ptmp$row"; + print "- $defs{$svcdb}{$row}" + if defined $defs{$svcdb}{$row}; + print ""; print qq!Off"; print qq!