Subversion Repositories wimsdev

Rev

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

  1. !!!### language independant
  2. !read js/examclock1.phtml
  3. !if $job=exo
  4.  !set js=!record 0 of js/chooselist.js
  5.  !set wims_html_header=!append line $js to $wims_html_header
  6. !endif
  7. !read adm/css.phtml
  8. !header1
  9.  
  10. !if $job iswordof student score scorereg
  11.  !changeto $job.phtml
  12. !endif
  13. !read adm/class/classname.phtml $wims_classname\
  14. $wims_institutionname
  15.  
  16. !read adm/title.phtml 1\
  17. $classname\
  18. $name_title $exam
  19.  
  20. !if $error!=$empty
  21.  <p>
  22.  !read lang/msg.phtml.$moduclass_lang
  23.  
  24.  !if $error iswordof prep_noexercise  
  25.   !set wims_menu_items=!append line back2,1,cmd=resume&error=$empty \
  26.    to $wims_menu_items
  27.    !reset save
  28.  !else
  29.   !set wims_menu_items=!append line back2,1,module=home \
  30.    to $wims_menu_items
  31.  !endif
  32.  <p>
  33.  !goto end
  34. !endif
  35.  
  36. !if $job=exo or $job=cpsheet
  37.  !read $job.phtml
  38.  !goto end
  39. !endif
  40.  
  41. !if $activetest>-1
  42.  <b>$name_info :</b>
  43. !endif
  44. !read examinfo.phtml
  45.  
  46. !ifval $activetest=-1
  47.  !goto end
  48. !endif
  49.  
  50. :end1
  51. <p>
  52. <a name="list"></a>
  53. <b>$name_content:</b>
  54. !if $exocnt=0
  55.  <p>$name_warning<p>
  56. !else
  57.  !read examcontent.phtml
  58.  <p>
  59. !endif
  60.  
  61. !if $activetest=0
  62.  !let wims_menu_items=!append line addexo,1,cmd=reply&job=exo&exo=$[$exocnt+1]\
  63. addsexo,1,cmd=reply&job=cpsheet to $wims_menu_items
  64. !endif
  65.  
  66. !if $activetest>=0
  67.  !let wims_menu_items=!append line ,0,\
  68. participantview,1,cmd=reply&job=student to $wims_menu_items
  69. !endif
  70.  
  71. :end
  72. !tail
  73.  
  74. !reset job,echoose,eweight,ename,edep,eopt,source
  75.  
  76.  
  77.