File: msg.phtml

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (89 lines) | stat: -rw-r--r-- 2,104 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<div class="wims_msg warning">
!if dontknow iswordof $error
  Effettivamente l'ultimo passaggio
  !if $step_reason=OK
     corretto. $step_remark
  !else
    non  corretto. $step_remark
    <div>
    !read reasons/$step_reason.det
    </div>
    Una versione corretta dell'ultimo passaggio potrebbe essere
    <div class="wimscenter">
    !line $step of $good
    </div>
  !endif
  <p>
  &Egrave; un peccato che tu non te ne sia accorto.
  </p>
  !goto gnext
!endif

<b>$wims_name_Error.</b>

!if step_error iswordof $error
  !if $step_reason=OK
    Ma questo passaggio &Egrave; corretto!
    $step_remark
  !else
    !if $ask_reason>0 and $step_reason!=$ans
      L'ultimo passaggio non  corretto, ma non per la ragione che tu pensi.
    !else
      No, c' un errore nell'ultimo passaggio.
    !endif
    $step_remark
    <div>
    !read reasons/$step_reason.det
    </div>
    Una versione corretta dell'ultimo passaggio potrebbe essere
    <div class="wimscenter">
    !line $step of $good
    </div>
  !endif
  :gnext
  </div>
  <p>
  !if $step<$stepcnt
    !set wims_ref_class=wims_button
    !href cmd=reply&ans=next Passaggio successivo
  !else
    L'esercizio  terminato. Punteggio ottenuto: $module_score/10.
  !endif
  </p>
  !exit
!endif

!if bad_step iswordof $error
  !if $badstep=0
    Tu pensi che tutti i passaggi siano corretti.
  !else
    Tu pensi che il primo passaggio errato sia il numero $badstep.
  !endif
  !if $bad_steps=$empty
    Hai torto: tutti i passaggi sono corretti.
    <p>
    !line $badstep of $remarks
    </p>
  !else
    No, il <em>primo</em> passaggio errato  il numero $sss. <p>
    !if $badstep>0
      !if $badstep isitemof $bad_steps
        Il passaggio numero $badstep  effettivamente errato, ma non
         il primo passaggio errato.
      !else
        Al contrario, il passaggio numero $badstep  corretto.
      !endif
    !else
      $bad_reason
      <div>
      !set rrr=!item 1 of $bad_reasons
      !read reasons/$rrr.det
      </div>
    !endif
  !endif
  </div>
  <p>Punteggio ottenuto: $module_score/10.</p>
  !exit
!endif

!msg $error