Subversion Repositories wimsdev

Rev

Rev 571 | Rev 3511 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !if $sstyle=1
  3.  !if $substep=0
  4.   !if $all_steps=0
  5.    !form reply
  6.    Qual &egrave; il <em>primo</em> termine errato in questa serie?
  7.    !formselect badstep from 0 to $stepcnt
  8.    (La risposta 0 significa che tutto &egrave; corretto.)
  9.    <p><center><input type=submit value="Invia la risposta"></center>
  10.   !else
  11.    Selezionare <em>tutti</em> i passaggi spagliati e
  12.    <input type=submit value="cliccare qui">.
  13.   !endif
  14.   </form>
  15.  !else
  16.   !if $all_steps=0
  17.    !if $badstep=0
  18.     Effettivamente tutti i passaggi sono corretti.
  19.    !else
  20.     Effettivamente il primo passaggio errato &egrave; il numero $badstep.
  21.    !endif
  22.   !endif
  23.   Punteggio ottenuto: $module_score/10.
  24.   !if $expstep!=$empty
  25.    <p>Alcune spiegazioni.<ul>
  26.    !for i in $expstep
  27.     <p><li> Il passaggio $i
  28.     !if $i isitemof $badstep
  29.      &egrave; corretto.
  30.      !line $i of $remarks
  31.     !else
  32.      !set j=!positionof item $i in $bad_steps
  33.      !set e=!item $j of $bad_reasons
  34.      non &egrave; corretto.
  35.      !read reasons/$e.det
  36.     !endif
  37.    !next i  
  38.    </ul>
  39.   !endif
  40.  !endif
  41. !else
  42.  !if $substep=0
  43.   !form reply
  44.   Cosa ne pensi dell'<em>ultimo</em> passaggio?
  45.  !formselect ans list --,OK,$bad_reasons prompt Non lo so,\
  46.         S&igrave;: il passaggio &egrave; corretto,$bad_rnames
  47.  <input type=submit value="Invia">
  48.  </form>
  49. !endif
  50.  
  51. !if $substep=2
  52.  Hai ragione:
  53.  !if $step_reason=OK
  54.   l'ultimo passaggio &egrave; corretto.
  55.   !else
  56.    l'ultimo passaggio non &egrave; corretto.
  57.   Il passaggio corretto sar&agrave;<p><center>
  58.   <table border=0 bgcolor="#d0c0d0" width="80%"><tr><td align=center>
  59.   !line $step of $good
  60.   </table> </center>
  61.  !endif
  62.  <p>
  63.  !if $step<$stepcnt
  64.   !href cmd=reply&ans=next Passaggio successivo.
  65.  !else
  66.   L'esercizio &egrave; terminato. Punteggio ottenuto: $module_score/10.
  67.   !endif
  68.  !endif
  69. !endif
  70.  
  71.