Subversion Repositories wimsdev

Rev

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