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 249... | Line 249... | ||
249 | authorized in this wims site. |
249 | authorized in this wims site. |
250 | !goto end |
250 | !goto end |
251 | !endif |
251 | !endif |
252 | 252 | ||
253 | !if unmatched_parentheses iswordof $wims_user_error |
253 | !if unmatched_parentheses iswordof $wims_user_error |
254 | We have detected unmatched parentheses in your request. |
254 | We have detected unmatched parentheses in your request. |
255 | error here: |
255 | You may correct the error here: |
256 | !form $cmd |
256 | !form $cmd |
257 | $(name$bad_parentheses) = |
- | |
258 | !for i in module,special_parm,worksheet |
257 | !for i in module,special_parm,worksheet |
259 | !if $($i)!=$empty |
258 | !if $($i)!=$empty |
260 | !set value=!translate " to $ $ in $($i) |
259 | !set value=!translate " to $ $ in $($i) |
261 | <input type="hidden" name="$i" value="$value" /> |
260 | <input type="hidden" name="$i" value="$value" /> |
262 | !endif |
261 | !endif |
263 | !next i |
262 | !next i |
264 | !for i=0 to $user_var_no-1 |
263 | !for i=0 to $user_var_no-1 |
265 | !if $i!=$bad_parentheses |
264 | !if $i!=$bad_parentheses |
266 | !set value=!translate " to $ $ in $(value$i) |
265 | !set value=!translate " to $ $ in $(value$i) |
267 | <input type="hidden" name="$(name$i)" value="$value" /> |
266 | <input type="hidden" name="$(name$i)" value="$value" /> |
268 | !endif |
267 | !endif |
269 | !next i |
268 | !next i |
270 | !set value=!translate " to $ $ in $(value$bad_parentheses) |
269 | !set value=!translate " to $ $ in $(value$bad_parentheses) |
271 | !set len=!charcnt $value |
270 | !set len=!charcnt $value |
- | 271 | !set input_id=$(name$bad_parentheses) |
|
- | 272 | <div class="field box"> |
|
- | 273 | <label for="$input_id">$input_id =</label> |
|
- | 274 | !set n=!linecnt $value |
|
- | 275 | !if $n<=1 |
|
272 | !if $len<55 |
276 | !if $len<55 |
273 | !set len=$[$len+3] |
277 | !set len=$[$len+3] |
274 | !else |
278 | !else |
275 | !set len=59 |
279 | !set len=59 |
276 | !endif |
280 | !endif |
277 | <input |
281 | <input size="$len" name="$input_id" id="$input_id" value="$value" /> |
278 |
|
282 | !else |
- | 283 | !if $n>10 |
|
- | 284 | !set n=10 |
|
- | 285 | !endif |
|
- | 286 | <textarea rows="$n" name="$input_id" id="$input_id">$(value$bad_parentheses)</textarea> |
|
279 |
|
287 | !endif |
- | 288 | </div> |
|
- | 289 | <p class="actions"> |
|
280 | <input type="submit" value="send the corrected request."/> |
290 | Then <input type="submit" value="send the corrected request."/> |
281 | </p> |
291 | </p> |
282 | !formend |
292 | !formend |
283 | <hr /> |
293 | <hr /> |
284 | <p class="wimscenter"> |
294 | <p class="wimscenter"> |
285 | !href cmd=resume Cancel the last request |
295 | !href cmd=resume Cancel the last request |
286 |
|
296 | | |
287 | !href $ wims home |
297 | !href $ wims home |
288 |
|
298 | </p> |
289 | !goto end_html |
299 | !goto end_html |
290 | !endif |
300 | !endif |
291 | 301 | ||
292 | !if wrong_module iswordof $wims_user_error |
302 | !if wrong_module iswordof $wims_user_error |
293 | !set tmp=!translate "!/<>;': to $ $ in $module |
303 | !set tmp=!translate "!/<>;': to $ $ in $module |