summaryrefslogtreecommitdiff
path: root/httemplate/elements/searchbar-cust_svc.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-09-25 12:29:45 -0700
committerIvan Kohler <ivan@freeside.biz>2016-09-25 12:29:45 -0700
commit0a5585fba67aaa55301fe585a75aae1106aea1e6 (patch)
tree3099d8922d1b765c869d781251e1cbfc99007475 /httemplate/elements/searchbar-cust_svc.html
parent017a6460130be41bb563318b28ab61115d1cfb35 (diff)
fix translation escaping
Diffstat (limited to 'httemplate/elements/searchbar-cust_svc.html')
-rw-r--r--httemplate/elements/searchbar-cust_svc.html6
1 files changed, 3 insertions, 3 deletions
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') ) {
<FORM ACTION="<%$fsurl%>search/cust_svc.html" METHOD="GET" STYLE="margin:0">
- <INPUT NAME="search_svc" TYPE="text" VALUE="<% mt("$svc_label |n") %>" STYLE="width:<% $width %>" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" CLASS="fstext"><BR>
+ <INPUT NAME="search_svc" TYPE="text" VALUE="<% $svc_label |n %>" STYLE="width:<% $width %>" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" CLASS="fstext"><BR>
<A NOTYET="<%$fsurl%>search/svc_Smarter.html" STYLE="color: #cccccc; font-size:11px"><% mt('Advanced') |h %></A>
<INPUT TYPE="submit" VALUE="<% mt('Search services') |h %>" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px">
</FORM>
@@ -12,14 +12,14 @@
<SCRIPT TYPE="text/javascript">
function clearhint_search_svc (what) {
- if ( what.value == '<% mt("$svc_label |n") %>' )
+ if ( what.value == '<% $svc_label |n %>' )
what.value = '';
}
</SCRIPT>
<%once>
-my $svc_label = '(user, email, ip, mac, domain or service phone)';
+my $svc_label = mt('(user, email, ip, mac, domain or service phone)');
</%once>
<%init>