diff options
Diffstat (limited to 'httemplate/edit/cust_main/first_pkg/svc_acct.html')
-rw-r--r-- | httemplate/edit/cust_main/first_pkg/svc_acct.html | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/httemplate/edit/cust_main/first_pkg/svc_acct.html b/httemplate/edit/cust_main/first_pkg/svc_acct.html deleted file mode 100644 index 150d4c043..000000000 --- a/httemplate/edit/cust_main/first_pkg/svc_acct.html +++ /dev/null @@ -1,88 +0,0 @@ -<% ntable("#cccccc") %> - - <TR> - <TD ALIGN="right">Username</TD> - <TD> - <INPUT TYPE = "text" - NAME = "username" - VALUE = "<% $opt{'username'} %>" - SIZE = <% $ulen2 %> - MAXLENGTH = <% $ulen %> - > - </TD> - </TR> - - <TR> - <TD ALIGN="right">Domain</TD> - <TD> - <SELECT NAME="domsvc"> - <OPTION>(none)</OPTION> - </SELECT> - </TD> - </TR> - - <TR> - <TD ALIGN="right">Password</TD> - <TD> - <INPUT TYPE = "text" - NAME = "_password" - VALUE = "<% $opt{'password'} %>" - SIZE = <% $pmax2 %> - MAXLENGTH = <% $passwordmax %>> -% unless ( $opt{'password_verify'} ) { - (blank to generate) -% } - </TD> - </TR> - -% if ( $opt{'password_verify'} ) { - <TR> - <TD ALIGN="right">Re-enter Password</TD> - <TD> - <INPUT TYPE = "text" - NAME = "_password2" - VALUE = "<% $opt{'password2'} %>" - SIZE = <% $pmax2 %> - MAXLENGTH = <% $passwordmax %>> - </TD> - </TR> -% } - -% if ( $conf->exists('security_phrase') ) { - <TR> - <TD ALIGN="right">Security Phrase</TD> - <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="<% $opt{'sec_phrase'} %>"> - </TD> - </TR> -% } else { - <INPUT TYPE="hidden" NAME="sec_phrase" VALUE=""> -% } - -% if ( $conf->exists('svc_acct-disable_access_number') ) { - <INPUT TYPE="hidden" NAME="popnum" VALUE=""> -% } else { - <TR> - <TD ALIGN="right">Access number</TD> -%# XXX should gain "area code" selection and labels on the dropdowns - <TD><% FS::svc_acct_pop::popselector($opt{'popnum'}) %></TD> - </TR> -% } - -</TABLE> - -<%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 $pmax2 = $passwordmax + 2; - -</%init> |