projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
42a5e54
)
fix translation escaping
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 25 Sep 2016 19:20:40 +0000
(12:20 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 25 Sep 2016 19:20:40 +0000
(12:20 -0700)
httemplate/elements/change_password.html
patch
|
blob
|
history
httemplate/elements/tr-cust_main-phones.html
patch
|
blob
|
history
httemplate/misc/batch-cust_pay.html
patch
|
blob
|
history
httemplate/misc/change_pkg_contact.html
patch
|
blob
|
history
httemplate/misc/detach_pkg.html
patch
|
blob
|
history
httemplate/search/report_prepaid_income.html
patch
|
blob
|
history
httemplate/view/cust_bill.cgi
patch
|
blob
|
history
httemplate/view/cust_main/contacts.html
patch
|
blob
|
history
httemplate/view/cust_main/misc.html
patch
|
blob
|
history
httemplate/view/cust_main/notes/email.html
patch
|
blob
|
history
httemplate/view/cust_main/packages/package.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/change_password.html
b/httemplate/elements/change_password.html
index
2b40ec1
..
a84e823
100644
(file)
--- a/
httemplate/elements/change_password.html
+++ b/
httemplate/elements/change_password.html
@@
-8,7
+8,7
@@
display: none;
}
</STYLE>
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)">(<%
e
mt('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%>">
<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%>">
diff --git
a/httemplate/elements/tr-cust_main-phones.html
b/httemplate/elements/tr-cust_main-phones.html
index
accf8ac
..
a193401
100644
(file)
--- a/
httemplate/elements/tr-cust_main-phones.html
+++ b/
httemplate/elements/tr-cust_main-phones.html
@@
-1,22
+1,22
@@
<TR>
<TR>
- <TD ALIGN="right" VALIGN="top"><% mt('Phones') %></TD>
+ <TD ALIGN="right" VALIGN="top"><%
e
mt('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%>>
<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%>>
</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%>>
</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>
</TR>
</TABLE>
diff --git
a/httemplate/misc/batch-cust_pay.html
b/httemplate/misc/batch-cust_pay.html
index
197ade1
..
d4d4afa
100644
(file)
--- a/
httemplate/misc/batch-cust_pay.html
+++ b/
httemplate/misc/batch-cust_pay.html
@@
-288,7
+288,7
@@
function create_application_row(rownum, appnum) {
td_invnum.setAttribute('colspan', 4);
td_invnum.style.textAlign = 'right';
td_invnum.appendChild(
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);
);
var select_invnum = document.createElement('SELECT');
select_invnum.setAttribute('rownum', rownum);
diff --git
a/httemplate/misc/change_pkg_contact.html
b/httemplate/misc/change_pkg_contact.html
index
c88140e
..
26eacb9
100755
(executable)
--- a/
httemplate/misc/change_pkg_contact.html
+++ b/
httemplate/misc/change_pkg_contact.html
@@
-16,7
+16,7
@@
% if ( $cust_pkg->contactnum ) {
<TR>
% if ( $cust_pkg->contactnum ) {
<TR>
- <TH ALIGN="right"><% mt('Current Contact') %></TH>
+ <TH ALIGN="right"><%
e
mt('Current Contact') %></TH>
<TD COLSPAN=7 BGCOLOR="#dddddd">
<% $cust_pkg->contact_obj->line |h %>
</TD>
<TD COLSPAN=7 BGCOLOR="#dddddd">
<% $cust_pkg->contact_obj->line |h %>
</TD>
diff --git
a/httemplate/misc/detach_pkg.html
b/httemplate/misc/detach_pkg.html
index
b2dfa38
..
dc23291
100755
(executable)
--- a/
httemplate/misc/detach_pkg.html
+++ b/
httemplate/misc/detach_pkg.html
@@
-28,7
+28,7
@@
<INPUT TYPE="hidden" NAME="last" VALUE="<% $cust_contact->get('last') |h %>">
<TR>
<INPUT TYPE="hidden" NAME="last" VALUE="<% $cust_contact->get('last') |h %>">
<TR>
- <TH ALIGN="right"><% mt('Name') %></TH>
+ <TH ALIGN="right"><%
e
mt('Name') %></TH>
<TD COLSPAN=7 BGCOLOR="#dddddd">
<% $cust_pkg->contact_obj->line |h %>
</TD>
<TD COLSPAN=7 BGCOLOR="#dddddd">
<% $cust_pkg->contact_obj->line |h %>
</TD>
@@
-36,7
+36,7
@@
% #}
<TR>
% #}
<TR>
- <TH ALIGN="right" VALIGN="top"><% mt('Address') %></TH>
+ <TH ALIGN="right" VALIGN="top"><%
e
mt('Address') %></TH>
<TD COLSPAN=7 BGCOLOR="#dddddd">
<% $loc->location_label( 'join_string' => '<BR>',
<TD COLSPAN=7 BGCOLOR="#dddddd">
<% $loc->location_label( 'join_string' => '<BR>',
diff --git
a/httemplate/search/report_prepaid_income.html
b/httemplate/search/report_prepaid_income.html
index
dfb2ea2
..
127c1b8
100644
(file)
--- a/
httemplate/search/report_prepaid_income.html
+++ b/
httemplate/search/report_prepaid_income.html
@@
-32,9
+32,9
@@
<% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
<& /elements/tr-select-cust_main-status.html,
<% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
<& /elements/tr-select-cust_main-status.html,
- label => mt('Customer Status') &>
+ label =>
e
mt('Customer Status') &>
<& /elements/tr-select-cust_class.html,
<& /elements/tr-select-cust_class.html,
- label => mt('Customer Class'), field => 'cust_classnum', multiple => 1 &>
+ label =>
e
mt('Customer Class'), field => 'cust_classnum', multiple => 1 &>
<& /elements/tr-select.html,
label => 'Invoice Status',
field => 'mode',
<& /elements/tr-select.html,
label => 'Invoice Status',
field => 'mode',
@@
-43,7
+43,7
@@
<TD ALIGN="right">
<INPUT TYPE="checkbox" NAME="include_monthly" VALUE=1>
</TD>
<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>
</TD>
</TR>
<TR>
diff --git
a/httemplate/view/cust_bill.cgi
b/httemplate/view/cust_bill.cgi
index
d952575
..
6d52776
100755
(executable)
--- a/
httemplate/view/cust_bill.cgi
+++ b/
httemplate/view/cust_bill.cgi
@@
-83,7
+83,7
@@
function areyousure(href, message) {
% $onclick = '<A HREF="#" onclick="'.$onclick.'">';
% if ( $cust_bill->promised_date ) {
% my $date_format = $conf->config('date_format') || '%b %o, %Y';
% $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]',
+ <%
e
mt('Payment promised by [_1]',
time2str($date_format, $cust_bill->promised_date) ) %>
( <% $onclick %><% mt('change') |h %></A> )
<BR><BR>
time2str($date_format, $cust_bill->promised_date) ) %>
( <% $onclick %><% mt('change') |h %></A> )
<BR><BR>
@@
-144,7
+144,7
@@
function areyousure(href, message) {
% $cust_bill->cust_main->agent->invoice_modes;
% if ( @modes || $include_statement_template ) {
<% $br ? '|' : '' %>
% $cust_bill->cust_main->agent->invoice_modes;
% if ( @modes || $include_statement_template ) {
<% $br ? '|' : '' %>
-<% mt('View as:') %>
+<%
e
mt('View as:') %>
<FORM STYLE="display:inline" ACTION="<% $cgi->url %>" METHOD="GET">
<INPUT NAME="invnum" VALUE="<% $invnum %>" TYPE="hidden">
<& /elements/select-table.html,
<FORM STYLE="display:inline" ACTION="<% $cgi->url %>" METHOD="GET">
<INPUT NAME="invnum" VALUE="<% $invnum %>" TYPE="hidden">
<& /elements/select-table.html,
diff --git
a/httemplate/view/cust_main/contacts.html
b/httemplate/view/cust_main/contacts.html
index
3feff2f
..
d75f114
100644
(file)
--- a/
httemplate/view/cust_main/contacts.html
+++ b/
httemplate/view/cust_main/contacts.html
@@
-10,7
+10,7
@@
% if ( $this eq 'ship' and
% $cust_main->bill_locationnum == $cust_main->ship_locationnum )
% {
% if ( $this eq 'ship' and
% $cust_main->bill_locationnum == $cust_main->ship_locationnum )
% {
- (<% mt('same as billing') %>)
+ (<%
e
mt('same as billing') %>)
% }
</FONT>
% if (
% }
</FONT>
% if (
diff --git
a/httemplate/view/cust_main/misc.html
b/httemplate/view/cust_main/misc.html
index
7e625d2
..
d9bf91e
100644
(file)
--- a/
httemplate/view/cust_main/misc.html
+++ b/
httemplate/view/cust_main/misc.html
@@
-165,7
+165,7
@@
% if ( $conf->exists('ticket_system-selfservice_edit_subject') ) {
<TR>
% if ( $conf->exists('ticket_system-selfservice_edit_subject') ) {
<TR>
- <TH ALIGN="right"><% mt('Edit ticket subjects') %></TH>
+ <TH ALIGN="right"><%
e
mt('Edit ticket subjects') %></TH>
<TD><% $cust_main->edit_subject ? 'yes' : 'no' %></TD>
</TR>
<TD><% $cust_main->edit_subject ? 'yes' : 'no' %></TD>
</TR>
diff --git
a/httemplate/view/cust_main/notes/email.html
b/httemplate/view/cust_main/notes/email.html
index
da2c352
..
41c5b8a
100644
(file)
--- a/
httemplate/view/cust_main/notes/email.html
+++ b/
httemplate/view/cust_main/notes/email.html
@@
-8,22
+8,22
@@
.row1 {background-color: #ffffff}
</STYLE>
<DIV id="cust_msg">
.row1 {background-color: #ffffff}
</STYLE>
<DIV id="cust_msg">
-<FONT SIZE="+1"> <% mt('Email sent to this customer') %> </FONT><BR>
+<FONT SIZE="+1"> <%
e
mt('Email sent to this customer') %> </FONT><BR>
% if ($maxrecords < $total) {
% if ($maxrecords < $total) {
-<% mt('Showing [_1] most recent of [quant,_2,total message]', $maxrecords, $total) %>
+<%
e
mt('Showing [_1] most recent of [quant,_2,total message]', $maxrecords, $total) %>
<A HREF="<%$p%>search/cust_msg.html?custnum=<%$custnum%>">
<A HREF="<%$p%>search/cust_msg.html?custnum=<%$custnum%>">
- <i>(<% mt('view all') %>)</i>
+ <i>(<%
e
mt('view all') %>)</i>
</A>
% } else {
</A>
% } else {
-<% mt('[quant,_1,total message]', $total) %>
+<%
e
mt('[quant,_1,total message]', $total) %>
% }
<BR>
<& /elements/table-grid.html &>
<TR>
% }
<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"><%
e
mt('Date') %></TH>
+ <TH CLASS="grid"><%
e
mt('Type') %></TH>
+ <TH CLASS="grid"><%
e
mt('Destination') %></TH>
+ <TH CLASS="grid"><%
e
mt('Subject') %></TH>
<TH CLASS="grid"></TH>
</TR>
% my $i = 0;
<TH CLASS="grid"></TH>
</TR>
% my $i = 0;
diff --git
a/httemplate/view/cust_main/packages/package.html
b/httemplate/view/cust_main/packages/package.html
index
0a5305e
..
1b397d8
100644
(file)
--- a/
httemplate/view/cust_main/packages/package.html
+++ b/
httemplate/view/cust_main/packages/package.html
@@
-265,7
+265,7
@@
% if ( @cust_pkg_usage ) {
<TABLE CLASS="usage inv">
% if ( @cust_pkg_usage ) {
<TABLE CLASS="usage inv">
- <TR><TH COLSPAN=4><% mt('Included usage') %></TH></TR>
+ <TR><TH COLSPAN=4><%
e
mt('Included usage') %></TH></TR>
% foreach my $usage (@cust_pkg_usage) {
% my $part = $usage->part_pkg_usage;
% my $ratio = 255 * ($usage->minutes / $part->minutes);
% foreach my $usage (@cust_pkg_usage) {
% my $part = $usage->part_pkg_usage;
% my $ratio = 255 * ($usage->minutes / $part->minutes);