<% ntable("#cccccc") %> <% mt('Username') |h %> MAXLENGTH = <% $ulen %> > <% mt('Domain') |h %> <% mt('Password') |h %> MAXLENGTH = <% $passwordmax %>> % unless ( $opt{'password_verify'} ) { (blank to generate) % } % 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> my( %opt ) = @_; my $conf = new FS::Conf; my $ulen = dbdef->table('svc_acct')->column('username')->length; my $ulen2 = $ulen+2; my $passwordmax = $conf->config('passwordmax') || 8; my $pmax2 = $passwordmax + 2;