Subversion Repositories wimsdev

Rev

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