fix translation escaping
[freeside.git] / httemplate / elements / searchbar-cust_svc.html
index 8d5ca40..36fb9b2 100644 (file)
@@ -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>
 <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>