1 <% ntable("#cccccc") %>
4 <TD ALIGN="right"><% mt('Username') |h %></TD>
8 VALUE = "<% $opt{'username'} |h %>"
10 MAXLENGTH = <% $ulen %>
16 <TD ALIGN="right"><% mt('Domain') |h %></TD>
18 <SELECT NAME="domsvc">
19 <OPTION>(<% mt('none') |h %>)</OPTION>
25 <TD ALIGN="right"><% mt('Password') |h %></TD>
29 VALUE = "<% $opt{'password'} |h %>"
31 MAXLENGTH = <% $passwordmax %>>
32 % unless ( $opt{'password_verify'} ) {
38 % if ( $opt{'password_verify'} ) {
40 <TD ALIGN="right"><% mt('Re-enter Password') |h %></TD>
44 VALUE = "<% $opt{'password2'} |h %>"
46 MAXLENGTH = <% $passwordmax %>>
51 % if ( $conf->exists('security_phrase') ) {
53 <TD ALIGN="right"><% mt('Security Phrase') |h %></TD>
54 <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="<% $opt{'sec_phrase'} |h %>">
58 <INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">
61 % if ( $conf->exists('svc_acct-disable_access_number') ) {
62 <INPUT TYPE="hidden" NAME="popnum" VALUE="">
65 <TD ALIGN="right"><% mt('Access number') |h %></TD>
66 %# XXX should gain "area code" selection and labels on the dropdowns
67 <TD><% FS::svc_acct_pop::popselector($opt{'popnum'}) %></TD>
77 my $conf = new FS::Conf;
79 my $ulen = dbdef->table('svc_acct')->column('username')->length;
81 my $passwordmax = $conf->config('passwordmax') || 8;
82 my $pmax2 = $passwordmax + 2;