Subversion Repositories wimsdev

Rev

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