Index: trunk/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -64,29 +64,29 @@ |
65 | 65 | for( i = 0; i < numFields; i++ ) { |
66 | 66 | if( document.getElementById( fields[i] ).value == '' ) { |
67 | 67 | currField = mw.msg( 'donate_interface-error-msg-' + fields[i] ); |
68 | | - output += mw.msg( 'donate_interface-error-msg-js' ) + ' ' + currField + '.\r\n'; |
| 68 | + output += mw.msg( 'donate_interface-error-msg-js' ) + ' ' + currField + '.\\r\\n'; |
69 | 69 | } |
70 | 70 | } |
71 | 71 | |
72 | 72 | if (document.getElementById('fname').value == '$first') { |
73 | | - output += mw.msg( 'donate_interface-error-msg-js' ) + ' first name.\r\n'; |
| 73 | + output += mw.msg( 'donate_interface-error-msg-js' ) + ' first name.\\r\\n'; |
74 | 74 | } |
75 | 75 | if (document.getElementById('lname').value == '$last') { |
76 | | - output += mw.msg( 'donate_interface-error-msg-js' ) + ' last name.\r\n'; |
| 76 | + output += mw.msg( 'donate_interface-error-msg-js' ) + ' last name.\\r\\n'; |
77 | 77 | } |
78 | 78 | if (document.getElementById('street').value == '$street') { |
79 | | - output += mw.msg( 'donate_interface-error-msg-js' ) + ' street address.\r\n'; |
| 79 | + output += mw.msg( 'donate_interface-error-msg-js' ) + ' street address.\\r\\n'; |
80 | 80 | } |
81 | 81 | if (document.getElementById('city').value == '$city') { |
82 | | - output += mw.msg( 'donate_interface-error-msg-js' ) + ' city.\r\n'; |
| 82 | + output += mw.msg( 'donate_interface-error-msg-js' ) + ' city.\\r\\n'; |
83 | 83 | } |
84 | 84 | if (document.getElementById('zip').value == '$zip') { |
85 | | - output += mw.msg( 'donate_interface-error-msg-js' ) + ' zip code.\r\n'; |
| 85 | + output += mw.msg( 'donate_interface-error-msg-js' ) + ' zip code.\\r\\n'; |
86 | 86 | } |
87 | 87 | |
88 | 88 | var stateField = document.getElementById( 'state' ); |
89 | 89 | if( stateField.options[stateField.selectedIndex].value == '' ) { |
90 | | - output += mw.msg( 'donate_interface-error-msg-js' ) + ' ' + mw.msg( 'donate_interface-error-msg-state' ) + '.\r\n'; |
| 90 | + output += mw.msg( 'donate_interface-error-msg-js' ) + ' ' + mw.msg( 'donate_interface-error-msg-state' ) + '.\\r\\n'; |
91 | 91 | } |
92 | 92 | |
93 | 93 | // validate email address |