Rev 11949 | Rev 15416 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11949 | Rev 11990 | ||
---|---|---|---|
Line 75... | Line 75... | ||
75 | <p>Please use a regular web browser.</p> |
75 | <p>Please use a regular web browser.</p> |
76 | <p>WIMS pages are dynamically generated. It can only be used online.</p> |
76 | <p>WIMS pages are dynamically generated. It can only be used online.</p> |
77 | !goto end_html |
77 | !goto end_html |
78 | !endif |
78 | !endif |
79 | 79 | ||
80 | <h1>WIMS |
80 | <h1>WIMS error</h1> |
81 | !if no_access notwordof $wims_user_error |
81 | !if no_access notwordof $wims_user_error |
82 | <p>There is an error in your request to this WIMS site.</p> |
82 | <p>There is an error in your request to this WIMS site.</p> |
83 | !endif |
83 | !endif |
84 | !if module_change iswordof $wims_user_error |
84 | !if module_change iswordof $wims_user_error |
85 | !if $wims_human_access=yes |
85 | !if $wims_human_access=yes |
Line 93... | Line 93... | ||
93 | !set wims_ref_class=wims_button |
93 | !set wims_ref_class=wims_button |
94 | !href $ WIMS home |
94 | !href $ WIMS home |
95 | !if $httpd_HTTP_REFERER!=$empty |
95 | !if $httpd_HTTP_REFERER!=$empty |
96 | <a href="$httpd_HTTP_REFERER">Exit WIMS</a> |
96 | <a href="$httpd_HTTP_REFERER">Exit WIMS</a> |
97 | !else |
97 | !else |
98 | <p |
98 | <p class="small">If you want to get out of the site, ignore this message and continue |
99 | to click on `Back'. |
99 | to click on `Back'.</p> |
100 | !endif |
100 | !endif |
101 | </div> |
101 | </div> |
102 | !goto end_html |
102 | !goto end_html |
103 | !endif |
103 | !endif |
104 | You have asked an illegal module change. |
104 | You have asked an illegal module change. |
Line 172... | Line 172... | ||
172 | Simplify your request, please. |
172 | Simplify your request, please. |
173 | !goto end |
173 | !goto end |
174 | !endif |
174 | !endif |
175 | 175 | ||
176 | !if double_click iswordof $wims_user_error |
176 | !if double_click iswordof $wims_user_error |
177 | This request arrived while the process of another request from you is |
177 | <p>This request arrived while the process of another request from you is |
178 | still under way.<p> |
178 | still under way.</p> |
179 | If you have been double clicking, now please wait |
179 | If you have been double clicking, now please wait |
180 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
180 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
181 | for the process of your old request to terminate, then |
181 | for the process of your old request to terminate, then |
182 | !href cmd=resume click here |
182 | !href cmd=resume click here |
183 | to get back to your work. (And please be more patient the next time |
183 | to get back to your work. (And please be more patient the next time |
184 | you ask wims to do lengthy computations.) |
184 | you ask wims to do lengthy computations.) |
185 | <p> |
185 | <p> |
186 | If you are using ``back'' button of your browser to get out of wims, you |
186 | If you are using ``back'' button of your browser to get out of wims, you |
187 | may ignore this message and go ahead. |
187 | may ignore this message and go ahead.</p> |
188 | !goto end_html |
188 | !goto end_html |
189 | !endif |
189 | !endif |
190 | 190 | ||
191 | !if invalid_char_in_query_string iswordof $wims_user_error |
191 | !if invalid_char_in_query_string iswordof $wims_user_error |
192 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
192 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
Line 238... | Line 238... | ||
238 | authorized in this wims site. |
238 | authorized in this wims site. |
239 | !goto end |
239 | !goto end |
240 | !endif |
240 | !endif |
241 | 241 | ||
242 | !if unmatched_parentheses iswordof $wims_user_error |
242 | !if unmatched_parentheses iswordof $wims_user_error |
243 | We have detected unmatched parentheses in your request. |
243 | We have detected unmatched parentheses in your request. |
244 | error here: |
244 | You may correct the error here: |
245 | !form $cmd |
245 | !form $cmd |
246 | $(name$bad_parentheses) = |
- | |
247 | !for i in module,special_parm,worksheet |
246 | !for i in module,special_parm,worksheet |
248 | !if $($i)!=$empty |
247 | !if $($i)!=$empty |
249 | !set value=!translate " to $ $ in $($i) |
248 | !set value=!translate " to $ $ in $($i) |
250 | <input type="hidden" name="$i" value="$value" /> |
249 | <input type="hidden" name="$i" value="$value" /> |
251 | !endif |
250 | !endif |
252 | !next i |
251 | !next i |
253 | !for i=0 to $user_var_no-1 |
252 | !for i=0 to $user_var_no-1 |
254 | !if $i!=$bad_parentheses |
253 | !if $i!=$bad_parentheses |
255 | !set value=!translate " to $ $ in $(value$i) |
254 | !set value=!translate " to $ $ in $(value$i) |
256 | <input type="hidden" name="$(name$i)" value="$value"/> |
255 | <input type="hidden" name="$(name$i)" value="$value"/> |
257 | !endif |
256 | !endif |
258 | !next i |
257 | !next i |
259 | !set value=!translate " to $ $ in $(value$bad_parentheses) |
258 | !set value=!translate " to $ $ in $(value$bad_parentheses) |
260 | !set len=!charcnt $value |
259 | !set len=!charcnt $value |
261 | !set n=!linecnt $value |
260 | !set n=!linecnt $value |
- | 261 | !set input_id=$(name$bad_parentheses) |
|
- | 262 | <div class="field box"> |
|
- | 263 | <label for="$input_id">$input_id =</label> |
|
262 | !if $n<=1 |
264 | !if $n<=1 |
263 | !if $len<55 |
265 | !if $len<55 |
264 | !set len=$[$len+3] |
266 | !set len=$[$len+3] |
265 | !else |
267 | !else |
266 | !set len=59 |
268 | !set len=59 |
267 | !endif |
269 | !endif |
268 | <input |
270 | <input size="$len" name="$input_id" id="$input_id" value="$value" /> |
269 | !else |
271 | !else |
270 | !if $n>10 |
272 | !if $n>10 |
271 | !set n=10 |
273 | !set n=10 |
272 | !endif |
274 | !endif |
273 | <textarea |
275 | <textarea rows="$n" name="$input_id" id="$input_id">$(value$bad_parentheses)</textarea> |
274 |
|
276 | !endif |
275 |
|
277 | </div> |
- | 278 | <p class="actions"> |
|
276 | Then |
279 | Then |
277 | <input type="submit" value="send the corrected request."/> |
280 | <input type="submit" value="send the corrected request."/> |
- | 281 | </p> |
|
- | 282 | </form> |
|
- | 283 | <hr/> |
|
278 |
|
284 | <div class="wimscenter"> |
279 | !href cmd=resume Cancel the last request |
285 | !href cmd=resume Cancel the last request |
280 |
|
286 | | |
281 | !href $ wims home |
287 | !href $ wims home |
282 |
|
288 | </div> |
283 | !goto end_html |
289 | !goto end_html |
284 | !endif |
290 | !endif |
285 | 291 | ||
286 | !if wrong_module iswordof $wims_user_error |
292 | !if wrong_module iswordof $wims_user_error |
287 | !set tmp=!translate "!/<>;': to $ $ in $module |
293 | !set tmp=!translate "!/<>;': to $ $ in $module |