Subversion Repositories wimsdev

Rev

Rev 16118 | Blame | Last modification | View Log | RSS feed

  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.  
  6. !set renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm
  7. !set option=$opt
  8. !reset opt
  9.  
  10. !if $title!=$empty
  11.   !set module_title=$title
  12.   !set module_author=$author
  13.   !set module_address=$email
  14. !endif
  15.  
  16. !header
  17.  
  18. !if $title=$empty
  19.   $name_intro
  20.   <div class="wimscenter">
  21.   !href module=$module $ name_tryagain
  22.   , $wims_name_or
  23.   !href $ $wims_name_giveup
  24.   . </div>
  25.   !goto end
  26. !endif
  27.  
  28. !read deduc/$module_language/present.phtml
  29.  
  30. <hr style="width:50%" />
  31. !if $cmd=hint
  32.   !read deduc/$module_language/hint.phtml
  33.   !goto end
  34. !endif
  35.  
  36. !if $status=waiting
  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
  45. !! !set wims_ref_anchor=#last
  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
  50.     !href cmd=hint $wims_name_Hint
  51.   !endif
  52.   !if $help!=$empty
  53.     !set wims_ref_class=wims_button_help
  54.     !href cmd=help $wims_name_help
  55.   !endif
  56.   !set wims_ref_class=wims_button
  57.   !href exo_Renew
  58.   </p>
  59. !else
  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
  68. !endif
  69. !if $wims_sheet=$empty
  70.   !set wims_ref_class=wims_button
  71.   !href exo_Intro
  72. !endif
  73. !read endhook.phtml
  74. !read deduc/$module_language/hist.phtml
  75. :end
  76. !tail
  77.