X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Ffirst_pkg%2Fsvc_acct.html;h=8308af431ac6fe555ca7e60d051e0862f0127a06;hp=91ee7a56c8919667b1bc784af45ccaa518232326;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hpb=8fb243091939f37e24163925be78f4e9f3485978 diff --git a/httemplate/edit/cust_main/first_pkg/svc_acct.html b/httemplate/edit/cust_main/first_pkg/svc_acct.html index 91ee7a56c..8308af431 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") %> + - + - + - + - - - - +% if ( $opt{'password_verify'} ) { + + + +% } + +% if ( $conf->exists('security_phrase') ) { + + + +% } else { + +% } + +% if ( $conf->exists('svc_acct-disable_access_number') ) { + +% } else { + + + +% }
Username<% mt('Username') |h %> MAXLENGTH = <% $ulen %> > @@ -13,43 +13,69 @@
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'}) %>
<% mt('Re-enter Password') |h %> + + + MAXLENGTH = <% $passwordmax %>> +
<% mt('Security Phrase') |h %> + +
<% 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;