Subversion Repositories wimsdev

Rev

Rev 17188 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !read Exindex
  2. !read dialog/$lang/names
  3. !if $(title_$lang)!=$empty
  4.   !set title=$(title_$lang)
  5. !endif
  6. !if $title!=$empty
  7.   !set module_title=$title
  8. !endif
  9. !set renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm
  10. !set wims_html_header=!append line <style>.dialog_answer {\
  11.   border: 1px solid #CCC;\
  12.  border-left-color: var(--wims_ref_bgcolor);\
  13.   border-left-width: .2em;\
  14.   margin: 2% 2%;\
  15.   padding: 1em;}</style>\
  16.   to $wims_html_header
  17. !header
  18.  
  19. !if $title=$empty
  20.   $name_emptytitle
  21.   <div class="wimscenter">
  22.   !set wims_ref_class=wims_button
  23.   !href module=$module $name_restart
  24.   , $wims_name_or
  25.   !set wims_ref_class=wims_button
  26.   !href $ $wims_name_giveup
  27.   . </div>
  28.   !goto end
  29. !endif
  30.  
  31. :tester
  32. !read dialog/present.phtml
  33.  
  34. <hr style="width:50%">
  35.  
  36. !if $cmd=hint
  37.   !read dialog/hint.phtml
  38.   !goto end
  39. !endif
  40.  
  41. !if $status=waiting
  42.   !if $error!=$empty
  43.     !read dialog/msg.phtml
  44.     <hr style="width:50%">
  45.   !endif
  46.   !read dialog/form.phtml
  47.   <p>
  48.   !if $hint!=$empty and $givehint>0
  49.     !set wims_ref_class=wims_button_help
  50.     !href cmd=hint $name_Hint
  51.   !endif
  52.   !set wims_ref_class=wims_button
  53.   !if $qnum<=1
  54.     !href $renewlink $name_exo_renew
  55.   !else
  56.     $name_serie_exo
  57.     !href $renewlink $name_serie_renew
  58.   !endif
  59.   </p>
  60. !else
  61.   !if $error!=$empty
  62.      !read dialog/msg.phtml
  63.      <hr style="width:50%">
  64.   !endif
  65.   !read dialog/answer.phtml
  66.   <p>
  67.   !if $status!=$empty
  68.     $name_serie_exo2 <p>
  69.     !set wims_ref_class=wims_button
  70.     !href cmd=next $name_serie_nextexo
  71.      $wims_name_or
  72.     !set wims_ref_class=wims_button
  73.     !href $renewlink $name_exo_renew
  74. . $name_serie_new2
  75.  !else
  76.     !if $qnum>1
  77.       $name_serie_score
  78.       !ifval $score>9.8
  79.         $wims_name_Congratulations
  80.       !endif
  81.       <p>
  82.       !set wims_ref_class=wims_button
  83.         !href exo_Again
  84.       !if $wims_sheet=$empty
  85.         !set wims_ref_class=wims_button
  86.         !href exo_Intro
  87.       !endif
  88.       </p>
  89.     !else
  90.       $name_exo_score
  91.       !ifval $score>9.8
  92.         $wims_name_Congratulations
  93.       !endif
  94.       <p>
  95.       !set wims_ref_class=wims_button
  96.       !href exo_Again
  97.       !if $wims_sheet=$empty and $oef_test!=yes
  98.         !set wims_ref_class=wims_button
  99.         !href exo_Intro
  100.       !endif
  101.       </p>
  102.     !endif
  103.   !endif
  104. !endif
  105.  
  106. !read endhook.phtml
  107. :end
  108.  
  109. !tail
  110.