X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_acct.cgi;h=f9c4074728173165ebbdaacca3654b49da7eaecd;hb=f35655ae23a80ced7363e6411bcacd5136aafeb8;hp=e0610b22f1eafb681a520400d623ecc6e506c1be;hpb=52102268bc5698130474edfda0c3b380426cf325;p=freeside.git diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index e0610b22f..f9c407472 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -161,6 +161,7 @@ Service # <% $svcnum ? "$svcnum" : " (NEW)" %>
+%if ( $part_svc->part_svc_column('_password')->columnflag ne 'F' ) { Password @@ -168,9 +169,13 @@ Service # <% $svcnum ? "$svcnum" : " (NEW)" %>
(blank to generate) +%}else{ + +%} % %my $sec_phrase = $svc_acct->sec_phrase; -%if ( $conf->exists('security_phrase') ) { +%if ( $conf->exists('security_phrase') +% && $part_svc->part_svc_column('sec_phrase')->columnflag ne 'F' ) { % @@ -326,10 +331,22 @@ Service # <% $svcnum ? "$svcnum" : " (NEW)" %>
% } - +% +%#dir +%if ( $part_svc->part_svc_column('dir')->columnflag eq 'F' +% || !$curuser->access_right('Edit home dir') +% ) { +% } else { + + + + Home directory + + +% } % %#shell %my $shell = $svc_acct->shell;