Subversion Repositories wimsdev

Rev

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

  1.  
  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.  <div class="wims_alertmsg">
  22.  !read lang/msg.phtml.$moduclass_lang
  23.  </div>
  24.  
  25.  !if $error iswordof prep_noexercise
  26.   !set wims_menu_items=!append line back2,1,cmd=resume&error=$empty \
  27.    to $wims_menu_items
  28.    !reset save
  29.  !else
  30.   !set wims_menu_items=!append line back2,1,module=home \
  31.    to $wims_menu_items
  32.  !endif
  33.  !goto end
  34. !endif
  35.  
  36. !if $job=exo or $job=cpsheet
  37.  !read $job.phtml
  38.  !goto end
  39. !endif
  40.  
  41. !read examinfo.phtml
  42.  
  43. !ifval $activetest=-1
  44.  !goto end
  45. !endif
  46.  
  47. :end1
  48. !if $exocnt=0
  49.  <p>$name_warning</p>
  50. !else
  51.  !read examcontent.phtml
  52.  
  53. !endif
  54.  
  55. !if $activetest=0
  56.  !let wims_menu_items=!append line addexo,1,cmd=reply&job=exo&exo=$[$exocnt+1]\
  57. addsexo,1,cmd=reply&job=cpsheet to $wims_menu_items
  58. !endif
  59.  
  60. !if $activetest>=0
  61.  !let wims_menu_items=!append line ,0,\
  62. participantview,1,cmd=reply&job=student to $wims_menu_items
  63. !endif
  64.  
  65. :end
  66. !tail
  67.  
  68. !reset job,echoose,eweight,ename,edep,eopt,source
  69.