Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2088 bpr 1
!exit
23 reyssat 2
!set renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm
3
!set module_title=$module_title: $title
4
 
5
!header
6
 
7
!if $title=$empty
2088 bpr 8
  $name_emptytitle
23 reyssat 9
 <p><center>
2088 bpr 10
 !href module=$module $name_restart
11
 , $wims_name_or
12
 !href $ $wims_name_giveup
23 reyssat 13
 . </center>
14
 !goto end
15
!endif
16
 
17
:tester
2088 bpr 18
!read dialog/present.phtml
23 reyssat 19
 
1006 bpr 20
<p><hr width="50%"> <p>
23 reyssat 21
 
22
!if $cmd=hint
2088 bpr 23
 !read dialog/hint.phtml
23 reyssat 24
 !goto end
25
!endif
26
 
27
!if $status=waiting
28
 !if $error!=$empty
2088 bpr 29
  !read dialog/msg.phtml
1006 bpr 30
  <p><hr width="50%"> <p>
23 reyssat 31
 !endif
2088 bpr 32
 !read dialog/form.phtml
23 reyssat 33
 <p>
34
 !if $hint!=$empty and $givehint>0
2088 bpr 35
  !href cmd=hint $name_Hint
23 reyssat 36
.
37
 !endif
38
 !if $qnum<=1
2088 bpr 39
  !href $renewlink $name_exo_renew
23 reyssat 40
.
41
 !else
2088 bpr 42
  $name_serie_exo
43
  !href $renewlink $name_serie_renew
23 reyssat 44
.
45
 !endif
46
!else
47
 !if $error!=$empty
2088 bpr 48
  !read dialog/msg.phtml
1006 bpr 49
  <p><hr width="50%"> <p>
23 reyssat 50
 !endif
2088 bpr 51
 !read dialog/answer.phtml
23 reyssat 52
 <p>
53
 !if $status!=$empty
2088 bpr 54
  $name_serie_exo2 <p>
55
  !href cmd=next $name_serie_nextexo
56
, $wims_name_or
57
  !href $renewlink name_exo_renew
58
. $name_serie_new2
23 reyssat 59
 !else
60
  !if $qnum>1
2088 bpr 61
   $name_serie_score
23 reyssat 62
   !ifval $score>9.8
2088 bpr 63
    $wims_name_Congratulations
23 reyssat 64
   !endif
65
   <p>
2088 bpr 66
   !href exo_Again
23 reyssat 67
.
68
   !if $wims_sheet=$empty
2088 bpr 69
    !href exo_Intro
23 reyssat 70
.
71
   !endif
72
  !else
2088 bpr 73
   $name_exo_score
23 reyssat 74
   !ifval $score>9.8
2088 bpr 75
    $wims_name_Congratulations
23 reyssat 76
   !endif
77
   <p>
2088 bpr 78
   !href exo_Again
23 reyssat 79
.
80
   !if $wims_sheet=$empty and $oef_test!=yes
81
    !href exo_Intro
82
.
83
   !endif
84
  !endif
85
 !endif
86
!endif
87
 
88
!read endhook.phtml
89
:end
90
 
91
!tail
92