Subversion Repositories wimsdev

Rev

Rev 16227 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. <div class="wims_msg warning">
  2. !if dontknow iswordof $error
  3.   Effettivamente l'ultimo passaggio
  4.  !if $step_reason=OK
  5.    è corretto. $step_remark
  6.  !else
  7.    non è corretto. $step_remark
  8.    <div>
  9.    !read reasons/$step_reason.det
  10.    </div>
  11.    Una versione corretta dell'ultimo passaggio potrebbe essere
  12.     <div class="wimscenter">
  13.     !line $step of $good
  14.     </div>
  15.   !endif
  16.   <p>
  17.   &Egrave; un peccato che tu non te ne sia accorto.
  18.   </p>
  19.   !goto gnext
  20. !endif
  21.  
  22. <b>$wims_name_Error.</b>
  23.  
  24. !if step_error iswordof $error
  25.   !if $step_reason=OK
  26.     Ma questo passaggio &Egrave; corretto!
  27.     $step_remark
  28.   !else
  29.     !if $ask_reason>0 and $step_reason!=$ans
  30.       L'ultimo passaggio non è corretto, ma non per la ragione che tu pensi.
  31.    !else
  32.      No, c'è un errore nell'ultimo passaggio.
  33.    !endif
  34.    $step_remark
  35.    <div>
  36.    !read reasons/$step_reason.det
  37.    </div>
  38.    Una versione corretta dell'ultimo passaggio potrebbe essere
  39.     <div class="wimscenter">
  40.     !line $step of $good
  41.     </div>
  42.   !endif
  43.   :gnext
  44.   </div>
  45.   <p>
  46.   !if $step<$stepcnt
  47.     !set wims_ref_class=wims_button
  48.     !href cmd=reply&ans=next Passaggio successivo
  49.   !else
  50.     L'esercizio è terminato. Punteggio ottenuto: $module_score/10.
  51.  !endif
  52.  </p>
  53.  !exit
  54. !endif
  55.  
  56. !if bad_step iswordof $error
  57.  !if $badstep=0
  58.    Tu pensi che tutti i passaggi siano corretti.
  59.  !else
  60.    Tu pensi che il primo passaggio errato sia il numero $badstep.
  61.  !endif
  62.  !if $bad_steps=$empty
  63.    Hai torto: tutti i passaggi sono corretti.
  64.    <p>
  65.    !line $badstep of $remarks
  66.    </p>
  67.  !else
  68.    No, il <em>primo</em> passaggio errato è il numero $sss. <p>
  69.    !if $badstep>0
  70.      !if $badstep isitemof $bad_steps
  71.        Il passaggio numero $badstep è effettivamente errato, ma non
  72.        è il primo passaggio errato.
  73.      !else
  74.        Al contrario, il passaggio numero $badstep è corretto.
  75.      !endif
  76.    !else
  77.      $bad_reason
  78.      <div>
  79.      !set rrr=!item 1 of $bad_reasons
  80.      !read reasons/$rrr.det
  81.      </div>
  82.    !endif
  83.  !endif
  84.  </div>
  85.  <p>Punteggio ottenuto: $module_score/10.</p>
  86.  !exit
  87. !endif
  88.  
  89. !msg $error
  90.