X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Ffirst_pkg%2Fsvc_acct.html;h=4ffd7ea565957550fc50067cd048672bf307a39c;hb=2f2a2813ce2476a3e6294f601af7356091b41a63;hp=150d4c04377e9499e80d6e55f2b6f4cb3f19b2ab;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;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 150d4c043..4ffd7ea56 100644 --- a/httemplate/edit/cust_main/first_pkg/svc_acct.html +++ b/httemplate/edit/cust_main/first_pkg/svc_acct.html @@ -1,11 +1,11 @@ -<% ntable("#cccccc") %> + - + - + - + - + @@ -50,8 +50,8 @@ % if ( $conf->exists('security_phrase') ) { - - % } else { @@ -62,7 +62,7 @@ % } else { - + @@ -72,17 +72,13 @@ <%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; +my $passwordmax = $conf->config('passwordmax') || 12; my $pmax2 = $passwordmax + 2;
Username<% mt('Username') |h %> MAXLENGTH = <% $ulen %> > @@ -13,20 +13,20 @@
Domain<% mt('Domain') |h %>
Password<% mt('Password') |h %> - MAXLENGTH = <% $passwordmax %>> % unless ( $opt{'password_verify'} ) { @@ -37,11 +37,11 @@ % if ( $opt{'password_verify'} ) {
Re-enter Password<% mt('Re-enter Password') |h %> - MAXLENGTH = <% $passwordmax %>>
Security Phrase + <% mt('Security Phrase') |h %> +
Access number<% mt('Access number') |h %> %# XXX should gain "area code" selection and labels on the dropdowns <% FS::svc_acct_pop::popselector($opt{'popnum'}) %>