X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Ffirst_pkg%2Fsvc_acct.html;h=b1ccc137cbd3dbe5909c11e231a76c89b4746001;hb=b5dbd9e1bcbb701a20ed23e723b1e0105fd7c1a1;hp=91ee7a56c8919667b1bc784af45ccaa518232326;hpb=8fb243091939f37e24163925be78f4e9f3485978;p=freeside.git diff --git a/httemplate/edit/cust_main/first_pkg/svc_acct.html b/httemplate/edit/cust_main/first_pkg/svc_acct.html index 91ee7a56c..b1ccc137c 100644 --- a/httemplate/edit/cust_main/first_pkg/svc_acct.html +++ b/httemplate/edit/cust_main/first_pkg/svc_acct.html @@ -1,7 +1,7 @@ <% ntable("#cccccc") %> - Username + <% mt('Username') |h %> - Domain + <% mt('Domain') |h %> - Password + <% mt('Password') |h %> MAXLENGTH = <% $passwordmax %>> - (blank to generate) +% unless ( $opt{'password_verify'} ) { + (blank to generate) +% } - - Access number - <% FS::svc_acct_pop::popselector($opt{'popnum'}) %> - +% if ( $opt{'password_verify'} ) { + + <% mt('Re-enter Password') |h %> + + + MAXLENGTH = <% $passwordmax %>> + + +% } + +% if ( $conf->exists('security_phrase') ) { + + <% mt('Security Phrase') |h %> + + + +% } else { + +% } + +% if ( $conf->exists('svc_acct-disable_access_number') ) { + +% } else { + + <% mt('Access number') |h %> +%# XXX should gain "area code" selection and labels on the dropdowns + <% FS::svc_acct_pop::popselector($opt{'popnum'}) %> + +% } <%init> -#use FS::svc_acct_pop; - my( %opt ) = @_; my $conf = new FS::Conf; -#false laziness: (mostly) copied from edit/svc_acct.cgi -#$ulen = $svc_acct->dbdef_table->column('username')->length; my $ulen = dbdef->table('svc_acct')->column('username')->length; my $ulen2 = $ulen+2; my $passwordmax = $conf->config('passwordmax') || 8;