Subversion Repositories wimsdev

Rev

Rev 23 | Rev 547 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
!set renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm
2
!set module_title=$module_title: $title
3
 
4
!header
5
 
6
!if $title=$empty
7
 Ce module est un groupement d'exercices. Vous l'avez visiblement demandé sans
8
 préciser un exercice valable que vous voulez faire. C'est soit parce que vous
9
 avez cliqué sur un lien incorrect, soit à cause d'une erreur du logiciel.
10
 <p><center>
11
 !href module=$module Essayez de refaire votre manipulation
12
 , ou
13
 !href $ abandonner
14
 . </center>
15
 !goto end
16
!endif
17
 
18
:tester
546 bpr 19
!read dialog/present.phtml
23 reyssat 20
 
21
<p><hr width=50%> <p>
22
 
23
!if $cmd=hint
546 bpr 24
 !read dialog/hint.phtml
23 reyssat 25
 !goto end
26
!endif
27
 
28
!if $status=waiting
29
 !if $error!=$empty
546 bpr 30
  !read dialog/msg.phtml
23 reyssat 31
  <p><hr width=50%> <p>
32
 !endif
546 bpr 33
 !read dialog/form.phtml
23 reyssat 34
 <p>
35
 !if $hint!=$empty and $givehint>0
36
  !href cmd=hint Indication
37
.
38
 !endif
39
 !if $qnum<=1
40
  !href $renewlink Renouveler l'exercice
41
.
42
 !else
43
  Ceci est l'exercice $[$reply_cnt+1] dans une séance qui en compte $qnum.
44
  !href $renewlink Abandonner la séance
45
.
46
 !endif
47
!else
48
 !if $error!=$empty
546 bpr 49
  !read dialog/msg.phtml
23 reyssat 50
  <p><hr width=50%> <p>
51
 !endif
546 bpr 52
 !read dialog/answer.phtml
23 reyssat 53
 <p>
54
 !if $status!=$empty
55
  Ceci est l'exercice $reply_cnt dans une séance qui en compte $qnum. <p>
56
  !href cmd=next Continuer la séance avec l'exercice suivant
57
, ou
58
  !href $renewlink abandonner la séance en demandant une autre
59
. (Vous devez arriver jusqu'à la fin de la séance pour avoir une note.)
60
 !else
61
  !if $qnum>1
62
   Vous avez terminé une séance de $qnum exercices, avec une note de
63
   $score sur 10.
64
   !ifval $score>9.8
65
    Félicitations!
66
   !endif
67
   <p>
68
   !href exo_Again
69
.
70
   !if $wims_sheet=$empty
71
    !href exo_Intro
72
.
73
   !endif
74
  !else
75
   Vous avez obtenu une note de $score sur 10.
76
   !ifval $score>9.8
77
    Félicitations!
78
   !endif
79
   <p>
80
   !href exo_Again
81
.
82
   !if $wims_sheet=$empty and $oef_test!=yes
83
    !href exo_Intro
84
.
85
   !endif
86
  !endif
87
 !endif
88
!endif
89
 
90
!read endhook.phtml
91
:end
92
 
93
!tail
94