Subversion Repositories wimsdev

Rev

Rev 5763 | Rev 15426 | 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. <hr style="width:50%"/>
  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.   <hr style="width:50%"/>
  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.  </p>
  48. !else
  49.  !if $error!=$empty
  50.   !read dialog/msg.phtml
  51.   <hr style="width:50%"/>
  52.  !endif
  53.  !read dialog/answer.phtml
  54.  <p>
  55.  !if $status!=$empty
  56.   $name_serie_exo2 <p>
  57.   !href cmd=next $name_serie_nextexo
  58. , $wims_name_or
  59.   !href $renewlink name_exo_renew
  60. . $name_serie_new2
  61.  !else
  62.   !if $qnum>1
  63.    $name_serie_score
  64.    !ifval $score>9.8
  65.     $wims_name_Congratulations
  66.    !endif
  67.    <p>
  68.    !href exo_Again
  69. .
  70.    !if $wims_sheet=$empty
  71.     !href exo_Intro
  72. .
  73.    !endif
  74.    </p>
  75.   !else
  76.    $name_exo_score
  77.    !ifval $score>9.8
  78.     $wims_name_Congratulations
  79.    !endif
  80.    <p>
  81.    !href exo_Again
  82. .
  83.    !if $wims_sheet=$empty and $oef_test!=yes
  84.     !href exo_Intro
  85. .
  86.    !endif
  87.    </p>
  88.   !endif
  89.  !endif
  90. !endif
  91.  
  92. !read endhook.phtml
  93. :end
  94.  
  95. !tail
  96.  
  97.