From 0a5585fba67aaa55301fe585a75aae1106aea1e6 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 25 Sep 2016 12:29:45 -0700 Subject: [PATCH] fix translation escaping --- httemplate/edit/cust_main/name.html | 2 +- httemplate/elements/searchbar-address2.html | 2 +- httemplate/elements/searchbar-cust_svc.html | 6 +++--- httemplate/elements/searchbar-prospect.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/httemplate/edit/cust_main/name.html b/httemplate/edit/cust_main/name.html index 9c6a24b56..713f54cdb 100644 --- a/httemplate/edit/cust_main/name.html +++ b/httemplate/edit/cust_main/name.html @@ -2,7 +2,7 @@ % my ($field, $value, $label, $extra) = @_;
> -
<% mt($label) %> +
<% emt($label) %>
diff --git a/httemplate/elements/searchbar-address2.html b/httemplate/elements/searchbar-address2.html index 047db89ab..eb1fd06f0 100644 --- a/httemplate/elements/searchbar-address2.html +++ b/httemplate/elements/searchbar-address2.html @@ -4,7 +4,7 @@
- " CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px;padding-left:1px;padding-right:1px;margin-top:3px"> + " CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px;padding-left:1px;padding-right:1px;margin-top:3px"> <% $menu_position eq 'left' ? '
' : '' |n %> diff --git a/httemplate/elements/searchbar-cust_svc.html b/httemplate/elements/searchbar-cust_svc.html index 8d5ca40d5..36fb9b298 100644 --- a/httemplate/elements/searchbar-cust_svc.html +++ b/httemplate/elements/searchbar-cust_svc.html @@ -1,7 +1,7 @@ % if ( $curuser->access_right('View customer services') ) {
- " STYLE="width:<% $width %>" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" CLASS="fstext">
+
<% mt('Advanced') |h %>
@@ -12,14 +12,14 @@ <%once> -my $svc_label = '(user, email, ip, mac, domain or service phone)'; +my $svc_label = mt('(user, email, ip, mac, domain or service phone)'); <%init> diff --git a/httemplate/elements/searchbar-prospect.html b/httemplate/elements/searchbar-prospect.html index 25883bba8..e5ca430f9 100644 --- a/httemplate/elements/searchbar-prospect.html +++ b/httemplate/elements/searchbar-prospect.html @@ -3,7 +3,7 @@

<% mt('Adv') |h %> - " CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px;padding-left:1px;padding-right:1px"> + " CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px;padding-left:1px;padding-right:1px">
<% $menu_position eq 'left' ? '
' : '' |n %> -- 2.11.0