Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16121 bpr 1
!set name_intro=This module is a groupment of exercises. You have apparently requested it\
2
  without precising which valid exercise you want to do. It is either because\
3
  you clicked on a wrong link, or because of a software bug.\
4
!set name_tryagain=Try to restart your operation
5
 
20 reyssat 6
!set renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm
7
!set option=$opt
8
!reset opt
9
 
10
!if $title!=$empty
16114 bpr 11
  !set module_title=$title
12
  !set module_author=$author
13
  !set module_address=$email
20 reyssat 14
!endif
15
 
16
!header
17
 
18
!if $title=$empty
16121 bpr 19
  $name_intro
20
  <div class="wimscenter">
21
  !href module=$module $ name_tryagain
16118 bpr 22
  , $wims_name_or
23
  !href $ $wims_name_giveup
16114 bpr 24
  . </div>
25
  !goto end
20 reyssat 26
!endif
27
 
28
!read deduc/$module_language/present.phtml
29
 
16114 bpr 30
<hr style="width:50%" />
20 reyssat 31
!if $cmd=hint
16114 bpr 32
  !read deduc/$module_language/hint.phtml
33
  !goto end
20 reyssat 34
!endif
35
 
36
!if $status=waiting
16114 bpr 37
  !if $error!=$empty
38
    !read deduc/$module_language/msg.phtml
39
    <div class="wims_msg alert">$penaltymsg</div>
40
    <hr style="width:50%" />
41
  !endif
42
  !if nostatus notwordof $m_options and $methstep!=3
43
    !read deduc/$module_language/status.phtml
44
  !endif
20 reyssat 45
!! !set wims_ref_anchor=#last
16114 bpr 46
  !read deduc/$module_language/form$methstep.phtml
47
  <p>
48
  !if $hint!=$empty and $givehint>0
49
    !set wims_ref_class=wims_button_help
16118 bpr 50
    !href cmd=hint $wims_name_Hint
16114 bpr 51
  !endif
52
  !if $help!=$empty
16121 bpr 53
    !set wims_ref_class=wims_button_help
54
    !href cmd=help $wims_name_help
16114 bpr 55
  !endif
56
  !set wims_ref_class=wims_button
57
  !href exo_Renew
58
  </p>
20 reyssat 59
!else
16114 bpr 60
  !if $error!=$empty
61
    <div class="wims_msg alert">
62
    !read deduc/$module_language/msg.phtml
63
    </div>
64
  !endif
65
  !read deduc/$module_language/answer.phtml
66
  !set wims_ref_class=wims_button
67
  !href exo_Again
20 reyssat 68
!endif
69
!if $wims_sheet=$empty
16114 bpr 70
  !set wims_ref_class=wims_button
71
  !href exo_Intro
20 reyssat 72
!endif
73
!read endhook.phtml
74
!read deduc/$module_language/hist.phtml
75
:end
76
!tail