Subversion Repositories wimsdev

Rev

Rev 5751 | Rev 5900 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

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