Subversion Repositories wimsdev

Rev

Blame | Last modification | View Log | RSS feed

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