Subversion Repositories wimsdev

Rev

Rev 11949 | Rev 14189 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11949 Rev 11990
Line 298... Line 298...
298
  </p>
298
  </p>
299
!endif
299
!endif
300
 
300
 
301
!if unmatched_parentheses iswordof $wims_user_error
301
!if unmatched_parentheses iswordof $wims_user_error
302
  <p>
302
  <p>
303
  C'è un errore nelle parentesi. È possibile correggere
303
    C'è un errore nelle parentesi.<br/>
304
  l'errore in questo spazio.
304
    È possibile correggere l'errore in questo spazio.
305
  </p>
305
  </p>
306
  !form $cmd
306
  !form $cmd
307
  $(name$bad_parentheses) =
-
 
308
  !for i in module,special_parm,worksheet
307
    !for i in module,special_parm,worksheet
309
   !if $($i)!=$empty
308
      !if $($i)!=$empty
310
    !set value=!translate " to $ $ in $($i)
309
        !set value=!translate " to $ $ in $($i)
311
    <input type="hidden" name="$i" value="$value"/>
310
        <input type="hidden" name="$i" value="$value"/>
312
   !endif
311
      !endif
313
  !next i
312
    !next i
314
  !for i=0 to $user_var_no-1
313
    !for i=0 to $user_var_no-1
315
   !if $i!=$bad_parentheses
314
      !if $i!=$bad_parentheses
316
    !set value=!translate " to $ $ in $(value$i)
315
        !set value=!translate " to $ $ in $(value$i)
317
    <input type="hidden" name="$(name$i)" value="$value"/>
316
        <input type="hidden" name="$(name$i)" value="$value"/>
318
   !endif
317
      !endif
319
  !next i
318
    !next i
320
  !set value=!translate " to $ $ in $(value$bad_parentheses)
319
    !set value=!translate " to $ $ in $(value$bad_parentheses)
321
  !set len=!charcnt $value
320
    !set len=!charcnt $value
322
  !if $len<55
321
    !if $len<55
323
   !set len=$[$len+3]
322
      !set len=$[$len+3]
324
  !else
323
    !else
325
   !set len=59
324
      !set len=59
326
  !endif
325
    !endif
-
 
326
    !set n=!linecnt $value
-
 
327
    !set input_id=$(name$bad_parentheses)
-
 
328
    <div class="field box">
-
 
329
      <label for="$input_id">$input_id =</label>
-
 
330
      !if $n<=1
-
 
331
        !if $len<55
-
 
332
          !set len=$[$len+3]
-
 
333
        !else
-
 
334
          !set len=59
-
 
335
        !endif
327
  <input size="$len" name="$(name$bad_parentheses)" value="$value"/>
336
        <input size="$len" name="$input_id" id="$input_id" value="$value" />
-
 
337
      !else
-
 
338
        !if $n>10
-
 
339
          !set n=10
-
 
340
        !endif
-
 
341
        <textarea rows="$n" name="$input_id" id="$input_id">$(value$bad_parentheses)</textarea>
-
 
342
      !endif
328
  <p>
343
    </div>
-
 
344
    <p class="actions">
329
  Quindi
345
      Quindi
330
  <input type="submit" value="inviare la risposta corretta."/>
346
      <input type="submit" value="inviare la risposta corretta."/>
331
  </p>
347
    </p>
332
  !formend
348
  !formend
333
  <hr/>
349
  <hr/>
334
  <p class="wimscenter">
350
  <p class="wimscenter">
335
  !href cmd=resume Annullare
351
    !href cmd=resume Annullare
336
, oppure
352
    |
337
  !href $ [WIMS home]
353
    !href $ [WIMS home]
338
.</p>
354
  </p>
339
  !goto end_html
355
  !goto end_html
340
!endif
356
!endif
341
 
357
 
342
!if wrong_module iswordof $wims_user_error
358
!if wrong_module iswordof $wims_user_error
343
  !set tmp=!translate "!/<>;': to $         $ in $module
359
  !set tmp=!translate "!/<>;': to $         $ in $module