[freeside-commits] freeside/httemplate/view cust_pay.html, 1.11, 1.12 svc_acct.cgi, 1.66, 1.67

Erik Levinson levinse at wavetail.420.am
Mon May 16 22:00:45 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv16996/view

Modified Files:
	cust_pay.html svc_acct.cgi 
Log Message:
internationalization/localization, RT12515

Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_acct.cgi,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -w -d -r1.66 -r1.67
--- svc_acct.cgi	16 May 2011 16:29:49 -0000	1.66
+++ svc_acct.cgi	17 May 2011 05:00:43 -0000	1.67
@@ -1,6 +1,6 @@
 % if ( $custnum ) { 
 
-  <& /elements/header.html, mt("View $svc account") &>
+  <& /elements/header.html, mt("View [_1] account",$svc) &>
   <& /elements/small_custview.html, $custnum, '', 1,
      "${p}view/cust_main.cgi" &> 
   <BR>
@@ -10,7 +10,7 @@
 
   <SCRIPT>
   function areyousure(href) {
-      if (confirm("<% $delmsg %>") == true)
+      if (confirm(<% $delmsg |js_string %>) == true)
           window.location.href = href;
   }
   </SCRIPT>

Index: cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_pay.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- cust_pay.html	16 May 2011 16:29:49 -0000	1.11
+++ cust_pay.html	17 May 2011 05:00:43 -0000	1.12
@@ -20,8 +20,7 @@
   <BR><BR>
 % } elsif ( $link eq 'email' ) {
 %  if ( $email_error ) {
-      <& /elements/header-popup.html, mt("Error re-emailing receipt") &>
-%       warn "Error re-emailing receipt: $email_error";
+      <& /elements/header-popup.html, mt("Error re-emailing receipt: [_1]", $email_error) &>
 %  } else {
       <& /elements/header-popup.html, mt("Re-emailed receipt") &>
 %  }



More information about the freeside-commits mailing list