@@ -91,7 +91,7 @@ public static function fatal($code, $active, $customMessage = '', $modal = false
91
91
$ errorTitle = 'Invalid Information ' ;
92
92
$ internalErrorTitle = 'Bad Input ' ;
93
93
$ errorMessage = 'Some of the information you provided doesn \'t follow the correct format and '
94
- . 'CATS can \'t interpret what it is. Please <a href="javascript:back()">go back</a> and '
94
+ . 'CATS can \'t interpret what it is. Please <a href="javascript:history. back()">go back</a> and '
95
95
. 'complete each field paying close attention to any instructions provided. '
96
96
. '<p><b> ' . $ customMessage . '</b> ' ;
97
97
break ;
@@ -124,7 +124,7 @@ public static function fatal($code, $active, $customMessage = '', $modal = false
124
124
. 'traffic or older web browsers. The latest version of the <a href="http://www.getfirefox.com"> '
125
125
. 'Mozilla Firefox©</a> browser '
126
126
. 'is recommended.<br /><br />The problem may be resolved by using the '
127
- . '<a href="javascript:back()">back button</a> on your browser and trying again. ' ;
127
+ . '<a href="javascript:history. back()">back button</a> on your browser and trying again. ' ;
128
128
break ;
129
129
case COMMONERROR_BADINDEX :
130
130
$ errorTitle = 'Bad Server Information ' ;
@@ -139,7 +139,7 @@ public static function fatal($code, $active, $customMessage = '', $modal = false
139
139
. 'may have been provided to you. '
140
140
. '<br /><br /> '
141
141
. '<b>It \'s ok!</b> CATS can \'t complete whatever action you requested; but chances are, '
142
- . 'if you click the <a href="javascript:back()">back button</a> and <b>refresh</b> the page '
142
+ . 'if you click the <a href="javascript:history. back()">back button</a> and <b>refresh</b> the page '
143
143
. 'and try again it will work just fine. ' ;
144
144
break ;
145
145
@@ -148,7 +148,7 @@ public static function fatal($code, $active, $customMessage = '', $modal = false
148
148
$ internalErrorTitle = 'Permission Denied ' ;
149
149
$ errorMessage = 'You don \'t have access to the action you \'re attempting to perform. If you '
150
150
. 'feel you should have access, contact your site administrator. '
151
- . 'You can click the <a href="javascript:back()">back</a> button on your browser to return '
151
+ . 'You can click the <a href="javascript:history. back()">back button </a> on your browser to return '
152
152
. 'to where you came from. ' ;
153
153
break ;
154
154
@@ -169,7 +169,7 @@ public static function fatal($code, $active, $customMessage = '', $modal = false
169
169
$ internalErrorTitle = 'Required Fields Missing ' ;
170
170
$ errorMessage = 'One or more of the input fields on the page you came from were required and '
171
171
. 'were left with blank or incorrect values. The action you \'re trying to perform cannot '
172
- . 'be completed without those fields. Please use the <a href="javascript:back()">back button</a> '
172
+ . 'be completed without those fields. Please use the <a href="javascript:history. back()">back button</a> '
173
173
. 'on your browser to return to where you came from. '
174
174
. '<br /><br /> ' ;
175
175
@@ -189,7 +189,7 @@ public static function fatal($code, $active, $customMessage = '', $modal = false
189
189
$ internalErrorTitle = 'Missing wild card string ' ;
190
190
$ errorMessage = 'One or more of the input fields on the page you came from were required and '
191
191
. 'were left with blank or incorrect values. The action you \'re trying to perform cannot '
192
- . 'be completed without those fields. Please use the <a href="javascript:back()">back button</a> '
192
+ . 'be completed without those fields. Please use the <a href="javascript:history. back()">back button</a> '
193
193
. 'on your browser to return to where you came from. '
194
194
. '<br /><br /> ' ;
195
195
@@ -207,7 +207,7 @@ public static function fatal($code, $active, $customMessage = '', $modal = false
207
207
case COMMONERROR_NOPASSWORDMATCH :
208
208
$ errorTitle = 'Passwords do not Match ' ;
209
209
$ internalErrorTitle = 'Passwords do not match ' ;
210
- $ errorMessage = 'The passwords you entered do not match. Please use the <a href="javascript:back()"> '
210
+ $ errorMessage = 'The passwords you entered do not match. Please use the <a href="javascript:history. back()"> '
211
211
. 'back button</a> on your browser to return from where you came and enter the correct password '
212
212
. 'in all required fields. ' ;
213
213
break ;
@@ -216,7 +216,7 @@ public static function fatal($code, $active, $customMessage = '', $modal = false
216
216
$ errorTitle = 'File Does Not Exist ' ;
217
217
$ internalErrorTitle = 'File Does Not Exist ' ;
218
218
$ errorMessage = 'The file you are requesting for does not exist. Please use the '
219
- . '<a href="javascript:back()">back button</a> on your browser to return to where '
219
+ . '<a href="javascript:history. back()">back button</a> on your browser to return to where '
220
220
. 'you came from.<br /><br /> ' ;
221
221
222
222
if (!empty ($ customMessage ))
@@ -229,7 +229,7 @@ public static function fatal($code, $active, $customMessage = '', $modal = false
229
229
$ errorTitle = 'An Error Has Occurred ' ;
230
230
$ internalErrorTitle = 'Undefined ' ;
231
231
$ errorMessage = 'An error has occurred and the operation you were attempting to perform cannot be '
232
- . 'completed. Please use the <a href="javascript:back();">back</a> button on your web browser '
232
+ . 'completed. Please use the <a href="javascript:history. back();">back button </a> on your web browser '
233
233
. 'to return from where you came. The administrators have been notified, so you may wish to '
234
234
. 'try again later. ' ;
235
235
break ;
0 commit comments