Subversion Repositories wimsdev

Rev

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

  1. !exit
  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
  8.   $name_emptytitle
  9.  <p><center>
  10.  !href module=$module $name_restart
  11.  , $wims_name_or
  12.  !href $ $wims_name_giveup
  13.  . </center>
  14.  !goto end
  15. !endif
  16.  
  17. :tester
  18. !read dialog/present.phtml
  19.  
  20. <p><hr width="50%"> <p>
  21.  
  22. !if $cmd=hint
  23.  !read dialog/hint.phtml
  24.  !goto end
  25. !endif
  26.  
  27. !if $status=waiting
  28.  !if $error!=$empty
  29.   !read dialog/msg.phtml
  30.   <p><hr width="50%"> <p>
  31.  !endif
  32.  !read dialog/form.phtml
  33.  <p>
  34.  !if $hint!=$empty and $givehint>0
  35.   !href cmd=hint $name_Hint
  36. .
  37.  !endif
  38.  !if $qnum<=1
  39.   !href $renewlink $name_exo_renew
  40. .
  41.  !else
  42.   $name_serie_exo
  43.   !href $renewlink $name_serie_renew
  44. .
  45.  !endif
  46. !else
  47.  !if $error!=$empty
  48.   !read dialog/msg.phtml
  49.   <p><hr width="50%"> <p>
  50.  !endif
  51.  !read dialog/answer.phtml
  52.  <p>
  53.  !if $status!=$empty
  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
  59.  !else
  60.   !if $qnum>1
  61.    $name_serie_score
  62.    !ifval $score>9.8
  63.     $wims_name_Congratulations
  64.    !endif
  65.    <p>
  66.    !href exo_Again
  67. .
  68.    !if $wims_sheet=$empty
  69.     !href exo_Intro
  70. .
  71.    !endif
  72.   !else
  73.    $name_exo_score
  74.    !ifval $score>9.8
  75.     $wims_name_Congratulations
  76.    !endif
  77.    <p>
  78.    !href exo_Again
  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.  
  93.