display: none;
}
</STYLE>
-<A ID="<%$pre%>link" HREF="javascript:void(0)" onclick="<%$pre%>toggle(true)">(<% mt('change') %>)</A>
+<A ID="<%$pre%>link" HREF="javascript:void(0)" onclick="<%$pre%>toggle(true)">(<% emt('change') %>)</A>
<DIV ID="<%$pre%>form" CLASS="passwordbox">
<FORM METHOD="POST" ACTION="<%$fsurl%>misc/process/change-password.html">
<INPUT TYPE="hidden" NAME="svcnum" VALUE="<% $svc_acct->svcnum |h%>">
<TR>
- <TD ALIGN="right" VALIGN="top"><% mt('Phones') %></TD>
+ <TD ALIGN="right" VALIGN="top"><% emt('Phones') %></TD>
<TD COLSPAN=6>
<TABLE CELLSPACING=0 CELLPADDING=0>
<TR>
<TD>
<INPUT TYPE="text" NAME="<%$pre%>daytime" VALUE="<% $cust_main->get($pre.'daytime') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>>
- <BR><FONT SIZE=-1><% $daytime_label %></FONT>
+ <BR><FONT SIZE=-1><% $daytime_label |h %></FONT>
</TD>
<TD> </TD>
<TD>
<INPUT TYPE="text" NAME="<%$pre%>night" VALUE="<% $cust_main->get($pre.'night') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>>
- <BR><FONT SIZE=-1><% $night_label %></FONT>
+ <BR><FONT SIZE=-1><% $night_label |h %></FONT>
</TD>
<TD> </TD>
<TD>
<INPUT TYPE="text" NAME="<%$pre%>mobile" VALUE="<% $cust_main->get($pre.'mobile') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>>
- <BR><FONT SIZE=-1><% $mobile_label %></FONT>
+ <BR><FONT SIZE=-1><% $mobile_label |h %></FONT>
</TD>
</TR>
</TABLE>
td_invnum.setAttribute('colspan', 4);
td_invnum.style.textAlign = 'right';
td_invnum.appendChild(
- document.createTextNode('<% mt('Apply to Invoice ') %>')
+ document.createTextNode(<% mt('Apply to Invoice ') |js_string %>)
);
var select_invnum = document.createElement('SELECT');
select_invnum.setAttribute('rownum', rownum);
% if ( $cust_pkg->contactnum ) {
<TR>
- <TH ALIGN="right"><% mt('Current Contact') %></TH>
+ <TH ALIGN="right"><% emt('Current Contact') %></TH>
<TD COLSPAN=7 BGCOLOR="#dddddd">
<% $cust_pkg->contact_obj->line |h %>
</TD>
<INPUT TYPE="hidden" NAME="last" VALUE="<% $cust_contact->get('last') |h %>">
<TR>
- <TH ALIGN="right"><% mt('Name') %></TH>
+ <TH ALIGN="right"><% emt('Name') %></TH>
<TD COLSPAN=7 BGCOLOR="#dddddd">
<% $cust_pkg->contact_obj->line |h %>
</TD>
% #}
<TR>
- <TH ALIGN="right" VALIGN="top"><% mt('Address') %></TH>
+ <TH ALIGN="right" VALIGN="top"><% emt('Address') %></TH>
<TD COLSPAN=7 BGCOLOR="#dddddd">
<% $loc->location_label( 'join_string' => '<BR>',
<% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
<& /elements/tr-select-cust_main-status.html,
- label => mt('Customer Status') &>
+ label => emt('Customer Status') &>
<& /elements/tr-select-cust_class.html,
- label => mt('Customer Class'), field => 'cust_classnum', multiple => 1 &>
+ label => emt('Customer Class'), field => 'cust_classnum', multiple => 1 &>
<& /elements/tr-select.html,
label => 'Invoice Status',
field => 'mode',
<TD ALIGN="right">
<INPUT TYPE="checkbox" NAME="include_monthly" VALUE=1>
</TD>
- <TD ALIGN="left"><% mt('Include packages with period ≤ 1 month') %>
+ <TD ALIGN="left"><% emt('Include packages with period < 1 month') %>
</TD>
</TR>
<TR>
% $onclick = '<A HREF="#" onclick="'.$onclick.'">';
% if ( $cust_bill->promised_date ) {
% my $date_format = $conf->config('date_format') || '%b %o, %Y';
- <% mt('Payment promised by [_1]',
+ <% emt('Payment promised by [_1]',
time2str($date_format, $cust_bill->promised_date) ) %>
( <% $onclick %><% mt('change') |h %></A> )
<BR><BR>
% $cust_bill->cust_main->agent->invoice_modes;
% if ( @modes || $include_statement_template ) {
<% $br ? '|' : '' %>
-<% mt('View as:') %>
+<% emt('View as:') %>
<FORM STYLE="display:inline" ACTION="<% $cgi->url %>" METHOD="GET">
<INPUT NAME="invnum" VALUE="<% $invnum %>" TYPE="hidden">
<& /elements/select-table.html,
% if ( $this eq 'ship' and
% $cust_main->bill_locationnum == $cust_main->ship_locationnum )
% {
- (<% mt('same as billing') %>)
+ (<% emt('same as billing') %>)
% }
</FONT>
% if (
% if ( $conf->exists('ticket_system-selfservice_edit_subject') ) {
<TR>
- <TH ALIGN="right"><% mt('Edit ticket subjects') %></TH>
+ <TH ALIGN="right"><% emt('Edit ticket subjects') %></TH>
<TD><% $cust_main->edit_subject ? 'yes' : 'no' %></TD>
</TR>
.row1 {background-color: #ffffff}
</STYLE>
<DIV id="cust_msg">
-<FONT SIZE="+1"> <% mt('Email sent to this customer') %> </FONT><BR>
+<FONT SIZE="+1"> <% emt('Email sent to this customer') %> </FONT><BR>
% if ($maxrecords < $total) {
-<% mt('Showing [_1] most recent of [quant,_2,total message]', $maxrecords, $total) %>
+<% emt('Showing [_1] most recent of [quant,_2,total message]', $maxrecords, $total) %>
<A HREF="<%$p%>search/cust_msg.html?custnum=<%$custnum%>">
- <i>(<% mt('view all') %>)</i>
+ <i>(<% emt('view all') %>)</i>
</A>
% } else {
-<% mt('[quant,_1,total message]', $total) %>
+<% emt('[quant,_1,total message]', $total) %>
% }
<BR>
<& /elements/table-grid.html &>
<TR>
- <TH CLASS="grid"><% mt('Date') %></TH>
- <TH CLASS="grid"><% mt('Type') %></TH>
- <TH CLASS="grid"><% mt('Destination') %></TH>
- <TH CLASS="grid"><% mt('Subject') %></TH>
+ <TH CLASS="grid"><% emt('Date') %></TH>
+ <TH CLASS="grid"><% emt('Type') %></TH>
+ <TH CLASS="grid"><% emt('Destination') %></TH>
+ <TH CLASS="grid"><% emt('Subject') %></TH>
<TH CLASS="grid"></TH>
</TR>
% my $i = 0;
% if ( @cust_pkg_usage ) {
<TABLE CLASS="usage inv">
- <TR><TH COLSPAN=4><% mt('Included usage') %></TH></TR>
+ <TR><TH COLSPAN=4><% emt('Included usage') %></TH></TR>
% foreach my $usage (@cust_pkg_usage) {
% my $part = $usage->part_pkg_usage;
% my $ratio = 255 * ($usage->minutes / $part->minutes);