X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Ffirst_pkg%2Fsvc_acct.html;h=717bf5025bc58766941fddbc96f48ca239c4afda;hb=e710e07e4451b7c615fb477799dc64bf3490248c;hp=150d4c04377e9499e80d6e55f2b6f4cb3f19b2ab;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;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..717bf5025 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") %>
- 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 %>>
|
@@ -50,8 +50,8 @@
% if ( $conf->exists('security_phrase') ) {
- Security Phrase |
-
+ | <% mt('Security Phrase') |h %> |
+
|
% } else {
@@ -62,7 +62,7 @@
% } else {
- Access number |
+ <% mt('Access number') |h %> |
%# XXX should gain "area code" selection and labels on the dropdowns
<% FS::svc_acct_pop::popselector($opt{'popnum'}) %> |
@@ -72,14 +72,10 @@
<%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;