Subversion Repositories wimsdev

Rev

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

  1. <!-- adm/class/sheet/main.phtml START -->
  2.  
  3. !read adm/class/classname.phtml $wims_classname\
  4. $wims_institutionname
  5.  
  6. !reset confirm
  7. !read adm/css.phtml
  8. !header1
  9.  
  10. !if $job iswordof student chseries
  11.  !changeto $job.phtml
  12. !endif
  13.  
  14. !read adm/title.phtml 1\
  15. $classname\
  16. $name_title $name_title2
  17.  
  18. !if $error!=$empty
  19.  <p>
  20.  !read lang/msg.phtml.$moduclass_lang
  21.  </p>
  22.  !goto end
  23. !endif
  24.  
  25. !if $job=getsource
  26.  !read getsource.phtml
  27.  !goto end
  28. !endif
  29.  
  30. !if $activetest>-1
  31.  <b>$name_info:</b>
  32. !endif
  33. !read adm/sheet/sheetinfo.phtml
  34.  
  35. !ifval $activetest=-1
  36.  !goto end
  37. !endif
  38.  
  39. :end1
  40. <a name="list"></a>
  41. <b>$name_content:</b>
  42. !if $exocnt=0
  43.  <p>$name_warning</p>
  44. !else
  45.  
  46.  !set wims_ref_class=wims_button
  47.  !href module=adm/sheet&sh=$sheet&job=print $wims_name_printable
  48.  
  49.  !read adm/sheet/sheetcontent.phtml
  50. !endif
  51.  
  52. !if $activetest=0
  53.  <p>$name_text1
  54.   <ul>
  55.    <li> $name_text2:
  56.         !read adm/search_engine/form.phtml
  57.    </li>
  58.    <li>
  59.     !href cmd=reply&job=prep_putsource $wims_name_putsource
  60.    </li>
  61.    <li> $name_text3
  62.    !href module=classes/$lang&special_parm=.nocache. $wims_name_classexo
  63.    </li>
  64.    !if $wims_devel_modules iswordof open
  65.     <li> $name_text4
  66.     !href module=adm/modtool $wims_name_modtool
  67.     </li>
  68.    !endif
  69.    !if $name_helpprog!=$empty
  70.     <li>$(name_helpprog[1])
  71.      !href module=help/teacher/program $(name_helpprog[2])
  72.      $(name_helpprog[3])
  73.     </li>
  74.    !endif
  75.   </ul>
  76. !endif
  77.  
  78. :end
  79. !if $activetest>=0
  80.  !if $activetest=0
  81.   !let wims_menu_items=!append line putsource,1,cmd=reply&job=prep_putsource to $wims_menu_items
  82.  !endif
  83.  !if $job!=getsource
  84.   !let wims_menu_items=!append line sheetsource,1,cmd=reply&job=getsource to $wims_menu_items
  85.  !endif
  86.  !let wims_menu_items=!append line ,0,\
  87. printable,1,module=adm/sheet&sh=$sheet&job=print\
  88. participantview,1,module=adm/sheet&sh=$sheet to $wims_menu_items
  89. !endif
  90.  
  91. <!-- adm/class/sheet/main.phtml END -->
  92. !tail
  93.  
  94. !distribute item ,, into job,source,title,desc,prpage
  95.  
  96.