Subversion Repositories wimsdev

Rev

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